Reputation: 449
For my ImGui application I want to do the following:
Load a primary font
Load a secondary font
Add a list of selected glyphs from the secondary font to the primary font:
For each glyph I want to choose the Unicode location in the primary font (remapping...) where the glyph will be placed, so I can use it in the primary font by using that Unicode in C++ strings.
Each glyph from the secondary font needs a change of location in x- and y-direction.
I did read the ImGui font-readme, plus examples, did some simple font merging, but for the above task I hardly have a clue where to start. There is a font->AddGlyph()
function, but I'm not sure how to use that for the above tasks. I hope the above is possible, any hint is appreciated.
Upvotes: 1
Views: 201