|WP34 S: Fonts (a bit OT) |
Message #1 Posted by Marcus von Cube, Germany on 19 Feb 2012, 11:59 a.m.
I've created TrueType fonts from the bitmap fonts used in the WP 34S. This is mainly for Walter's documentation efforts but may be of more general use.
Here is what I do:
1. Let a program generate Windows style bitmap font files directly from the original bitmap definitions.
2. Use FontForge to import the *.fnt file(s).
3. Use AutoTrace to convert the bitmaps to strokes. It's a feature in FontForge but needs the external tracer. (Some images don't get traced correctly but this can be fixed manually.)
4. Export the result as a TrueType file.
So far, so good. But here the trouble starts. Somehow FontForge doesn't get the encodings right. On my Mac the font simply does not show the characters in their intended positions but scattered over the whole Unicode range. Windows works better but I still need a way to properly address the special characters (in the range 01 to 1F).
My first attempt was to create Windows bitmap font (*.fon). The font installs but doesn't show up in Word.
Anybody out there with experience in this area? I'm even thinking of creating the TrueType font directly from my program in step 1. Is the format easy enough to go this route?
I've committed my work to SVN (trunk/windows/winfont) for testing.