It's strange that it's producing mono bitmaps . . .  This looks like a good change, though. You should commit it to CVS.

--Chris

On 7/31/06, Christophe Teyssier <chris@teyssier.org> wrote:

Working on internationalisation, I was trying to generate a Japanese font
texture and I noticed that sometimes ttf2txf produces garbage. In fact, using
the Kochi or Sazanami fonts (freely available japanese fonts on Linux), I was
getting garbage at all sizes but 18pts.

The reason for this is that Freetype sometimes produces monochrome bitmaps
even if FT_Render_Glyph is called with FT_RENDER_MODE_NORMAL.

The fix is quite simple, see the attached patch.

--
Christophe


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Celestia-developers mailing list
Celestia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/celestia-developers