Realized while writing the docs that I need to preseve non-visible glyphs in the shape. (Fixed some crashing as well)

So the shaper has been adjusted along with downstream codepaths in drawlist gen pass.
This commit is contained in:
2025-01-11 20:38:43 -05:00
parent f7e4278300
commit 046c69c477
5 changed files with 110 additions and 69 deletions

View File

@@ -581,8 +581,8 @@ unload_font :: proc( ctx : ^Context, font : Font_ID )
entry := & ctx.entries[ font ]
entry.used = false
parser_unload_font( & entry.parser_info )
shaper_unload_font( & entry.shaper_info )
parser_unload_font( & entry.parser_info )
}
// Can be used with hot-reload