I'm trying to add embedded bitmaps to my outline (vector) font. It's essentially a 'pixelfont' that is supposed to have a 1:1 "pixel perfect" representation at a size of 12px (which is 9pt, on my 96dpi monitor). My intention is to force that particular size to render as bitmaps (no anti-aliasing); all other sizes would show as outlines.
I used FontForge to generate bitmaps for the 12-pixel size, and embed them into the TrueType/OpenType files. This seems to work correctly - when I reopen the .TTF/.OTF in FontForge, it finds the 12px bitmaps and displays them as intended. However, when the font is installed in Windows, I only see outlines being rendered - even at 9pt (12px), instead of my bitmaps. (I've verified this by modifying a few bitmap glyphs to make the difference apparent.)
I'm using Windows 7 with ClearType enabled. Microsoft says
: "ClearType antialiasing is disabled [...] if the font has tuned embedded bitmaps, only for those font sizes that contain the embedded bitmaps." For some reason, this isn't working for me.
Any ideas why I'm not seeing my bitmaps being rendered? Is there some required property that I might be missing, or some way to debug this?