mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 10:21:45 -04:00
explicitly specify encoding for char lookup of monospace font renderer to avoid errors
This commit is contained in:
parent
b0e8e40317
commit
33a45493b8
@ -12,7 +12,7 @@ import scala.io.Source
|
||||
object MonospaceFontRenderer {
|
||||
val font = new ResourceLocation(Settings.resourceDomain, "textures/font/chars.png")
|
||||
|
||||
private val chars = Source.fromInputStream(MonospaceFontRenderer.getClass.getResourceAsStream("/assets/" + Settings.resourceDomain + "/textures/font/chars.txt")).mkString
|
||||
private val chars = Source.fromInputStream(MonospaceFontRenderer.getClass.getResourceAsStream("/assets/" + Settings.resourceDomain + "/textures/font/chars.txt"))("UTF-8").mkString
|
||||
|
||||
private var instance: Option[Renderer] = None
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user