mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-06-06 14:08:30 +09:00
coptic
This commit is contained in:
BIN
src/assets/coptic_variable.tga
LFS
Normal file
BIN
src/assets/coptic_variable.tga
LFS
Normal file
Binary file not shown.
Binary file not shown.
BIN
src/assets/cyrilic_variable.tga
LFS
BIN
src/assets/cyrilic_variable.tga
LFS
Binary file not shown.
Binary file not shown.
BIN
src/assets/greek_variable.tga
LFS
BIN
src/assets/greek_variable.tga
LFS
Binary file not shown.
@@ -882,6 +882,7 @@ class TerrarumSansBitmap(
|
||||
SHEET_LATIN_EXTF_VARW -> latinExtFIndexY(ch)
|
||||
SHEET_LATIN_EXTG_VARW -> latinExtGIndexY(ch)
|
||||
SHEET_OGHAM_VARW -> oghamIndexY(ch)
|
||||
SHEET_COPTIC_VARW -> copticIndexY(ch)
|
||||
else -> ch / 16
|
||||
}
|
||||
|
||||
@@ -2614,6 +2615,7 @@ class TerrarumSansBitmap(
|
||||
internal const val SHEET_LATIN_EXTF_VARW = 46
|
||||
internal const val SHEET_LATIN_EXTG_VARW = 47
|
||||
internal const val SHEET_OGHAM_VARW = 48
|
||||
internal const val SHEET_COPTIC_VARW = 49
|
||||
|
||||
internal const val SHEET_UNKNOWN = 254
|
||||
|
||||
@@ -2685,6 +2687,7 @@ class TerrarumSansBitmap(
|
||||
"latinExtF_variable.tga",
|
||||
"latinExtG_variable.tga",
|
||||
"ogham_variable.tga",
|
||||
"coptic_variable.tga",
|
||||
)
|
||||
internal val codeRange = arrayOf( // MUST BE MATCHING WITH SHEET INDICES!!
|
||||
0..0xFF, // SHEET_ASCII_VARW
|
||||
@@ -2736,6 +2739,7 @@ class TerrarumSansBitmap(
|
||||
0x10780..0x107BF, // SHEET_LATIN_EXTF_VARW
|
||||
0x1DF00..0x1DFFF, // SHEET_LATIN_EXTG_VARW
|
||||
0x1680..0x169F, // SHEET_OGHAM_VARW
|
||||
0x2C80..0x2CFF, // SHEET_COPTIC_VARW
|
||||
)
|
||||
private val codeRangeHangulCompat = 0x3130..0x318F
|
||||
|
||||
@@ -3095,6 +3099,7 @@ class TerrarumSansBitmap(
|
||||
private fun latinExtFIndexY(c: CodePoint) = (c - 0x10780) / 16
|
||||
private fun latinExtGIndexY(c: CodePoint) = (c - 0x1DF00) / 16
|
||||
private fun oghamIndexY(c: CodePoint) = (c - 0x1680) / 16
|
||||
private fun copticIndexY(c: CodePoint) = (c - 0x2C80) / 16
|
||||
|
||||
val charsetOverrideDefault = Character.toChars(CHARSET_OVERRIDE_DEFAULT).toSurrogatedString()
|
||||
val charsetOverrideBulgarian = Character.toChars(CHARSET_OVERRIDE_BG_BG).toSurrogatedString()
|
||||
|
||||
Reference in New Issue
Block a user