Here’s a patch which loads embedded font Unicode charmap. It enables
all Unicode glyphs in symbol or eastern fonts.
Without this patch FT uses only default (Latin1 + accented characters)
Unicode charmap which misses many font glyphs, i.e. for Webdings there
are absolutely no glyphs found without this patch.
Patch attached below,
Have fun,–
Adam Strzelecki | nanoant.com
-------------- next part --------------
A non-text attachment was scrubbed…
Name: SDL_ttf-set-font-charmap.patch
Type: application/octet-stream
Size: 1158 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20091021/b76e44d5/attachment.obj
I made a couple slight tweaks (pick the first matching charmap, don’t
bail if setting the charmap fails, etc.), and applied your patch.
Thanks!On Wed, Oct 21, 2009 at 3:48 AM, Adam Strzelecki wrote:
Here’s a patch which loads embedded font Unicode charmap. It enables all
Unicode glyphs in symbol or eastern fonts.
Without this patch FT uses only default (Latin1 + accented characters)
Unicode charmap which misses many font glyphs, i.e. for Webdings there are
absolutely no glyphs found without this patch.
Patch attached below,
Have fun,
Adam Strzelecki | nanoant.com
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
–
-Sam Lantinga, Founder and President, Galaxy Gameworks LLC