Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Re: extract the bitmap pattern of font file.

Thread Tools

Re: extract the bitmap pattern of font file.

Posts: n/a
Richard Bos wrote:
>> eg. font "times new roman", size=12, text="A" , style=bold
>> then the progarm will read the *.ttf file and generate the
>> 00000000
>> 00010000
>> 00101000
>> 01111100
>> 01000100
>> 10000010
>> 00000000

> It is not that easy. In fact, it is not even anywhere near that easy.
> True Type fonts, like PostScript fonts, are not bitmaps but outline
> fonts. You need a rendering engine to create the bitmaps from the
> description

Spotato, you might want to take this to one of the groups, it is entirely off-topic here! But as
a hint, don't bother creating your own render, but let Windows render this
for you! If it is not already, install the font using the API and draw to a
bitmap (either visible or not) - you can extract whatever you need from that
(maybe make some cropping function).

Good luck,

Martijn Haak

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Swing Font, it's Java Font? ot native? how install new font? mttc Java 2 07-03-2009 07:29 PM
How do i extract vidios when winrar wont extract them??? help plzzzzzzzz Computer Support 2 12-23-2007 07:03 AM
howto extract type pattern from xsd shema file / or DOM Document object from JAVA Java 0 10-11-2007 09:18 AM
Help! How can I draw a bitmap only with BITMAP information! xqggz C++ 1 06-19-2007 03:07 PM
Masked bitmap from bitmap Gandalf Python 0 01-29-2004 09:41 PM