mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-07 11:51:50 +09:00
moving assets inside classpath
This commit is contained in:
4
.idea/artifacts/TerrarumSansBitmap.xml
generated
4
.idea/artifacts/TerrarumSansBitmap.xml
generated
@@ -1,12 +1,12 @@
|
|||||||
<component name="ArtifactManager">
|
<component name="ArtifactManager">
|
||||||
<artifact type="jar" name="TerrarumSansBitmap">
|
<artifact type="jar" build-on-make="true" name="TerrarumSansBitmap">
|
||||||
<output-path>$PROJECT_DIR$/lib</output-path>
|
<output-path>$PROJECT_DIR$/lib</output-path>
|
||||||
<root id="archive" name="TerrarumSansBitmap.jar">
|
<root id="archive" name="TerrarumSansBitmap.jar">
|
||||||
<element id="module-output" name="BuildJAR_TerrarumSansBitmap" />
|
|
||||||
<element id="directory" name="META-INF">
|
<element id="directory" name="META-INF">
|
||||||
<element id="file-copy" path="$PROJECT_DIR$/META-INF/MANIFEST.MF" />
|
<element id="file-copy" path="$PROJECT_DIR$/META-INF/MANIFEST.MF" />
|
||||||
</element>
|
</element>
|
||||||
<element id="dir-copy" path="$PROJECT_DIR$/src" />
|
<element id="dir-copy" path="$PROJECT_DIR$/src" />
|
||||||
|
<element id="module-output" name="BuildJAR_TerrarumSansBitmap" />
|
||||||
</root>
|
</root>
|
||||||
</artifact>
|
</artifact>
|
||||||
</component>
|
</component>
|
||||||
10
.idea/kotlinc.xml
generated
Executable file → Normal file
10
.idea/kotlinc.xml
generated
Executable file → Normal file
@@ -1,7 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="Kotlin2JsCompilerArguments">
|
||||||
|
<option name="moduleKind" value="plain" />
|
||||||
|
</component>
|
||||||
|
<component name="Kotlin2JvmCompilerArguments">
|
||||||
|
<option name="jvmTarget" value="21" />
|
||||||
|
</component>
|
||||||
<component name="KotlinCommonCompilerArguments">
|
<component name="KotlinCommonCompilerArguments">
|
||||||
<option name="apiVersion" value="1.4" />
|
<option name="apiVersion" value="2.0" />
|
||||||
<option name="languageVersion" value="1.4" />
|
<option name="languageVersion" value="2.0" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
18
.idea/libraries/KotlinJavaRuntime.xml
generated
18
.idea/libraries/KotlinJavaRuntime.xml
generated
@@ -1,19 +1,33 @@
|
|||||||
<component name="libraryTable">
|
<component name="libraryTable">
|
||||||
<library name="KotlinJavaRuntime">
|
<library name="KotlinJavaRuntime" type="repository">
|
||||||
|
<properties maven-id="org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.21" />
|
||||||
<CLASSES>
|
<CLASSES>
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-test.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-test.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk7.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk7.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk8.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk8.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib-jdk8/2.1.21/kotlin-stdlib-jdk8-2.1.21.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib/2.1.21/kotlin-stdlib-2.1.21.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/annotations/13.0/annotations-13.0.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib-jdk7/2.1.21/kotlin-stdlib-jdk7-2.1.21.jar!/" />
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC />
|
<JAVADOC>
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib-jdk8/2.1.21/kotlin-stdlib-jdk8-2.1.21-javadoc.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib/2.1.21/kotlin-stdlib-2.1.21-javadoc.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/annotations/13.0/annotations-13.0-javadoc.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib-jdk7/2.1.21/kotlin-stdlib-jdk7-2.1.21-javadoc.jar!/" />
|
||||||
|
</JAVADOC>
|
||||||
<SOURCES>
|
<SOURCES>
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-sources.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-sources.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect-sources.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-reflect-sources.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-test-sources.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-test-sources.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk7-sources.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk7-sources.jar!/" />
|
||||||
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk8-sources.jar!/" />
|
<root url="jar://$KOTLIN_BUNDLED$/lib/kotlin-stdlib-jdk8-sources.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib-jdk8/2.1.21/kotlin-stdlib-jdk8-2.1.21-sources.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib/2.1.21/kotlin-stdlib-2.1.21-sources.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/annotations/13.0/annotations-13.0-sources.jar!/" />
|
||||||
|
<root url="jar://$MAVEN_REPOSITORY$/org/jetbrains/kotlin/kotlin-stdlib-jdk7/2.1.21/kotlin-stdlib-jdk7-2.1.21-sources.jar!/" />
|
||||||
</SOURCES>
|
</SOURCES>
|
||||||
</library>
|
</library>
|
||||||
</component>
|
</component>
|
||||||
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8.0_242" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/out" />
|
<output url="file://$PROJECT_DIR$/out" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
182
.idea/workspace.xml
generated
182
.idea/workspace.xml
generated
@@ -9,24 +9,77 @@
|
|||||||
<option name="autoReloadType" value="SELECTIVE" />
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="22c5bc80-996c-4846-b173-7dc8c2096fe3" name="Default" comment="">
|
<list default="true" id="22c5bc80-996c-4846-b173-7dc8c2096fe3" name="Default" comment="fix: characters not on overriden charset would not print">
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/artifacts/TerrarumSansBitmap.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/artifacts/TerrarumSansBitmap.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/kotlinc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/kotlinc.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/libraries/KotlinJavaRuntime.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/libraries/KotlinJavaRuntime.xml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
||||||
<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$/BuildJAR_TerrarumSansBitmap.iml" beforeDir="false" afterPath="$PROJECT_DIR$/BuildJAR_TerrarumSansBitmap.iml" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/FontTestGDX/FontTestGDX.iml" beforeDir="false" afterPath="$PROJECT_DIR$/FontTestGDX/FontTestGDX.iml" 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$/FontTestGDX/src/FontTestGDX.kt" beforeDir="false" afterPath="$PROJECT_DIR$/FontTestGDX/src/FontTestGDX.kt" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/cjkpunct.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/cjkpunct.tga" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/FontTestGDX/src/TypewriterGDX.kt" beforeDir="false" afterPath="$PROJECT_DIR$/FontTestGDX/src/TypewriterGDX.kt" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/currencies_variable.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/currencies_variable.tga" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/LICENSE.md" beforeDir="false" afterPath="$PROJECT_DIR$/LICENSE.md" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/futhark.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/futhark.tga" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/alphabetic_presentation_forms_extrawide_variable.tga" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/latinExtC_variable.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/latinExtC_variable.tga" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/ascii_variable.tga" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/richtext_furigana.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/richtext_furigana.tga" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/bengali_variable.tga" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/typewriter/typewriter_intl_qwerty.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/typewriter/typewriter_intl_qwerty.tga" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/braille_variable.tga" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/typewriter/typewriter_ko_3set-390.tga" beforeDir="false" afterPath="$PROJECT_DIR$/assets/typewriter/typewriter_ko_3set-390.tga" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/cjkpunct_variable.tga" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/assets/wenquanyi.tga.gz" beforeDir="false" afterPath="$PROJECT_DIR$/assets/wenquanyi.tga.gz" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/control_pictures_variable.tga" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/font_drawing_template.png" beforeDir="false" afterPath="$PROJECT_DIR$/font_drawing_template.png" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/currencies_variable.tga" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/glyph_height_pos_annotation.png" beforeDir="false" afterPath="$PROJECT_DIR$/glyph_height_pos_annotation.png" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/assets/cyrilic_bulgarian_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/cyrilic_serbian_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/cyrilic_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/devanagari_internal_extrawide_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/devanagari_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/diacritical_marks_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/enclosed_alphanumeric_supplement_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/futhark.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/greek_polytonic_xyswap_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/greek_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/halfwidth_fullwidth_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/hangul_johab.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/hayeren_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/hentaigana_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/internal_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/ipa_ext_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/kana_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/kartuli_allcaps_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/kartuli_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/latinExtA_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/latinExtB_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/latinExtC_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/latinExtD_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/latinExt_additional_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/letterlike_symbols_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/phonetic_extensions_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/pua_codestyle_ascii_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/puae000-e0ff.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/richtext_furigana.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/sundanese_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/tamil_extrawide_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/thai_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/tsalagi_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/cr0.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/cr1.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/cr2.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/cr3.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/cr4.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/cr5.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/crlf.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/deadkey.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/movingkey.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/shiftin.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/shiftout.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/audio/space.wav" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/typewriter_intl_qwerty.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/typewriter/typewriter_ko_3set-390.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/unipunct_variable.tga" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/assets/wenquanyi.tga.gz" beforeDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/samples/wikipedia_x86.png" beforeDir="false" afterPath="$PROJECT_DIR$/samples/wikipedia_x86.png" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/samples/wikipedia_x86.png" beforeDir="false" afterPath="$PROJECT_DIR$/samples/wikipedia_x86.png" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/TerrarumSansBitmap.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/torvald/terrarumsansbitmap/gdx/TerrarumSansBitmap.kt" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/net/torvald/terrarumtypewriterbitmap/gdx/TerrarumTypewriterBitmap.kt" beforeDir="false" afterPath="$PROJECT_DIR$/src/net/torvald/terrarumtypewriterbitmap/gdx/TerrarumTypewriterBitmap.kt" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/terrarum_sans_cyrillic_2.png" beforeDir="false" afterPath="$PROJECT_DIR$/terrarum_sans_cyrillic_2.png" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/terrarum_sans_cyrillic_2.png" beforeDir="false" afterPath="$PROJECT_DIR$/terrarum_sans_cyrillic_2.png" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/testing.PNG" beforeDir="false" afterPath="$PROJECT_DIR$/testing.PNG" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/testtext.txt" beforeDir="false" afterPath="$PROJECT_DIR$/testtext.txt" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/width_bit_encoding_annotated.png" beforeDir="false" afterPath="$PROJECT_DIR$/width_bit_encoding_annotated.png" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_master.kra" beforeDir="false" afterPath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_master.kra" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_master.kra" beforeDir="false" afterPath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_master.kra" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_resized.kra" beforeDir="false" afterPath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_resized.kra" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_resized.kra" beforeDir="false" afterPath="$PROJECT_DIR$/work_files/typewriter_input/alphnum_glyphs_resized.kra" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/work_files/typewriter_input/hangul_3set_glyphs_master.kra" beforeDir="false" afterPath="$PROJECT_DIR$/work_files/typewriter_input/hangul_3set_glyphs_master.kra" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/work_files/typewriter_input/hangul_3set_glyphs_master.kra" beforeDir="false" afterPath="$PROJECT_DIR$/work_files/typewriter_input/hangul_3set_glyphs_master.kra" afterDir="false" />
|
||||||
@@ -43,13 +96,31 @@
|
|||||||
<component name="FileTemplateManagerImpl">
|
<component name="FileTemplateManagerImpl">
|
||||||
<option name="RECENT_TEMPLATES">
|
<option name="RECENT_TEMPLATES">
|
||||||
<list>
|
<list>
|
||||||
<option value="Kotlin Class" />
|
|
||||||
<option value="Interface" />
|
<option value="Interface" />
|
||||||
<option value="Class" />
|
<option value="Class" />
|
||||||
|
<option value="Kotlin Class" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
<component name="Git.Settings">
|
<component name="Git.Settings">
|
||||||
|
<excluded-from-favorite>
|
||||||
|
<branch-storage>
|
||||||
|
<map>
|
||||||
|
<entry type="LOCAL">
|
||||||
|
<value>
|
||||||
|
<list>
|
||||||
|
<branch-info repo="$PROJECT_DIR$" source="master" />
|
||||||
|
</list>
|
||||||
|
</value>
|
||||||
|
</entry>
|
||||||
|
</map>
|
||||||
|
</branch-storage>
|
||||||
|
</excluded-from-favorite>
|
||||||
|
<option name="RECENT_BRANCH_BY_REPOSITORY">
|
||||||
|
<map>
|
||||||
|
<entry key="$PROJECT_DIR$" value="ttf-otf-build-system" />
|
||||||
|
</map>
|
||||||
|
</option>
|
||||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
</component>
|
</component>
|
||||||
<component name="GitSEFilterConfiguration">
|
<component name="GitSEFilterConfiguration">
|
||||||
@@ -60,9 +131,20 @@
|
|||||||
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
||||||
</file-type-list>
|
</file-type-list>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="HighlightingSettingsPerFile">
|
||||||
|
<setting file="jar://$PROJECT_DIR$/lib/gdx-1.10.0-sources.jar!/com/badlogic/gdx/Input.java" root0="SKIP_INSPECTION" />
|
||||||
|
<setting file="jar://$PROJECT_DIR$/lib/gdx-1.10.0-sources.jar!/com/badlogic/gdx/graphics/g2d/BitmapFont.java" root0="SKIP_INSPECTION" />
|
||||||
|
</component>
|
||||||
|
<component name="KotlinCompilerWorkspaceSettings">
|
||||||
|
<option name="preciseIncrementalEnabled" value="false" />
|
||||||
|
</component>
|
||||||
<component name="MarkdownSettingsMigration">
|
<component name="MarkdownSettingsMigration">
|
||||||
<option name="stateVersion" value="1" />
|
<option name="stateVersion" value="1" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="ProjectColorInfo">{
|
||||||
|
"customColor": "",
|
||||||
|
"associatedIndex": 2
|
||||||
|
}</component>
|
||||||
<component name="ProjectId" id="1aVE5t6KObkWt36lb07GBy1GY1S" />
|
<component name="ProjectId" id="1aVE5t6KObkWt36lb07GBy1GY1S" />
|
||||||
<component name="ProjectViewState">
|
<component name="ProjectViewState">
|
||||||
<option name="hideEmptyMiddlePackages" value="true" />
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
@@ -70,13 +152,31 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="PropertiesComponent">{
|
<component name="PropertiesComponent">{
|
||||||
"keyToString": {
|
"keyToString": {
|
||||||
|
"Kotlin.FontTestGDXKt.executor": "Debug",
|
||||||
|
"Kotlin.TypewriterGDXKt.executor": "Debug",
|
||||||
|
"RunOnceActivity.CodyAccountHistoryMigration": "true",
|
||||||
|
"RunOnceActivity.CodyAccountsIdsRefresh": "true",
|
||||||
|
"RunOnceActivity.CodyAssignOrphanedChatsToActiveAccount": "true",
|
||||||
|
"RunOnceActivity.CodyConvertUrlToCodebaseName": "true",
|
||||||
|
"RunOnceActivity.CodyHistoryLlmMigration": "true",
|
||||||
|
"RunOnceActivity.CodyMigrateChatHistory-v2": "true",
|
||||||
|
"RunOnceActivity.CodyProjectSettingsMigration": "true",
|
||||||
|
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||||
|
"RunOnceActivity.ToggleCodyToolWindowAfterMigration": "true",
|
||||||
|
"RunOnceActivity.git.unshallow": "true",
|
||||||
|
"git-widget-placeholder": "master",
|
||||||
|
"kotlin-language-version-configured": "true",
|
||||||
"last_opened_file_path": "/home/torvald/Documents/Terrarum-sans-bitmap",
|
"last_opened_file_path": "/home/torvald/Documents/Terrarum-sans-bitmap",
|
||||||
"project.structure.last.edited": "Artifacts",
|
"project.structure.last.edited": "Modules",
|
||||||
"project.structure.proportion": "0.0",
|
"project.structure.proportion": "0.15",
|
||||||
"project.structure.side.proportion": "0.0"
|
"project.structure.side.proportion": "0.20724516",
|
||||||
|
"settings.editor.selected.configurable": "project.kotlinCompiler"
|
||||||
}
|
}
|
||||||
}</component>
|
}</component>
|
||||||
<component name="RecentsManager">
|
<component name="RecentsManager">
|
||||||
|
<key name="CopyFile.RECENT_KEYS">
|
||||||
|
<recent name="$PROJECT_DIR$" />
|
||||||
|
</key>
|
||||||
<key name="MoveFile.RECENT_KEYS">
|
<key name="MoveFile.RECENT_KEYS">
|
||||||
<recent name="C:\Users\minjaesong\Documents\Terrarum-sans-bitmap\" />
|
<recent name="C:\Users\minjaesong\Documents\Terrarum-sans-bitmap\" />
|
||||||
<recent name="C:\Users\minjaesong\Documents\Terrarum-sans-bitmap" />
|
<recent name="C:\Users\minjaesong\Documents\Terrarum-sans-bitmap" />
|
||||||
@@ -90,6 +190,15 @@
|
|||||||
<option name="Make" enabled="true" />
|
<option name="Make" enabled="true" />
|
||||||
</method>
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType">
|
||||||
|
<module name="" />
|
||||||
|
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
||||||
|
<option name="PROGRAM_PARAMETERS" />
|
||||||
|
<predefined_log_file enabled="true" id="idea.log" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
<configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
|
<configuration default="true" type="executeSpecs" factoryName="Gauge Execution">
|
||||||
<setting name="environment" value="" />
|
<setting name="environment" value="" />
|
||||||
<setting name="specsToExecute" value="" />
|
<setting name="specsToExecute" value="" />
|
||||||
@@ -133,6 +242,12 @@
|
|||||||
<option name="Make" enabled="true" />
|
<option name="Make" enabled="true" />
|
||||||
</method>
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
<configuration default="true" type="JetRunConfigurationType">
|
||||||
|
<module name="BuildJAR_TerrarumSansBitmap" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Make" enabled="true" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType">
|
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType">
|
||||||
<option name="filePath" />
|
<option name="filePath" />
|
||||||
<method v="2">
|
<method v="2">
|
||||||
@@ -148,15 +263,6 @@
|
|||||||
<option name="Make" enabled="true" />
|
<option name="Make" enabled="true" />
|
||||||
</method>
|
</method>
|
||||||
</configuration>
|
</configuration>
|
||||||
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType">
|
|
||||||
<module name="" />
|
|
||||||
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
|
|
||||||
<option name="PROGRAM_PARAMETERS" />
|
|
||||||
<predefined_log_file enabled="true" id="idea.log" />
|
|
||||||
<method v="2">
|
|
||||||
<option name="Make" enabled="true" />
|
|
||||||
</method>
|
|
||||||
</configuration>
|
|
||||||
<recent_temporary>
|
<recent_temporary>
|
||||||
<list>
|
<list>
|
||||||
<item itemvalue="Kotlin.FontTestGDXKt" />
|
<item itemvalue="Kotlin.FontTestGDXKt" />
|
||||||
@@ -176,6 +282,23 @@
|
|||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1497950823354</updated>
|
<updated>1497950823354</updated>
|
||||||
</task>
|
</task>
|
||||||
|
<task id="LOCAL-00001" summary="Old hangul rendering fix">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1705647715000</created>
|
||||||
|
<option name="number" value="00001" />
|
||||||
|
<option name="presentableId" value="LOCAL-00001" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1705647715000</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00002" summary="fix: characters not on overriden charset would not print">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1726151824465</created>
|
||||||
|
<option name="number" value="00002" />
|
||||||
|
<option name="presentableId" value="LOCAL-00002" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1726151824465</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="3" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TodoView">
|
<component name="TodoView">
|
||||||
@@ -198,6 +321,11 @@
|
|||||||
</map>
|
</map>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="VcsManagerConfiguration">
|
||||||
|
<MESSAGE value="Old hangul rendering fix" />
|
||||||
|
<MESSAGE value="fix: characters not on overriden charset would not print" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="fix: characters not on overriden charset would not print" />
|
||||||
|
</component>
|
||||||
<component name="XSLT-Support.FileAssociations.UIState">
|
<component name="XSLT-Support.FileAssociations.UIState">
|
||||||
<expand />
|
<expand />
|
||||||
<select />
|
<select />
|
||||||
|
|||||||
@@ -1,13 +1,15 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<module type="JAVA_MODULE" version="4">
|
<module type="JAVA_MODULE" version="4">
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
<component name="NewModuleRootManager">
|
||||||
|
<output url="file://$MODULE_DIR$/out/production/BuildJAR_TerrarumSansBitmap" />
|
||||||
|
<output-test url="file://$MODULE_DIR$/out/test/BuildJAR_TerrarumSansBitmap" />
|
||||||
<exclude-output />
|
<exclude-output />
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="jdk" jdkName="1.8.0_242" jdkType="JavaSDK" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="lib" level="project" />
|
<orderEntry type="library" name="lib" level="project" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
@@ -5,9 +5,9 @@
|
|||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="jdk" jdkName="1.8.0_242" jdkType="JavaSDK" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
<orderEntry type="module" module-name="BuildJAR_TerrarumSansBitmap" />
|
<orderEntry type="module" module-name="BuildJAR_TerrarumSansBitmap" scope="PROVIDED" />
|
||||||
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
<orderEntry type="library" name="KotlinJavaRuntime" level="project" />
|
||||||
<orderEntry type="library" name="lib" level="project" />
|
<orderEntry type="library" name="lib" level="project" />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ class FontTestGDX : Game() {
|
|||||||
private lateinit var testtex: TextureRegion
|
private lateinit var testtex: TextureRegion
|
||||||
|
|
||||||
override fun create() {
|
override fun create() {
|
||||||
font = TerrarumSansBitmap("./assets", debug = true, flipY = false, errorOnUnknownChar = false, shadowAlpha = 0.5f) // must test for two flipY cases
|
font = TerrarumSansBitmap(debug = true, flipY = false, errorOnUnknownChar = false, shadowAlpha = 0.5f) // must test for two flipY cases
|
||||||
// font.scale = 2
|
// font.scale = 2
|
||||||
// font.interchar = 1
|
// font.interchar = 1
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ class TypewriterGDX(val width: Int, val height: Int, val cols: Int, val hmargin:
|
|||||||
|
|
||||||
override fun create() {
|
override fun create() {
|
||||||
font = TerrarumTypewriterBitmap(
|
font = TerrarumTypewriterBitmap(
|
||||||
"./assets/typewriter",
|
|
||||||
StringReader(
|
StringReader(
|
||||||
"""ko_kr_3set-390_typewriter,typewriter_ko_3set-390.tga,16
|
"""ko_kr_3set-390_typewriter,typewriter_ko_3set-390.tga,16
|
||||||
|en_intl_qwerty_typewriter,typewriter_intl_qwerty.tga,0
|
|en_intl_qwerty_typewriter,typewriter_intl_qwerty.tga,0
|
||||||
@@ -61,17 +60,17 @@ class TypewriterGDX(val width: Int, val height: Int, val cols: Int, val hmargin:
|
|||||||
inputStrober = InputStrober(this)
|
inputStrober = InputStrober(this)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
sndMovingkey = Gdx.audio.newSound(Gdx.files.internal("assets/typewriter/audio/movingkey.wav"))
|
sndMovingkey = Gdx.audio.newSound(Gdx.files.classpath("assets/typewriter/audio/movingkey.wav"))
|
||||||
sndDeadkey = Gdx.audio.newSound(Gdx.files.internal("assets/typewriter/audio/deadkey.wav"))
|
sndDeadkey = Gdx.audio.newSound(Gdx.files.classpath("assets/typewriter/audio/deadkey.wav"))
|
||||||
sndShiftin = Gdx.audio.newSound(Gdx.files.internal("assets/typewriter/audio/shiftin.wav"))
|
sndShiftin = Gdx.audio.newSound(Gdx.files.classpath("assets/typewriter/audio/shiftin.wav"))
|
||||||
sndShiftout = Gdx.audio.newSound(Gdx.files.internal("assets/typewriter/audio/shiftout.wav"))
|
sndShiftout = Gdx.audio.newSound(Gdx.files.classpath("assets/typewriter/audio/shiftout.wav"))
|
||||||
sndSpace = Gdx.audio.newSound(Gdx.files.internal("assets/typewriter/audio/space.wav"))
|
sndSpace = Gdx.audio.newSound(Gdx.files.classpath("assets/typewriter/audio/space.wav"))
|
||||||
|
|
||||||
sndCRs = Array(6) {
|
sndCRs = Array(6) {
|
||||||
Gdx.audio.newSound(Gdx.files.internal("assets/typewriter/audio/cr$it.wav"))
|
Gdx.audio.newSound(Gdx.files.classpath("assets/typewriter/audio/cr$it.wav"))
|
||||||
}
|
}
|
||||||
|
|
||||||
sndLF = Gdx.audio.newSound(Gdx.files.internal("assets/typewriter/audio/crlf.wav"))
|
sndLF = Gdx.audio.newSound(Gdx.files.classpath("assets/typewriter/audio/crlf.wav"))
|
||||||
}
|
}
|
||||||
catch (e: GdxRuntimeException) {
|
catch (e: GdxRuntimeException) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2017-2024 CuriousTorvald (minjaesong)
|
Copyright (c) 2017-2026 CuriousTorvald (minjaesong)
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 320 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 320 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 75 KiB After Width: | Height: | Size: 130 B |
BIN
src/assets/typewriter/typewriter_intl_qwerty.tga
LFS
Normal file
BIN
src/assets/typewriter/typewriter_intl_qwerty.tga
LFS
Normal file
Binary file not shown.
BIN
src/assets/typewriter/typewriter_ko_3set-390.tga
LFS
Normal file
BIN
src/assets/typewriter/typewriter_ko_3set-390.tga
LFS
Normal file
Binary file not shown.
BIN
src/assets/wenquanyi.tga
LFS
Normal file
BIN
src/assets/wenquanyi.tga
LFS
Normal file
Binary file not shown.
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Terrarum Sans Bitmap
|
* Terrarum Sans Bitmap
|
||||||
*
|
*
|
||||||
* Copyright (c) 2017-2024 see CONTRIBUTORS.txt
|
* Copyright (c) 2017-2026 see CONTRIBUTORS.txt
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -227,7 +227,6 @@ internal typealias Hash = Long
|
|||||||
* Created by minjaesong on 2017-06-15.
|
* Created by minjaesong on 2017-06-15.
|
||||||
*/
|
*/
|
||||||
class TerrarumSansBitmap(
|
class TerrarumSansBitmap(
|
||||||
fontDir: String,
|
|
||||||
val noShadow: Boolean = false,
|
val noShadow: Boolean = false,
|
||||||
val flipY: Boolean = false,
|
val flipY: Boolean = false,
|
||||||
val invertShadow: Boolean = false,
|
val invertShadow: Boolean = false,
|
||||||
@@ -240,7 +239,7 @@ class TerrarumSansBitmap(
|
|||||||
|
|
||||||
private fun dbgprn(i: Any) { if (debug) println("[${this.javaClass.simpleName}] $i") }
|
private fun dbgprn(i: Any) { if (debug) println("[${this.javaClass.simpleName}] $i") }
|
||||||
|
|
||||||
constructor(fontDir: String, noShadow: Boolean, flipY: Boolean, invertShadow: Boolean) : this(fontDir, noShadow, flipY, invertShadow, false, 256, false)
|
constructor(noShadow: Boolean, flipY: Boolean, invertShadow: Boolean) : this(noShadow, flipY, invertShadow, false, 256, false)
|
||||||
|
|
||||||
/* This font is a collection of various subsystems, and thus contains copious amount of quick-and-dirty codes.
|
/* This font is a collection of various subsystems, and thus contains copious amount of quick-and-dirty codes.
|
||||||
*
|
*
|
||||||
@@ -318,7 +317,7 @@ class TerrarumSansBitmap(
|
|||||||
|
|
||||||
|
|
||||||
private val colourBuffer = HashMap<CodePoint, ARGB8888>()
|
private val colourBuffer = HashMap<CodePoint, ARGB8888>()
|
||||||
private val fontParentDir = if (fontDir.endsWith('/') || fontDir.endsWith('\\')) fontDir else "$fontDir/"
|
// private val fontParentDir = if (fontDir.endsWith('/') || fontDir.endsWith('\\')) fontDir else "$fontDir/"
|
||||||
|
|
||||||
|
|
||||||
/** Props of all printable Unicode points. */
|
/** Props of all printable Unicode points. */
|
||||||
@@ -354,11 +353,11 @@ class TerrarumSansBitmap(
|
|||||||
|
|
||||||
|
|
||||||
// unpack gz if applicable
|
// unpack gz if applicable
|
||||||
if (it.endsWith(".gz")) {
|
/*if (it.endsWith(".gz")) {
|
||||||
val tmpFilePath = tempDir + "/tmp_${it.dropLast(7)}.tga"
|
val tmpFilePath = tempDir + "/tmp_${it.dropLast(7)}.tga"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
val gzi = GZIPInputStream(Gdx.files.internal(fontParentDir + it).read(8192))
|
val gzi = GZIPInputStream(Gdx.files.classpath(fontParentDir + it).read(8192))
|
||||||
val wholeFile = gzi.readBytes()
|
val wholeFile = gzi.readBytes()
|
||||||
gzi.close()
|
gzi.close()
|
||||||
val fos = BufferedOutputStream(FileOutputStream(tmpFilePath))
|
val fos = BufferedOutputStream(FileOutputStream(tmpFilePath))
|
||||||
@@ -377,12 +376,12 @@ class TerrarumSansBitmap(
|
|||||||
}
|
}
|
||||||
//File(tmpFileName).delete()
|
//File(tmpFileName).delete()
|
||||||
}
|
}
|
||||||
else {
|
else {*/
|
||||||
try {
|
try {
|
||||||
pixmap = Pixmap(Gdx.files.internal(fontParentDir + it))
|
pixmap = Pixmap(Gdx.files.classpath("assets/$it"))
|
||||||
}
|
}
|
||||||
catch (e: GdxRuntimeException) {
|
catch (e: Throwable) {
|
||||||
//e.printStackTrace()
|
e.printStackTrace()
|
||||||
dbgprn("said texture not found, skipping...")
|
dbgprn("said texture not found, skipping...")
|
||||||
|
|
||||||
// if non-ascii chart is missing, replace it with null sheet
|
// if non-ascii chart is missing, replace it with null sheet
|
||||||
@@ -393,7 +392,7 @@ class TerrarumSansBitmap(
|
|||||||
System.exit(1)
|
System.exit(1)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
|
|
||||||
if (isVariable) buildWidthTable(pixmap, codeRange[index], if (isExtraWide) 32 else 16)
|
if (isVariable) buildWidthTable(pixmap, codeRange[index], if (isExtraWide) 32 else 16)
|
||||||
buildWidthTableFixed()
|
buildWidthTableFixed()
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ import kotlin.math.roundToInt
|
|||||||
* Created by minjaesong on 2021-11-04.
|
* Created by minjaesong on 2021-11-04.
|
||||||
*/
|
*/
|
||||||
class TerrarumTypewriterBitmap(
|
class TerrarumTypewriterBitmap(
|
||||||
fontDir: String,
|
|
||||||
configFile: Reader,
|
configFile: Reader,
|
||||||
val flipY: Boolean = false,
|
val flipY: Boolean = false,
|
||||||
var errorOnUnknownChar: Boolean = false,
|
var errorOnUnknownChar: Boolean = false,
|
||||||
@@ -108,8 +107,6 @@ class TerrarumTypewriterBitmap(
|
|||||||
}
|
}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
val fontParentDir = if (fontDir.endsWith('/') || fontDir.endsWith('\\')) fontDir else "$fontDir/"
|
|
||||||
|
|
||||||
configFile.forEachLine {
|
configFile.forEachLine {
|
||||||
if (!it.startsWith("#")) {
|
if (!it.startsWith("#")) {
|
||||||
val csv = it.split(',')
|
val csv = it.split(',')
|
||||||
@@ -133,11 +130,11 @@ class TerrarumTypewriterBitmap(
|
|||||||
println("[TerrarumTypewriterBitmap] loading texture $filename [VARIABLE]")
|
println("[TerrarumTypewriterBitmap] loading texture $filename [VARIABLE]")
|
||||||
|
|
||||||
// unpack gz if applicable
|
// unpack gz if applicable
|
||||||
if (filename.endsWith(".gz")) {
|
/*if (filename.endsWith(".gz")) {
|
||||||
val tmpFileName = "tmp_${filename.dropLast(7)}.tga"
|
val tmpFileName = "tmp_${filename.dropLast(7)}.tga"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
val gzi = GZIPInputStream(Gdx.files.internal(fontParentDir + filename).read(8192))
|
val gzi = GZIPInputStream(Gdx.files.classpath(filename).read(8192))
|
||||||
val wholeFile = gzi.readBytes()
|
val wholeFile = gzi.readBytes()
|
||||||
gzi.close()
|
gzi.close()
|
||||||
val fos = BufferedOutputStream(FileOutputStream(tmpFileName))
|
val fos = BufferedOutputStream(FileOutputStream(tmpFileName))
|
||||||
@@ -145,7 +142,7 @@ class TerrarumTypewriterBitmap(
|
|||||||
fos.flush()
|
fos.flush()
|
||||||
fos.close()
|
fos.close()
|
||||||
|
|
||||||
pixmap = Pixmap(Gdx.files.internal(tmpFileName))
|
pixmap = Pixmap(Gdx.files.classpath(tmpFileName))
|
||||||
}
|
}
|
||||||
catch (e: GdxRuntimeException) {
|
catch (e: GdxRuntimeException) {
|
||||||
//e.printStackTrace()
|
//e.printStackTrace()
|
||||||
@@ -155,16 +152,16 @@ class TerrarumTypewriterBitmap(
|
|||||||
}
|
}
|
||||||
//File(tmpFileName).delete()
|
//File(tmpFileName).delete()
|
||||||
}
|
}
|
||||||
else {
|
else {*/
|
||||||
pixmap = try {
|
pixmap = try {
|
||||||
Pixmap(Gdx.files.internal(fontParentDir + filename))
|
Pixmap(Gdx.files.classpath(filename))
|
||||||
} catch (e: GdxRuntimeException) {
|
} catch (e: GdxRuntimeException) {
|
||||||
//e.printStackTrace()
|
//e.printStackTrace()
|
||||||
System.err.println("[TerrarumTypewriterBitmap] said texture not found, skipping...")
|
System.err.println("[TerrarumTypewriterBitmap] said texture not found, skipping...")
|
||||||
|
|
||||||
Pixmap(1, 1, Pixmap.Format.RGBA8888)
|
Pixmap(1, 1, Pixmap.Format.RGBA8888)
|
||||||
}
|
}
|
||||||
}
|
//}
|
||||||
|
|
||||||
val cpstart = codepointStart[key]!!
|
val cpstart = codepointStart[key]!!
|
||||||
buildWidthTable(pixmap, cpstart until cpstart + 256, 16)
|
buildWidthTable(pixmap, cpstart until cpstart + 256, 16)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 130 B |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user