mirror of
https://github.com/Ed94/VEFontCache-Odin.git
synced 2025-08-06 06:52:44 -07:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user