tʰɛstɪŋgə tʰɛstɪŋ wʌn tʉ θɹɪ
isOverlay not actually implemented
173
.idea/workspace.xml
generated
@@ -9,8 +9,13 @@
|
|||||||
<list default="true" id="22c5bc80-996c-4846-b173-7dc8c2096fe3" name="Default" comment="">
|
<list default="true" id="22c5bc80-996c-4846-b173-7dc8c2096fe3" name="Default" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/CONTRIBUTING.md" beforeDir="false" afterPath="$PROJECT_DIR$/CONTRIBUTING.md" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/CONTRIBUTING.md" beforeDir="false" afterPath="$PROJECT_DIR$/CONTRIBUTING.md" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/FontDemoGDX.jar" beforeDir="false" afterPath="$PROJECT_DIR$/FontDemoGDX.jar" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/FontTestGDX/lib/TerrarumSansBitmap.jar" beforeDir="false" afterPath="$PROJECT_DIR$/FontTestGDX/lib/TerrarumSansBitmap.jar" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/TerrarumSansBitmap.jar" beforeDir="false" afterPath="$PROJECT_DIR$/TerrarumSansBitmap.jar" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt" beforeDir="false" afterPath="$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/ascii_variable.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/ascii_variable.tga" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/cyrilic_variable.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/cyrilic_variable.tga" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/ipa_ext_variable.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/ipa_ext_variable.tga" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/demo.PNG" beforeDir="false" afterPath="$PROJECT_DIR$/demo.PNG" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/demotext.txt" beforeDir="false" afterPath="$PROJECT_DIR$/demotext.txt" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
@@ -29,34 +34,34 @@
|
|||||||
<splitter split-orientation="horizontal" split-proportion="0.5">
|
<splitter split-orientation="horizontal" split-proportion="0.5">
|
||||||
<split-first>
|
<split-first>
|
||||||
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||||
<file leaf-file-name="GameFontBase.kt" pinned="false" current-in-tab="true">
|
<file leaf-file-name="GameFontBase.kt" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-545">
|
<state relative-caret-position="199">
|
||||||
<caret line="529" column="39" lean-forward="true" selection-start-line="529" selection-start-column="39" selection-end-line="529" selection-end-column="39" />
|
<caret line="548" column="53" lean-forward="true" selection-start-line="548" selection-start-column="53" selection-end-line="548" selection-end-column="53" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
|
<file leaf-file-name="demo.PNG" pinned="false" current-in-tab="true">
|
||||||
|
<entry file="file://$PROJECT_DIR$/demo.PNG">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
<file leaf-file-name="GlyphProps.kt" pinned="false" current-in-tab="false">
|
<file leaf-file-name="GlyphProps.kt" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="403">
|
<state relative-caret-position="442">
|
||||||
<caret line="31" column="31" lean-forward="true" selection-start-line="31" selection-start-column="31" selection-end-line="31" selection-end-column="31" />
|
<caret line="34" column="50" selection-start-line="34" selection-start-column="50" selection-end-line="34" selection-end-column="50" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file leaf-file-name="demo.PNG" pinned="false" current-in-tab="false">
|
|
||||||
<entry file="file://$PROJECT_DIR$/demo.PNG">
|
|
||||||
<provider selected="true" editor-type-id="images" />
|
|
||||||
</entry>
|
|
||||||
</file>
|
|
||||||
<file leaf-file-name="GameFontBase.kt" pinned="false" current-in-tab="false">
|
<file leaf-file-name="GameFontBase.kt" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/slick2d/GameFontBase.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/slick2d/GameFontBase.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="299">
|
<state relative-caret-position="6084">
|
||||||
<caret line="45" column="67" selection-start-line="45" selection-start-column="67" selection-end-line="45" selection-end-column="67" />
|
<caret line="490" selection-start-line="490" selection-end-line="490" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
@@ -68,8 +73,8 @@
|
|||||||
<file leaf-file-name="FontTestGDX.kt" pinned="false" current-in-tab="false">
|
<file leaf-file-name="FontTestGDX.kt" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt">
|
<entry file="file://$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="364">
|
<state relative-caret-position="495">
|
||||||
<caret line="28" column="35" selection-start-line="28" selection-start-column="35" selection-end-line="28" selection-end-column="35" />
|
<caret line="113" column="23" lean-forward="true" selection-start-line="113" selection-start-column="23" selection-end-line="113" selection-end-column="23" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#384#0" expanded="true" />
|
<element signature="e#0#384#0" expanded="true" />
|
||||||
</folding>
|
</folding>
|
||||||
@@ -77,30 +82,30 @@
|
|||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file leaf-file-name="demotext.txt" pinned="false" current-in-tab="false">
|
|
||||||
<entry file="file://$PROJECT_DIR$/demotext.txt">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="247">
|
|
||||||
<caret line="19" column="17" selection-start-line="19" selection-start-column="17" selection-end-line="19" selection-end-column="17" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
</file>
|
|
||||||
<file leaf-file-name="GameFontBase.kt" pinned="false" current-in-tab="false">
|
<file leaf-file-name="GameFontBase.kt" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="2197">
|
<state relative-caret-position="470">
|
||||||
<caret line="682" selection-start-line="682" selection-end-line="682" />
|
<caret line="313" column="23" selection-start-line="313" selection-start-column="23" selection-end-line="313" selection-end-column="23" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file leaf-file-name="CONTRIBUTING.md" pinned="false" current-in-tab="true">
|
<file leaf-file-name="demotext.txt" pinned="false" current-in-tab="true">
|
||||||
|
<entry file="file://$PROJECT_DIR$/demotext.txt">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="169">
|
||||||
|
<caret line="13" column="21" lean-forward="true" selection-start-line="13" selection-start-column="21" selection-end-line="13" selection-end-column="21" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file leaf-file-name="CONTRIBUTING.md" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/CONTRIBUTING.md">
|
<entry file="file://$PROJECT_DIR$/CONTRIBUTING.md">
|
||||||
<provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
|
<provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
|
||||||
<state split_layout="FIRST">
|
<state split_layout="FIRST">
|
||||||
<first_editor relative-caret-position="272">
|
<first_editor relative-caret-position="506">
|
||||||
<caret line="49" column="7" selection-start-line="49" selection-start-column="7" selection-end-line="49" selection-end-column="7" />
|
<caret line="67" column="17" selection-start-line="67" selection-start-column="17" selection-end-line="67" selection-end-column="17" />
|
||||||
</first_editor>
|
</first_editor>
|
||||||
<second_editor>
|
<second_editor>
|
||||||
<js_state />
|
<js_state />
|
||||||
@@ -136,23 +141,20 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="FindInProjectRecents">
|
<component name="FindInProjectRecents">
|
||||||
<findStrings>
|
<findStrings>
|
||||||
<find>getColour</find>
|
|
||||||
<find>.094</find>
|
|
||||||
<find>ө</find>
|
|
||||||
<find>ď</find>
|
<find>ď</find>
|
||||||
<find>ñ</find>
|
<find>ñ</find>
|
||||||
<find>getSheetT</find>
|
<find>getSheetT</find>
|
||||||
<find>Unexpected</find>
|
<find>Unexpected</find>
|
||||||
<find>Unexp</find>
|
<find>Unexp</find>
|
||||||
<find>fun getSh</find>
|
<find />
|
||||||
<find>codeRange</find>
|
<find>codeRange</find>
|
||||||
<find>isHangul</find>
|
<find>isHangul</find>
|
||||||
<find>Ᏽ</find>
|
<find>Ᏽ</find>
|
||||||
<find>toColo</find>
|
<find>toColo</find>
|
||||||
<find>fun relo</find>
|
<find />
|
||||||
<find>3633</find>
|
<find>3633</find>
|
||||||
<find>println(</find>
|
<find>println(</find>
|
||||||
<find>Width ta</find>
|
<find />
|
||||||
<find>getWidth</find>
|
<find>getWidth</find>
|
||||||
<find>glyphWidthBuffer</find>
|
<find>glyphWidthBuffer</find>
|
||||||
<find>GlyphProps.LE</find>
|
<find>GlyphProps.LE</find>
|
||||||
@@ -165,7 +167,10 @@
|
|||||||
<find>ArrayList<Int></find>
|
<find>ArrayList<Int></find>
|
||||||
<find>appConfig.height</find>
|
<find>appConfig.height</find>
|
||||||
<find>textBuffer</find>
|
<find>textBuffer</find>
|
||||||
<find>no stan</find>
|
<find />
|
||||||
|
<find>lowercase</find>
|
||||||
|
<find>SHEET_DIACRITICAL_MARKS</find>
|
||||||
|
<find>[()]</find>
|
||||||
</findStrings>
|
</findStrings>
|
||||||
<replaceStrings>
|
<replaceStrings>
|
||||||
<replace>.141</replace>
|
<replace>.141</replace>
|
||||||
@@ -188,10 +193,12 @@
|
|||||||
<option value="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/slick2d/GameFontBase.kt" />
|
<option value="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/slick2d/GameFontBase.kt" />
|
||||||
<option value="$PROJECT_DIR$/README.md" />
|
<option value="$PROJECT_DIR$/README.md" />
|
||||||
<option value="$PROJECT_DIR$/FontTestGDX/demotext.txt" />
|
<option value="$PROJECT_DIR$/FontTestGDX/demotext.txt" />
|
||||||
|
<option value="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GameFontBase.kt" />
|
||||||
<option value="$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt" />
|
<option value="$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt" />
|
||||||
<option value="$PROJECT_DIR$/CONTRIBUTING.md" />
|
<option value="$PROJECT_DIR$/CONTRIBUTING.md" />
|
||||||
<option value="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt" />
|
<option value="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt" />
|
||||||
<option value="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt" />
|
<option value="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt" />
|
||||||
|
<option value="$PROJECT_DIR$/demotext.txt" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
@@ -206,6 +213,7 @@
|
|||||||
<foldersAlwaysOnTop value="true" />
|
<foldersAlwaysOnTop value="true" />
|
||||||
</navigator>
|
</navigator>
|
||||||
<panes>
|
<panes>
|
||||||
|
<pane id="Scope" />
|
||||||
<pane id="PackagesPane" />
|
<pane id="PackagesPane" />
|
||||||
<pane id="ProjectPane">
|
<pane id="ProjectPane">
|
||||||
<subPane>
|
<subPane>
|
||||||
@@ -236,11 +244,17 @@
|
|||||||
<item name="src" type="462c0819:PsiDirectoryNode" />
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
<item name="terrarumsansbitmap" type="462c0819:PsiDirectoryNode" />
|
<item name="terrarumsansbitmap" type="462c0819:PsiDirectoryNode" />
|
||||||
</path>
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="BuildJAR_TerrarumSansBitmap" type="b2602c69:ProjectViewProjectNode" />
|
||||||
|
<item name="Terrarum-sans-bitmap" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="src" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="terrarumsansbitmap" type="462c0819:PsiDirectoryNode" />
|
||||||
|
<item name="gdx" type="462c0819:PsiDirectoryNode" />
|
||||||
|
</path>
|
||||||
</expand>
|
</expand>
|
||||||
<select />
|
<select />
|
||||||
</subPane>
|
</subPane>
|
||||||
</pane>
|
</pane>
|
||||||
<pane id="Scope" />
|
|
||||||
</panes>
|
</panes>
|
||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">
|
<component name="PropertiesComponent">
|
||||||
@@ -476,7 +490,7 @@
|
|||||||
<window_info anchor="bottom" id="Version Control" order="7" />
|
<window_info anchor="bottom" id="Version Control" order="7" />
|
||||||
<window_info anchor="bottom" id="Terminal" order="7" />
|
<window_info anchor="bottom" id="Terminal" order="7" />
|
||||||
<window_info id="Designer" order="2" />
|
<window_info id="Designer" order="2" />
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.13859275" />
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.122068234" />
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||||
<window_info id="UI Designer" order="2" />
|
<window_info id="UI Designer" order="2" />
|
||||||
@@ -491,15 +505,15 @@
|
|||||||
</layout>
|
</layout>
|
||||||
<layout-to-restore>
|
<layout-to-restore>
|
||||||
<window_info anchor="right" id="Palette" order="3" />
|
<window_info anchor="right" id="Palette" order="3" />
|
||||||
|
<window_info anchor="bottom" id="Message" order="0" />
|
||||||
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="Version Control" order="9" />
|
<window_info anchor="bottom" id="Run" order="2" weight="0.2591522" />
|
||||||
|
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
||||||
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.1369936" />
|
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.1369936" />
|
||||||
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
||||||
<window_info anchor="right" id="Commander" order="0" weight="0.4" />
|
<window_info anchor="right" id="Commander" order="0" weight="0.4" />
|
||||||
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
||||||
<window_info anchor="bottom" id="TODO" order="6" />
|
<window_info anchor="bottom" id="TODO" order="6" />
|
||||||
<window_info anchor="bottom" id="Run" order="2" weight="0.2591522" />
|
|
||||||
<window_info anchor="bottom" id="Find" order="1" />
|
|
||||||
<window_info id="Designer" order="2" />
|
<window_info id="Designer" order="2" />
|
||||||
<window_info id="UI Designer" order="3" />
|
<window_info id="UI Designer" order="3" />
|
||||||
<window_info active="true" anchor="bottom" id="Debug" order="3" visible="true" weight="0.23005566" />
|
<window_info active="true" anchor="bottom" id="Debug" order="3" visible="true" weight="0.23005566" />
|
||||||
@@ -507,8 +521,8 @@
|
|||||||
<window_info anchor="bottom" id="Terminal" order="7" />
|
<window_info anchor="bottom" id="Terminal" order="7" />
|
||||||
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
|
<window_info anchor="bottom" id="Event Log" order="8" side_tool="true" />
|
||||||
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
||||||
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
<window_info anchor="bottom" id="Version Control" order="9" />
|
||||||
<window_info anchor="bottom" id="Message" order="0" />
|
<window_info anchor="bottom" id="Find" order="1" />
|
||||||
<window_info anchor="bottom" id="Messages" order="10" weight="0.3283859" />
|
<window_info anchor="bottom" id="Messages" order="10" weight="0.3283859" />
|
||||||
<window_info anchor="right" id="Maven Projects" order="5" />
|
<window_info anchor="right" id="Maven Projects" order="5" />
|
||||||
<window_info id="Favorites" order="4" side_tool="true" />
|
<window_info id="Favorites" order="4" side_tool="true" />
|
||||||
@@ -527,18 +541,6 @@
|
|||||||
<option name="FILTER_TARGETS" value="false" />
|
<option name="FILTER_TARGETS" value="false" />
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
<entry file="file://$PROJECT_DIR$/CONTRIBUTING.md">
|
|
||||||
<provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
|
|
||||||
<state split_layout="SPLIT">
|
|
||||||
<first_editor relative-caret-position="234">
|
|
||||||
<caret line="18" lean-forward="true" selection-start-line="18" selection-end-line="18" />
|
|
||||||
</first_editor>
|
|
||||||
<second_editor>
|
|
||||||
<js_state />
|
|
||||||
</second_editor>
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt">
|
<entry file="file://$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="1638">
|
<state relative-caret-position="1638">
|
||||||
@@ -831,13 +833,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/slick2d/GameFontBase.kt">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="299">
|
|
||||||
<caret line="45" column="67" selection-start-line="45" selection-start-column="67" selection-end-line="45" selection-end-column="67" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/TextureRegionPack.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/TextureRegionPack.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="117">
|
<state relative-caret-position="117">
|
||||||
@@ -857,16 +852,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/demotext.txt">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="247">
|
|
||||||
<caret line="19" column="17" selection-start-line="19" selection-start-column="17" selection-end-line="19" selection-end-column="17" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/demo.PNG">
|
|
||||||
<provider selected="true" editor-type-id="images" />
|
|
||||||
</entry>
|
|
||||||
<entry file="jar://$PROJECT_DIR$/lib/gdx.jar!/com/badlogic/gdx/files/FileHandle.class">
|
<entry file="jar://$PROJECT_DIR$/lib/gdx.jar!/com/badlogic/gdx/files/FileHandle.class">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="260">
|
<state relative-caret-position="260">
|
||||||
@@ -874,21 +859,19 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GameFontBase.kt" />
|
||||||
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/slick2d/GameFontBase.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="364">
|
<state relative-caret-position="6084">
|
||||||
<caret line="28" column="35" selection-start-line="28" selection-start-column="35" selection-end-line="28" selection-end-column="35" />
|
<caret line="490" selection-start-line="490" selection-end-line="490" />
|
||||||
<folding>
|
|
||||||
<element signature="e#0#384#0" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/CONTRIBUTING.md">
|
<entry file="file://$PROJECT_DIR$/CONTRIBUTING.md">
|
||||||
<provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
|
<provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
|
||||||
<state split_layout="FIRST">
|
<state split_layout="FIRST">
|
||||||
<first_editor relative-caret-position="272">
|
<first_editor relative-caret-position="506">
|
||||||
<caret line="49" column="7" selection-start-line="49" selection-start-column="7" selection-end-line="49" selection-end-column="7" />
|
<caret line="67" column="17" selection-start-line="67" selection-start-column="17" selection-end-line="67" selection-end-column="17" />
|
||||||
</first_editor>
|
</first_editor>
|
||||||
<second_editor>
|
<second_editor>
|
||||||
<js_state />
|
<js_state />
|
||||||
@@ -898,15 +881,35 @@
|
|||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/GlyphProps.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="403">
|
<state relative-caret-position="442">
|
||||||
<caret line="31" column="31" lean-forward="true" selection-start-line="31" selection-start-column="31" selection-end-line="31" selection-end-column="31" />
|
<caret line="34" column="50" selection-start-line="34" selection-start-column="50" selection-end-line="34" selection-end-column="50" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="495">
|
||||||
|
<caret line="113" column="23" lean-forward="true" selection-start-line="113" selection-start-column="23" selection-end-line="113" selection-end-column="23" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#384#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt">
|
<entry file="file://$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/GameFontBase.kt">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-545">
|
<state relative-caret-position="470">
|
||||||
<caret line="529" column="39" lean-forward="true" selection-start-line="529" selection-start-column="39" selection-end-line="529" selection-end-column="39" />
|
<caret line="313" column="23" selection-start-line="313" selection-start-column="23" selection-end-line="313" selection-end-column="23" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/demo.PNG">
|
||||||
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/demotext.txt">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="169">
|
||||||
|
<caret line="13" column="21" lean-forward="true" selection-start-line="13" selection-start-column="21" selection-end-line="13" selection-end-column="21" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
|||||||
@@ -50,6 +50,24 @@ Green-tinted area (should be 10 px tall) contains the tags. Tags are defined as
|
|||||||
1 == 0 Stack 1 Stack 0 Before 1 Up &
|
1 == 0 Stack 1 Stack 0 Before 1 Up &
|
||||||
(MSB) 0 == 0 up 0 down 1 &After 1 Down (e.g. U+0C48)
|
(MSB) 0 == 0 up 0 down 1 &After 1 Down (e.g. U+0C48)
|
||||||
|
|
||||||
|
Extra informations
|
||||||
|
|
||||||
|
== Stack Up/Down ==
|
||||||
|
|
||||||
|
When the tag is stack-up, it'll be drawn 4 px lower if the underlying
|
||||||
|
character is lowercase.
|
||||||
|
|
||||||
|
== Align-To-This-X-Pos ==
|
||||||
|
|
||||||
|
Since this tag does not make sense for diacritics, they will use the va-
|
||||||
|
lue for compeletely different perporse:
|
||||||
|
|
||||||
|
0 : nothing special
|
||||||
|
1 : covers previous character; it's neither stack-up nor down.
|
||||||
|
Will be drawn 2 px lower if the underlying character is lowercase
|
||||||
|
2..15: undefined
|
||||||
|
|
||||||
|
|
||||||
NOTE: If the diacritics comes before AND after the glyph (e.g. U+103C),
|
NOTE: If the diacritics comes before AND after the glyph (e.g. U+103C),
|
||||||
"Align before the glyph" must be set too.
|
"Align before the glyph" must be set too.
|
||||||
If glyphs are right or centre aligned, they must be aligned in
|
If glyphs are right or centre aligned, they must be aligned in
|
||||||
|
|||||||
@@ -134,7 +134,8 @@ class FontTestGDX : Game() {
|
|||||||
|
|
||||||
println("${font.noColorCode}\nEND")
|
println("${font.noColorCode}\nEND")
|
||||||
|
|
||||||
println(font.toColorCode(0xF_EEC))
|
println(font.toColorCode(0xF_F07))
|
||||||
|
println(font.toColorCode(0x0000))
|
||||||
|
|
||||||
frameBuffer = FrameBuffer(Pixmap.Format.RGBA8888, TEXW, TEXH, true)
|
frameBuffer = FrameBuffer(Pixmap.Format.RGBA8888, TEXW, TEXH, true)
|
||||||
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 320 KiB |
|
Before Width: | Height: | Size: 380 KiB After Width: | Height: | Size: 380 KiB |
BIN
assets/diacritical_marks_variable.tga
Normal file
|
After Width: | Height: | Size: 140 KiB |
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 220 KiB |
BIN
demo.PNG
|
Before Width: | Height: | Size: 120 KiB After Width: | Height: | Size: 25 KiB |
109
demotext.txt
@@ -1,102 +1,19 @@
|
|||||||
The bitmap font for games developers who seek good font that has real multilingual support,
|
41°C
|
||||||
for free (as in freedom and without cost)
|
|
||||||
|
|
||||||
There are many bitmap fonts on the internet. You care for the multilingual support, but alas!
|
E=mc²
|
||||||
most of them do not support your language, vector fonts take too much time to load, and even
|
|
||||||
then their legibility suffers because fuck built-in antialias.
|
|
||||||
|
|
||||||
You somehow found a multilingual one, and it makes your game look like an old computer, and you say:
|
1º 2ª
|
||||||
|
|
||||||
“Well, better than nothing… no, it’s ugly.”
|
ÇC¸ued
|
||||||
|
|
||||||
You speak japanese and you wish to support it, but then このクソなfont only goot for displaying
|
Received Pronunciation IPA: /ˌɪntəˈnæʃənəl/, [ˌɪntəˈnæʃənəɫ]
|
||||||
Japanese, it's not even multilingual, and their English look uncanny and inconsistent as hell.
|
General American IPA: /ˌɪntɚˈnæʃənəl/, [ˌɪntɚˈnæʃənəɫ], [ˌɪɾ̃ɚˈnæʃənəɫ]
|
||||||
|
Rhymes: -ɛntəl (wtf wiktionary ??)
|
||||||
|
|
||||||
Eventually you just mix different fonts together, and the results were always infuriating.
|
|
||||||
|
|
||||||
No more suffering. This font has everything you need.
|
ˈkʰomɐ gɛts ɐ ˈkʰjuɚ wɛl çiəz ə ˈstʌɹi fɔ ˈju ˈsɐɾə ˈpɛɾi wɔz ə bɛtʰəˈna˞li ˈnʌɚs hu hæd bin ˈwʌ˞kɪŋ deɪli æt æn
|
||||||
|
ˈɔʊl̴də d͡zʉ in ə dɪˈzʌɚtɪdə dɪsˈtɹʷɪkt ɔv zə tʰ ˈtʰɛɹɪtəɹi soʊ ʃi wʌz ˈvɛɹi ˈhæpi s tʉ stat ə njʉ d͡ʒɔb æt ə
|
||||||
while (isVisible(BAD_FONTS)) {
|
ˈsʌbʌb˺ ˈpɹaɪbɛt pɹaktis in noʊsə ˈskweɚ niə zə ˈdjʉk ˈstoʊi ˈtaʊɚ ðæt ˈeɾiə wəz mʌt͡ʃ ˈniɾə fɔ hɐ ænd mɔə
|
||||||
ripAndTear(BAD_FONTS).where { GUTS };
|
tʉ laɪk˺ hɐ ˈlaɪkiŋgə ˈibn̩ so ɔ̃ ha fa˞st ˈmɔnɪŋ ʃi fɛlt͡s s t͡stɹɛst ʃi eɪt ə bɔl̴ ɔb˺ ˈpɔɹʷɪd͡ʒ t͡ʃɛkt hɐ˞sɛlf ɪn ðə
|
||||||
}
|
ˈmiɹəɚ ænd wɑʃt hɐ˞ ɸeɪs ɪn ə ˈhʌ˞li zɛn ʃi pʊt ɑn ə pɹeɪn bə ˈjɛloʊ dɹɛs ænd ə ɸʊlɪɸʊlis ˈd͡ʒækɛt pikt ap
|
||||||
|
hɐ˞ kʰit ænd ˈhɛdɪdə fɔ ˈwʌ˞kʰ
|
||||||
How multilingual? Real multilingual!
|
|
||||||
|
|
||||||
Ианҵоуп ақьаад, нусхур аҩырала, ҩ ҽшьаҟакла, иҧшӡоу анапҩырала
|
|
||||||
գրիչս վայր դրի, վեր կացա և պատրաստվում էի, որ քնեմ, երբ հանկարծ դռանս զանգակը հնչեց
|
|
||||||
ՄՇԱԿԻՉ ԿԱՄ ԿԵՆՏՐՈՆԱԿԱՆ ՄՇԱԿԻՉ ՀԱՆԳՈՒՅՑԸ ՀԱՆԴԻՍԱՆՈՒՄ Է ՀԱՄԱԿԱՐԳՉԻ ՍԱՐՔԱՎՈՐՈՒՄՆԵՐԻՑ
|
|
||||||
Zəfər, jaketini də papağını da götür, bu axşam hava çox soyuq olacaq
|
|
||||||
Под южно дърво, цъфтящо в синьо, бягаше малко пухкаво зайче
|
|
||||||
ᎠᏍᎦᏯᎡᎦᎢᎾᎨᎢᎣᏍᏓᎤᎩᏍᏗᎥᎴᏓᎯᎲᎢᏔᎵᏕᎦᏟᏗᏖᎸᎳᏗᏗᎧᎵᎢᏘᎴᎩ ᏙᏱᏗᏜᏫᏗᏣᏚᎦᏫᏛᏄᏓᎦᏝᏃᎠᎾᏗᎭᏞᎦᎯᎦᏘᏓᏠᎨᏏᏕᏡᎬᏢᏓᏥᏩᏝᎡᎢᎪᎢ
|
|
||||||
ᎠᎦᏂᏗᎮᎢᎫᎩᎬᏩᎴᎢᎠᏆᏅᏛᎫᏊᎾᎥᎠᏁᏙᎲᏐᏈᎵᎤᎩᎸᏓᏭᎷᏤᎢᏏᏉᏯᏌᏊ ᎤᏂᏋᎢᏡᎬᎢᎰᏩᎬᏤᎵᏍᏗᏱᎩᎱᎱᎤᎩᎴᎢᏦᎢᎠᏂᏧᏣᏨᎦᏥᎪᎥᏌᏊᎤᎶᏒᎢᎢᏡᎬᎢ
|
|
||||||
ᎹᎦᎺᎵᏥᎻᎼᏏᎽᏗᏩᏂᎦᏘᎾᎿᎠᏁᎬᎢᏅᎩᎾᏂᎡᎢᏌᎶᎵᏎᎷᎠᏑᏍᏗᏪᎩ ᎠᎴ ᏬᏗᏲᏭᎾᏓᏍᏓᏴᏁᎢᎤᎦᏅᏮᏰᎵᏳᏂᎨᎢ
|
|
||||||
Příliš žluťoučký kůň úpěl ďábelské ódy
|
|
||||||
Quizdeltagerne spiste jordbær med fløde, mens cirkusklovnen Walther spillede på xylofon
|
|
||||||
PACK MY BOX WITH FIVE DOZEN LIQUOR JUGS
|
|
||||||
hƿæt ƿe ᵹardena inᵹear ꝺaᵹum þeoꝺ cynninᵹa þꞃym ᵹeꝼꞃumon
|
|
||||||
Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich GROẞEN GROẞE
|
|
||||||
ζαφείρι δέξου πάγκαλο, βαθων ψυχης το σημα
|
|
||||||
ΔΙΑΦΥΛΆΞΤΕ ΓΕΝΙΚΆ ΤΗ ΖΩΉ ΣΑΣ ΑΠΌ ΒΑΘΕΙΆ ΨΥΧΙΚΆ ΤΡΑΎΜΑΤΑ
|
|
||||||
სწრაფი ყავისფერი მელა გადაახტა ზარმაც ძაღლს ᲘᲜᲢᲔᲚ ᲞᲔᲜᲢᲘᲣᲛᲘ ᲛᲘᲙᲠᲝᲞᲠᲝᲪᲔᲡᲝᲠᲘ
|
|
||||||
ऋषियों को सताने वाले दुष्ट राक्षसों के राजा रावण का सर्वनाश करने वाले विष्णुवतार भगवान श्रीराम अयोध्या के महाराज दशरथ के
|
|
||||||
Kæmi ný öxi hér, ykist þjófum nú bæði víl og ádrepa
|
|
||||||
Ċuaiġ bé ṁórṡáċ le dlúṫspád fíorḟinn trí hata mo ḋea-ṗorcáin ḃig
|
|
||||||
あめつちほしそら やまかはみねたに くもきりむろこけ ひといぬうへすゑ ゆわさるおふせよ えの𛀁をなれゐて
|
|
||||||
トリナクコヱス ユメサマセ ミヨアケワタル ヒンカシヲ ソライロハエテ オキツヘニ ホフネムレヰヌ モヤノウチ
|
|
||||||
田居に出で 菜摘むわれをぞ 君召すと 求食り追ひゆく 山城の 打酔へる子ら 藻葉干せよ え舟繋けぬ
|
|
||||||
정 참판 양반댁 규수 큰 교자 타고 혼례 치른 날 하얬다 도럄직한 퀡봹퉪헰
|
|
||||||
Četri psihi faķīri vēlu vakarā zāģēja guļbūvei durvis, fonā šņācot mežam
|
|
||||||
Įlinkdama fechtuotojo špaga sublykčiojusi pragręžė apvalų arbūzą
|
|
||||||
Ѕидарски пејзаж: шугав билмез со чудење џвака ќофте и кељ на туѓ цех
|
|
||||||
Щётканы фермд пийшин цувъя. Бөгж зогсч хэльюү
|
|
||||||
Pchnąć w tę łódź jeża lub ośm skrzyń fig
|
|
||||||
कः खगौघाङचिच्छौजा झाञ्ज्ञोऽटौठीडडण्ढणः। तथोदधीन् पफर्बाभीर्मयोऽरिल्वाशिषां सहः॥
|
|
||||||
Înjurând pițigăiat, zoofobul comandă vexat whisky și tequila
|
|
||||||
Широкая электрификация южных губерний даст мощный толчок подъёму сельского хозяйства
|
|
||||||
Ајшо, лепото и чежњо, за љубав срца мога дођи у Хаџиће на кафу
|
|
||||||
Jovencillo emponzoñado de whisky: ¡qué figurota exhibe!
|
|
||||||
นายสังฆภัณฑ์ เฮงพิทักษ์ฝั่ง ผู้เฒ่าซึ่งมีอาชีพเป็นฅนขายฃวด ถูกตำรวจปฏิบัติการจับฟ้องศาล ฐานลักนาฬิกาคุณหญิงฉัตรชฎา ฌานสมาธิ
|
|
||||||
Pijamalı hasta yağız şoföre çabucak güvendi
|
|
||||||
Жебракують філософи при ґанку церкви в Гадячі, ще й шатро їхнє п’яне знаємо
|
|
||||||
Do bạch kim rất quý nên sẽ dùng để lắp vô xương
|
|
||||||
日堀油告観観藤村抄海評業庁経賃室弁市。太撮収改売週法所何都慣次現。価紙一無三洋日話転手治稿載末替付致治。
|
|
||||||
|
|
||||||
Features:
|
|
||||||
|
|
||||||
Ever heard of « Guillemets »? You speak „Nederlands” or „Deutsch“? ”suomi”? 「日本語」しゃべる?或《中文》?
|
|
||||||
|
|
||||||
Multilingual brackets; these are the most basic things, right?
|
|
||||||
|
|
||||||
99406 91902 59186 29182 45814 57862 34368 08240
|
|
||||||
31485 65379 04348 28952 42927 26157 42615 39526
|
|
||||||
|
|
||||||
Fixed-width numbers, because number-crunching matters
|
|
||||||
|
|
||||||
ᚱᛂᚴᛋᛂᛋᛏᛋᚮᚾᛔᚢᛏᛚᚮᛋ᛬ᚱᛂᚴᛋᛋᚢᚼᚾᚢᛘᚢᛚᚾᛏᚮ᛬ᛏᚮᛋᛁᚮᚵᛂᚢᛏᚮᚱᛘᛔᚱᛂᚴᛋᛏ᛭ᛋᚢᚼᚾᚢᛋᛘᚮᛁᚵᚾᛁᛂᛏᚮᛑ᛭ᚵᛂᚢᛏᚮᚱ
|
|
||||||
|
|
||||||
Colour-code that supports 65535 opaque or semi-transparent colours via 4 bit ARGB
|
|
||||||
|
|
||||||
Гномът Доцьо приключи спящ в шейна за жаби (Bulgarian)
|
|
||||||
Љубазни фењерџија чађавог лица хоће да ми покаже штос (Serbian)
|
|
||||||
Разъяренный чтец эгоистично бьёт пятью жердями шустрого фехтовальщика (Russian)
|
|
||||||
|
|
||||||
Control characters to support Bulgarian and Serbian letter shapes on the fly
|
|
||||||
|
|
||||||
Press to pay respects—or is it , or …
|
|
||||||
|
|
||||||
Custom symbols for video games
|
|
||||||
|
|
||||||
Can you distinguish following dashes: - – — - – — – - ――――――――――― 48–63 48-63
|
|
||||||
|
|
||||||
For all those dash-pedants, we have en-dash, em-dash, and even horizontal bars!
|
|
||||||
|
|
||||||
Unicode References:
|
|
||||||
|
|
||||||
Basic Latin Latin-1 Latin Extension A Latin Extionsion B IPA Extension Greek Cyrillic
|
|
||||||
Cyrillic Supplement Armenian Devanagari Thai Georgian Runic Cherokee Georgian Extended
|
|
||||||
General Punctuations CJK Symbols Kana Kana Phonetic Extension CJK Unihan Extension A CJK Unihan
|
|
||||||
Hangul Syllables Fullwidth Forms Kana Supplement
|
|
||||||
|
|
||||||
GitHub’s issue page is open! You can report any errors, or leave suggestions.
|
|
||||||
You can help this font to be more versatile. (for more languages, more frameworks) Clone this repo, make
|
|
||||||
changes, and make a pull request! I appreciate any and all supports.
|
|
||||||
|
|||||||
@@ -31,4 +31,6 @@ data class GlyphProps(
|
|||||||
tags.and(1) == 1,
|
tags.and(1) == 1,
|
||||||
tags.ushr(8).and(3)
|
tags.ushr(8).and(3)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
fun isOverlay() = writeOnTop && alignXPos == 1
|
||||||
}
|
}
|
||||||
@@ -70,6 +70,12 @@ typealias CodepointSequence = ArrayList<Int>
|
|||||||
* - U+FFFF9: Charset override -- Bulgarian
|
* - U+FFFF9: Charset override -- Bulgarian
|
||||||
* - U+FFFFA: Charset override -- Serbian
|
* - U+FFFFA: Charset override -- Serbian
|
||||||
*
|
*
|
||||||
|
* ## Auto Shift Down
|
||||||
|
*
|
||||||
|
* Certain characters (e.g. Combining Diacritical Marks) will automatically shift down to accomodate lowercase letters. Shiftdown only occurs when non-diacritic character before the mark is lowercase, and the mark itself would stack up. Stack-up or down is defined using Tag system.
|
||||||
|
*
|
||||||
|
*
|
||||||
|
*
|
||||||
* @param noShadow Self-explanatory
|
* @param noShadow Self-explanatory
|
||||||
* @param flipY If you have Y-down coord system implemented on your GDX (e.g. legacy codebase), set this to ```true``` so that the shadow won't be upside-down. For glyph getting upside-down, set ```TextureRegionPack.globalFlipY = true```.
|
* @param flipY If you have Y-down coord system implemented on your GDX (e.g. legacy codebase), set this to ```true``` so that the shadow won't be upside-down. For glyph getting upside-down, set ```TextureRegionPack.globalFlipY = true```.
|
||||||
*
|
*
|
||||||
@@ -139,6 +145,9 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
private fun isInsular(c: Int) = c == 0x1D79 || c in 0xA779..0xA787
|
private fun isInsular(c: Int) = c == 0x1D79 || c in 0xA779..0xA787
|
||||||
private fun isNagariBengali(c: Int) = c in codeRange[SHEET_NAGARI_BENGALI_VARW]
|
private fun isNagariBengali(c: Int) = c in codeRange[SHEET_NAGARI_BENGALI_VARW]
|
||||||
private fun isKartvelianCaps(c: Int) = c in codeRange[SHEET_KARTULI_CAPS_VARW]
|
private fun isKartvelianCaps(c: Int) = c in codeRange[SHEET_KARTULI_CAPS_VARW]
|
||||||
|
private fun isDiacriticalMarks(c: Int) = c in codeRange[SHEET_DIACRITICAL_MARKS_VARW]
|
||||||
|
|
||||||
|
private fun isCaps(c: Int) = Character.isUpperCase(c) || isKartvelianCaps(c)
|
||||||
|
|
||||||
|
|
||||||
private fun extAindexX(c: Int) = (c - 0x100) % 16
|
private fun extAindexX(c: Int) = (c - 0x100) % 16
|
||||||
@@ -206,6 +215,12 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
private fun kartvelianCapsIndexX(c: Int) = (c - 0x1C90) % 16
|
private fun kartvelianCapsIndexX(c: Int) = (c - 0x1C90) % 16
|
||||||
private fun kartvelianCapsIndexY(c: Int) = (c - 0x1C90) / 16
|
private fun kartvelianCapsIndexY(c: Int) = (c - 0x1C90) / 16
|
||||||
|
|
||||||
|
private fun diacriticalMarksIndexX(c: Int) = (c - 0x300) % 16
|
||||||
|
private fun diacriticalMarksIndexY(c: Int) = (c - 0x300) / 16
|
||||||
|
|
||||||
|
|
||||||
|
private fun Int.isLowercase() = Character.isLowerCase(this) && !isKartvelianCaps(this)
|
||||||
|
|
||||||
|
|
||||||
private fun getColour(codePoint: Int): Color { // input: 0x10ARGB, out: RGBA8888
|
private fun getColour(codePoint: Int): Color { // input: 0x10ARGB, out: RGBA8888
|
||||||
if (colourBuffer.containsKey(codePoint))
|
if (colourBuffer.containsKey(codePoint))
|
||||||
@@ -246,7 +261,11 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
SHEET_TSALAGI_VARW,
|
SHEET_TSALAGI_VARW,
|
||||||
SHEET_INSUAR_VARW,
|
SHEET_INSUAR_VARW,
|
||||||
SHEET_NAGARI_BENGALI_VARW,
|
SHEET_NAGARI_BENGALI_VARW,
|
||||||
SHEET_KARTULI_CAPS_VARW
|
SHEET_KARTULI_CAPS_VARW,
|
||||||
|
SHEET_DIACRITICAL_MARKS_VARW
|
||||||
|
)
|
||||||
|
private val autoShiftDownOnLowercase = arrayOf(
|
||||||
|
SHEET_DIACRITICAL_MARKS_VARW
|
||||||
)
|
)
|
||||||
|
|
||||||
private val fontParentDir = if (fontDir.endsWith('/') || fontDir.endsWith('\\')) fontDir else "$fontDir/"
|
private val fontParentDir = if (fontDir.endsWith('/') || fontDir.endsWith('\\')) fontDir else "$fontDir/"
|
||||||
@@ -274,7 +293,8 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
"tsalagi_variable.tga",
|
"tsalagi_variable.tga",
|
||||||
"insular_variable.tga",
|
"insular_variable.tga",
|
||||||
"devanagari_bengali_variable.tga",
|
"devanagari_bengali_variable.tga",
|
||||||
"kartuli_allcaps_variable.tga"
|
"kartuli_allcaps_variable.tga",
|
||||||
|
"diacritical_marks_variable.tga"
|
||||||
)
|
)
|
||||||
private val codeRange = arrayOf( // MUST BE MATCHING WITH SHEET INDICES!!
|
private val codeRange = arrayOf( // MUST BE MATCHING WITH SHEET INDICES!!
|
||||||
0..0xFF,
|
0..0xFF,
|
||||||
@@ -291,7 +311,7 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
0xE00..0xE5F,
|
0xE00..0xE5F,
|
||||||
0x530..0x58F,
|
0x530..0x58F,
|
||||||
0x10D0..0x10FF,
|
0x10D0..0x10FF,
|
||||||
0x250..0x2AF,
|
0x250..0x2FF,
|
||||||
0x16A0..0x16FF,
|
0x16A0..0x16FF,
|
||||||
0x1E00..0x1EFF,
|
0x1E00..0x1EFF,
|
||||||
0xE000..0xE0FF,
|
0xE000..0xE0FF,
|
||||||
@@ -300,7 +320,8 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
0x13A0..0x13F5,
|
0x13A0..0x13F5,
|
||||||
0xA770..0xA787,
|
0xA770..0xA787,
|
||||||
0x900..0x9FF,
|
0x900..0x9FF,
|
||||||
0x1C90..0x1CBF
|
0x1C90..0x1CBF,
|
||||||
|
0x300..0x36F
|
||||||
)
|
)
|
||||||
private val glyphProps: HashMap<Int, GlyphProps> = HashMap()
|
private val glyphProps: HashMap<Int, GlyphProps> = HashMap()
|
||||||
private val sheets: Array<TextureRegionPack>
|
private val sheets: Array<TextureRegionPack>
|
||||||
@@ -523,6 +544,13 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
}
|
}
|
||||||
GlyphProps.STACK_UP -> {
|
GlyphProps.STACK_UP -> {
|
||||||
posYbuffer[charIndex] = -H_DIACRITICS * stackUpwardCounter
|
posYbuffer[charIndex] = -H_DIACRITICS * stackUpwardCounter
|
||||||
|
|
||||||
|
// shift down on lowercase if applicable
|
||||||
|
if (getSheetType(thisChar) in autoShiftDownOnLowercase &&
|
||||||
|
lastNonDiacriticChar.isLowercase()) {
|
||||||
|
posYbuffer[charIndex] += H_STACKUP_LOWERCASE_SHIFTDOWN
|
||||||
|
}
|
||||||
|
|
||||||
stackUpwardCounter++
|
stackUpwardCounter++
|
||||||
}
|
}
|
||||||
GlyphProps.STACK_UP_N_DOWN -> {
|
GlyphProps.STACK_UP_N_DOWN -> {
|
||||||
@@ -781,6 +809,8 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
return SHEET_NAGARI_BENGALI_VARW
|
return SHEET_NAGARI_BENGALI_VARW
|
||||||
else if (isKartvelianCaps(c))
|
else if (isKartvelianCaps(c))
|
||||||
return SHEET_KARTULI_CAPS_VARW
|
return SHEET_KARTULI_CAPS_VARW
|
||||||
|
else if (isDiacriticalMarks(c))
|
||||||
|
return SHEET_DIACRITICAL_MARKS_VARW
|
||||||
else
|
else
|
||||||
return SHEET_UNKNOWN
|
return SHEET_UNKNOWN
|
||||||
// fixed width
|
// fixed width
|
||||||
@@ -874,6 +904,10 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
sheetX = kartvelianCapsIndexX(ch)
|
sheetX = kartvelianCapsIndexX(ch)
|
||||||
sheetY = kartvelianCapsIndexY(ch)
|
sheetY = kartvelianCapsIndexY(ch)
|
||||||
}
|
}
|
||||||
|
SHEET_DIACRITICAL_MARKS_VARW -> {
|
||||||
|
sheetX = diacriticalMarksIndexX(ch)
|
||||||
|
sheetY = diacriticalMarksIndexY(ch)
|
||||||
|
}
|
||||||
else -> {
|
else -> {
|
||||||
sheetX = ch % 16
|
sheetX = ch % 16
|
||||||
sheetY = ch / 16
|
sheetY = ch / 16
|
||||||
@@ -1057,6 +1091,9 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
|
|
||||||
internal val H_DIACRITICS = 3
|
internal val H_DIACRITICS = 3
|
||||||
|
|
||||||
|
internal val H_STACKUP_LOWERCASE_SHIFTDOWN = 4
|
||||||
|
internal val H_OVERLAY_LOWERCASE_SHIFTDOWN = 2
|
||||||
|
|
||||||
internal val SIZE_CUSTOM_SYM = 18
|
internal val SIZE_CUSTOM_SYM = 18
|
||||||
|
|
||||||
internal val SHEET_ASCII_VARW = 0
|
internal val SHEET_ASCII_VARW = 0
|
||||||
@@ -1083,6 +1120,7 @@ class GameFontBase(fontDir: String, val noShadow: Boolean = false, val flipY: Bo
|
|||||||
internal val SHEET_INSUAR_VARW = 21
|
internal val SHEET_INSUAR_VARW = 21
|
||||||
internal val SHEET_NAGARI_BENGALI_VARW=22
|
internal val SHEET_NAGARI_BENGALI_VARW=22
|
||||||
internal val SHEET_KARTULI_CAPS_VARW = 23
|
internal val SHEET_KARTULI_CAPS_VARW = 23
|
||||||
|
internal val SHEET_DIACRITICAL_MARKS_VARW = 24
|
||||||
|
|
||||||
internal val SHEET_UNKNOWN = 254
|
internal val SHEET_UNKNOWN = 254
|
||||||
|
|
||||||
|
|||||||