mirror of
https://github.com/curioustorvald/Terrarum-sans-bitmap.git
synced 2026-03-07 11:51:50 +09:00
typewriter keymap minor change
This commit is contained in:
@@ -34,7 +34,6 @@ class FontTestGDX : Game() {
|
||||
private lateinit var faketex: Texture
|
||||
|
||||
override fun create() {
|
||||
font = TerrarumSansBitmap("./assets", flipY = false, errorOnUnknownChar = false, shadowAlpha = 0.796f) // must test for two flipY cases
|
||||
font = TerrarumSansBitmap("./assets", debug = true, flipY = false, errorOnUnknownChar = false, shadowAlpha = 0.796f) // must test for two flipY cases
|
||||
|
||||
val inTextFile = Gdx.files.internal("./$demotextName")
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 320 KiB |
@@ -585,10 +585,15 @@ class TerrarumTypewriterBitmap(
|
||||
val hashPrime = 1099511628211L
|
||||
var hashAccumulator = hashBasis
|
||||
|
||||
if (this != null) {
|
||||
this.forEach {
|
||||
hashAccumulator = hashAccumulator xor it.toLong()
|
||||
hashAccumulator *= hashPrime
|
||||
}
|
||||
}
|
||||
else {
|
||||
System.err.println("CodepointSequence is null?!")
|
||||
}
|
||||
|
||||
return hashAccumulator
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user