Does anybody know how to decode Truetype file and render at any arbitrary resolution?

From: kiki (lunaliu3_at_yahoo.com)
Date: 02/23/05


Date: Wed, 23 Feb 2005 10:15:05 -0800

HI all,

I have to render my own fonts in my application at an arbitrarily high
resolution. I suppose the B-splines in TrueType will help me. So I guess I
need to decode the TrueType file, and rasterize it by myself.

Can anybody help? What is the most fast and efficient way of doing this?

I can definitely copy the rasterized font bitmap into memory and/or save to
a file(that's to say, let OS to the rasterization, and I just take its
bitmap result),... the problem is that the OS assume certain DPI reolution,
normally 96DPI. But I want to be able to render the font at any arbitrary
resolution...

How can I solve this problem?

Thanks a lot



Relevant Pages