Re-visit choice of font library #16
Labels
No Label
duplicate
good first issue
help wanted
invalid
Type: Bug
Type: Docs
Type: Idea
Type: Question
Type: Task
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ludens/immediate-mode#16
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are alternatives to
rusttype
such asab_glyph
andfontdue
andmsdfgen
. Compare them to each-other to see which one might be best to use for immediate mode.Another possibility is to use
glyph-brush
, or part of it, to integrate font-atlas functionality.glyph_brush_draw_cache
Seems to be a promising replacement for my currently lackluster font atlas, and has features I was hoping to support, like queuing glyphs to be rasterized later in frame. I may also consider adoptingglyph_brush_layout
in the future to support better text layout.Update:
Upon further investigation, glyphs that are cached cannot be allocated in the texture separately from being rasterized; they are queued for rasterization when they are looked up and not found in the cache. I was hoping for behavior where the glyphs are allocated into the texture upon lookup if it isn't cached, and then rasterization happens at the end of frame.
I have settled on:
It could be fun to add rich-text like functionality through ANSI escape codes