Skip to content

Commit c61fe63

Browse files
committed
lower priority
1 parent 0161c2b commit c61fe63

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/kotlin/com/lambda/graphics/text/FontHandler.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import kotlin.io.path.notExists
3535
*/
3636
object FontHandler : Loadable, Configurable(FontConfig) {
3737
override val name = "Font"
38+
override val priority = -1
3839

3940
private val loadedAtlases = ConcurrentHashMap<String, SDFFontAtlas>()
4041

@@ -80,7 +81,7 @@ object FontHandler : Loadable, Configurable(FontConfig) {
8081
}
8182

8283
val fontFiles = fontsFolder.toFile().listFiles()
83-
?.filter { it.isFile && it.extension.lowercase() in setOf("ttf", "otf") }
84+
?.filter { it.isFile && it.extension.lowercase() in setOf("ttf") }
8485
?: emptyList()
8586

8687
fontFiles.forEach { fontFile ->

0 commit comments

Comments
 (0)