Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
Oblivion is currently offline  Oblivion
Messages: 1092
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


[Updated on: Fri, 19 June 2020 15:35]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Paint problems when using transparency
Next Topic: [SOLVED] Simple example for DrawPainter::Path
Goto Forum:
  


Current Time: Thu Apr 18 23:34:22 CEST 2024

Total time taken to generate the page: 0.03811 seconds