For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > October 2004 > font glyphs









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author font glyphs
conrad

2004-10-15, 3:56 am

is there a set of glyphs that I could
analyze(to get the number of pixels that
make up an ascii character) under unix or
linux? I want to take a set of glyphs that
represent ascii characters and convert them
to ppm files for further analysis.
Victor Wagner

2004-10-15, 3:56 am

conrad <conrad@lawyer.com> wrote:
: is there a set of glyphs that I could
: analyze(to get the number of pixels that
: make up an ascii character) under unix or
: linux? I want to take a set of glyphs that
: represent ascii characters and convert them
: to ppm files for further analysis.

Take any X window font in bdf format.

--
Chuck Dillon

2004-10-15, 3:58 pm

conrad wrote:

> is there a set of glyphs that I could
> analyze(to get the number of pixels that
> make up an ascii character) under unix or
> linux? I want to take a set of glyphs that
> represent ascii characters and convert them
> to ppm files for further analysis.


It depends on the graphics system not the OS. Are we talking about X
or PostScript or what? Whatever the answer is there is probably a
better group to post the question to. For example, if you are talking
about X then comp.windows.x is probably the place to ask.

--
Chuck Dillon
Senior Software Engineer
NimbleGen Systems Inc.
Johan

2004-10-16, 3:56 am

Hi,

Have a look at the freetype library.

http://www.freetype.org/

You can get the bitmap for a character. Works with true type fonts.

Johan

"conrad" <conrad@lawyer.com> schreef in bericht
news:5503da4.0410142245.5479fc72@posting.google.com...
> is there a set of glyphs that I could
> analyze(to get the number of pixels that
> make up an ascii character) under unix or
> linux? I want to take a set of glyphs that
> represent ascii characters and convert them
> to ppm files for further analysis.



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com