Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » What is the U++ way to replace a missing font glyph?
What is the U++ way to replace a missing font glyph? [message #54283] |
Fri, 19 June 2020 13:33  |
Oblivion
Messages: 1213 Registered: August 2007
|
Senior Contributor |
|
|
Hello,
I am working on a range-based and fallback font substitution mechanism for Terminal ctrl and I don't want to reinvent the wheel.
Is there already a way to replace missing glphs in U++ API?
For example, most fonts do not have the glyphs for braille alhabet or unicode emojis/icons. I want to use alternative fonts for missing glpyhs.
I see some methods for Font, suggesting that it is possible but I couldn't find a simple example.
I'd be grateful if anyone could clarify this point and/or post an example.
Edit: I see a static font replacement list in Draw/FontCR.cpp. Is it how U++ does this? If so, can we have a way to modify and let apps manage the list?
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Fri, 19 June 2020 15:35] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Thu Jun 26 21:22:34 CEST 2025
Total time taken to generate the page: 0.03362 seconds
|