I have problems displaying a glyph that I added to an existing font. Here are the steps I followed.
- I downloaded a font and used gtk markup language in my source code to load the font and display the value for 'J' on a gtk label and it worked fine. - To make sure that I made no errors, I loaded this font in fontforge, double clicked on the glyph image for 'J' to open the glyph in edit mode, did a Select All and copied the glyph. I then edited the glyph for U+E3C6 and pasted the glyph and saved it. - I then ran my program and did an sprintf of "\uE3C6" into a buffer and tried to display this buffer on the gtk label using the gtk markup language (this is how I displayed for 'J' as well). This time, instead of displaying the glyph, it just displayed the letters E3 on the top row and the letters C6 on the bottom row with a small square border around the letters. What steps am I missing? I am new to fontforge and any help will be appreciated. My aim should be pretty simple for people here - I want to use an unused unicode value and display my glyph from my program. Ideally, I will want to display it on gtk widgets using gtk markup language after loading the font at runtime, but if you have answers for other means of displaying such glyphs, I am eager to know those as well. I should add that I did get an error when I did a generate font which said that I'm saving the font in a 1-byte encoding format and will not be able to see more than 256 values. I am not sure how to overcome this error in case this was the reason for my inability to display my font. Thanks, -Ferdinand _______________________________________________ Freetype mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype
