Home » U++ Library support » Draw, Display, Images, Bitmaps, Icons » What is the U++ way to replace a missing font glyph?
Re: What is the U++ way to replace a missing font glyph? [message #54317 is a reply to message #54314] |
Mon, 22 June 2020 23:11 ![Go to previous message Go to previous message](theme/default/images/up.png) ![Go to next message Go to previous message](theme/default/images/down.png) |
Oblivion
Messages: 1094 Registered: August 2007
|
Senior Contributor |
|
|
Quote:
I think that whatever fonts you might add by AddFallbackFont, you can have in the list already... Smile
I mean, how are you going to use this?
OK, if we can add some new faces to fallback fonts list, it would be sufficient and great. ![Smile](images/smiley_icons/icon_smile.gif)
For one, an important monospace font with great glpyh coverage is missing: FreeMono. (FreeSans and FreeSerif is already in the list but their monospaced counterpart is missing).
Also, FontAwesome should be in that list too. (It has extensive icons coverage, used by many apps.)
These two would improve the result of font glyph substitution mechanism of U++.
There are other font families such as Noto for extensive CJK, Devanagari, etc. coverage but they can be picked and added later, if needed.
As a side note, I think it would be better to have a Font constructor that takes a facename. (Can be used to construct font arrays from facenames, using the C++11 initializer lists.)
Best regards,
Oblivion
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
[Updated on: Mon, 22 June 2020 23:23] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 10 22:22:29 CEST 2024
Total time taken to generate the page: 0.01669 seconds
|