feat: added Font to get glyphs out of ttf files and make a TextureAtlas with them (right now only latin range of Unicode to not explode the atlas) and started trying to incorporate text rendering in ECS and Renderer2D

This commit is contained in:
lisk77 2025-03-15 23:17:02 +01:00
parent 5430ee0d7e
commit 9e16179df3
12 changed files with 191 additions and 317 deletions

View file

@ -49,7 +49,6 @@ members = [
"./crates/comet_input",
"./crates/comet_log",
"./crates/comet_ui",
"./crates/comet_fonts",
"./crates/comet_sound",
"./crates/comet_structs"
]
@ -63,4 +62,4 @@ comet_resources = { path = "./crates/comet_resources", workspace = true }
comet_ecs = { path = "./crates/comet_ecs", workspace = true }
comet_input = { path = "./crates/comet_input", workspace = true }
comet_log = { path = "./crates/comet_log", workspace = true }
comet_structs = { path = "./crates/comet_structs", workspace = true }
comet_structs = { path = "./crates/comet_structs", workspace = true }