I do own the MBS and Einhugur plugins, so solutions using them are appreciated as well
I want to retrieve all characters/glyphs contained in an icon font and paint them into a graphics object. How can I do that?
Unfortunately, the new CoreText functions of the MBS plugins lack examples and the documentation is a bit… overwhelming
I do own the MBS and Einhugur plugins, so solutions using them are appreciated as well
I want to retrieve all characters/glyphs contained in an icon font and paint them into a graphics object. How can I do that?
Unfortunately, the new CoreText functions of the MBS plugins lack examples and the documentation is a bit… overwhelming
[/quote]
If you want to create sprites of sorts with a collection of pictures representing each a character, the solution I would use is through Graphics.DrawString and the size of each graphic set by StringWidth. You may not need declares at all. But why not use the font itself as a custom font in your app ?
I tried that but icon fonts do not have a glyph at every character point (eg. char(100) might be empty). Thus I somehow need to get all the glyphs and their position available. Kind of a glyph map the way OS X has it.
I want to end up with a tool that helps me create icons from icon fonts (like FontAwesome) in various sizes and forms.