SFML community forums
General => Feature requests => Topic started by: 1aam2am1 on February 27, 2016, 08:54:09 pm
-
Add functions addFromFile, addFromMemory, addFromStream.
I have a font, he hasn't all utf-8 glyph.
I would load first any of basic operating system font. Later I wold load my font, he should replace glipth of old font.
-
You are not making much sense to me. Could please elaborate what you mean exactly and provide some use cases?
-
sf::Font font;
font.loadFromFile(Path to the basic font of the operating system, eg. "C:/Windows/Fonts/ariblk.ttf");
fond.addFromFile(Path to my font); //loads the new font( not remove first loaded)
What I mean:
Font I: Load a,b,c,d,e,f...
Font II: Replace eg. a,b,c, //but not d becouse he hesn't got it
-
If he has some very-simple font, it won't display any special characters like 'ą', 'ć', 'ź' etc., that's why he propably wants to provide these characters from another font which supports UTF-8.