Skip to content

Commit

Permalink
Add font texture to atlas again
Browse files Browse the repository at this point in the history
  • Loading branch information
jobe-m committed Aug 9, 2024
1 parent 31527e4 commit 1c858b4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ class AssetStore {
)
}
assetConfig.fonts.forEach { font ->
// TODO there is a bug with drawing spaces from font when the font is added to an atlas - remove atlas for now
fonts[font.key] = Pair(type, resourcesVfs[assetConfig.folder + "/" + font.value].readBitmapFont()) // readBitmapFont(atlas = atlas))
fonts[font.key] = Pair(type, resourcesVfs[assetConfig.folder + "/" + font.value].readBitmapFont(atlas = atlas))
}

println("Assets: Loaded resources in ${sw.elapsed}")
Expand Down

0 comments on commit 1c858b4

Please sign in to comment.