We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0161c2b commit c61fe63Copy full SHA for c61fe63
1 file changed
src/main/kotlin/com/lambda/graphics/text/FontHandler.kt
@@ -35,6 +35,7 @@ import kotlin.io.path.notExists
35
*/
36
object FontHandler : Loadable, Configurable(FontConfig) {
37
override val name = "Font"
38
+ override val priority = -1
39
40
private val loadedAtlases = ConcurrentHashMap<String, SDFFontAtlas>()
41
@@ -80,7 +81,7 @@ object FontHandler : Loadable, Configurable(FontConfig) {
80
81
}
82
83
val fontFiles = fontsFolder.toFile().listFiles()
- ?.filter { it.isFile && it.extension.lowercase() in setOf("ttf", "otf") }
84
+ ?.filter { it.isFile && it.extension.lowercase() in setOf("ttf") }
85
?: emptyList()
86
87
fontFiles.forEach { fontFile ->
0 commit comments