mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-06-10 07:54:05 +09:00
new kana for testing
This commit is contained in:
BIN
assets/kana_variable.tga
LFS
Normal file
BIN
assets/kana_variable.tga
LFS
Normal file
Binary file not shown.
BIN
demo.PNG
BIN
demo.PNG
Binary file not shown.
|
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 152 KiB |
@@ -261,8 +261,6 @@ class TerrarumSansBitmap(
|
|||||||
// below they all have height of 20 'H'
|
// below they all have height of 20 'H'
|
||||||
else if (index == SHEET_CJK_PUNCT)
|
else if (index == SHEET_CJK_PUNCT)
|
||||||
PixmapRegionPack(pixmap, W_ASIAN_PUNCT, H)
|
PixmapRegionPack(pixmap, W_ASIAN_PUNCT, H)
|
||||||
else if (index == SHEET_KANA)
|
|
||||||
PixmapRegionPack(pixmap, W_KANA, H)
|
|
||||||
else if (index == SHEET_HANGUL)
|
else if (index == SHEET_HANGUL)
|
||||||
PixmapRegionPack(pixmap, W_HANGUL_BASE, H)
|
PixmapRegionPack(pixmap, W_HANGUL_BASE, H)
|
||||||
else if (index == SHEET_CUSTOM_SYM)
|
else if (index == SHEET_CUSTOM_SYM)
|
||||||
@@ -665,7 +663,6 @@ class TerrarumSansBitmap(
|
|||||||
codeRange[SHEET_CUSTOM_SYM].forEach { glyphProps[it] = GlyphProps(20) }
|
codeRange[SHEET_CUSTOM_SYM].forEach { glyphProps[it] = GlyphProps(20) }
|
||||||
codeRange[SHEET_HANGUL].forEach { glyphProps[it] = GlyphProps(W_HANGUL_BASE) }
|
codeRange[SHEET_HANGUL].forEach { glyphProps[it] = GlyphProps(W_HANGUL_BASE) }
|
||||||
codeRangeHangulCompat.forEach { glyphProps[it] = GlyphProps(W_HANGUL_BASE) }
|
codeRangeHangulCompat.forEach { glyphProps[it] = GlyphProps(W_HANGUL_BASE) }
|
||||||
codeRange[SHEET_KANA].forEach { glyphProps[it] = GlyphProps(W_KANA) }
|
|
||||||
codeRange[SHEET_RUNIC].forEach { glyphProps[it] = GlyphProps(9) }
|
codeRange[SHEET_RUNIC].forEach { glyphProps[it] = GlyphProps(9) }
|
||||||
codeRange[SHEET_UNIHAN].forEach { glyphProps[it] = GlyphProps(W_UNIHAN) }
|
codeRange[SHEET_UNIHAN].forEach { glyphProps[it] = GlyphProps(W_UNIHAN) }
|
||||||
(0xD800..0xDFFF).forEach { glyphProps[it] = GlyphProps(0) }
|
(0xD800..0xDFFF).forEach { glyphProps[it] = GlyphProps(0) }
|
||||||
@@ -2000,7 +1997,6 @@ class TerrarumSansBitmap(
|
|||||||
|
|
||||||
internal const val W_ASIAN_PUNCT = 10
|
internal const val W_ASIAN_PUNCT = 10
|
||||||
internal const val W_HANGUL_BASE = 13
|
internal const val W_HANGUL_BASE = 13
|
||||||
internal const val W_KANA = 12
|
|
||||||
internal const val W_UNIHAN = 16
|
internal const val W_UNIHAN = 16
|
||||||
internal const val W_LATIN_WIDE = 9 // width of regular letters
|
internal const val W_LATIN_WIDE = 9 // width of regular letters
|
||||||
internal const val W_VAR_INIT = 15 // it assumes width of 15 regardless of the tagged width
|
internal const val W_VAR_INIT = 15 // it assumes width of 15 regardless of the tagged width
|
||||||
@@ -2080,7 +2076,7 @@ class TerrarumSansBitmap(
|
|||||||
"hangul_johab.tga",
|
"hangul_johab.tga",
|
||||||
"latinExtA_variable.tga",
|
"latinExtA_variable.tga",
|
||||||
"latinExtB_variable.tga",
|
"latinExtB_variable.tga",
|
||||||
"kana.tga",
|
"kana_variable.tga",
|
||||||
"cjkpunct.tga",
|
"cjkpunct.tga",
|
||||||
"wenquanyi.tga.gz",
|
"wenquanyi.tga.gz",
|
||||||
"cyrilic_variable.tga",
|
"cyrilic_variable.tga",
|
||||||
|
|||||||
BIN
work_files/kana2.kra
LFS
BIN
work_files/kana2.kra
LFS
Binary file not shown.
BIN
work_files/kana_variable.kra
LFS
Normal file
BIN
work_files/kana_variable.kra
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user