freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Freetype] point coordinates of glyphs


From: Angela Hunziker
Subject: [Freetype] point coordinates of glyphs
Date: Mon, 5 Aug 2002 09:10:57 +0200

Hello

I'm trying to code the Rendering of TrueType fonts in java.
The point coordinates of some glyphs I read out from the font file are
pretty weird. When I try to connect these points to get the outline of a
glyph, it doesn't look very nice. Could it be that the point coordinates in
the font file produce a weird glyph? Does the hinting of glyphs maybe
correct these errors of the outline?
I already coded the loading of all the tables and the producing of the
bitmap but I left out the instructing of the glyphs. That's why I'm not sure
if I'm reading out the point coordinates correctly or if the glyphs look
weird because they haven't been instructed yet.
Actually, I don't think that the reading out of the outline points is wrong
because some of the glyphs look correct and only part of them look strange.
Two examples in the simple 1-0 format, which haven't been instructed yet:

the capital 'F': (which looks ok)

000000000000000000000000
011111111111111110000000
000011100000000110000000
000011100000000110000000
000111100000000100000000
000111100000000000000000
000011000000000000000000
000011000000000000000000
000011000000000000000000
000011000000000000000000
000011000000100000000000
000010000001100000000000
000011111111100000000000
000011111001100000000000
000011111001000000000000
000011111000000000000000
000011110000000000000000
000011110000000000000000
000011110000000000000000
000011110000000000000000
000011110000000000000000
000011110000000000000000
000011110000000000000000
011111111100000000000000

the capital 'G': (which doesn't look ok)

000001000000000000000000
000010111111111000000000
000011100111111100000000
011111110111111100000000
011111101111111100000000
001111101111111100000000
001111001111111000000000
001111001111111000000000
001111101111111000000000
001111111111111000000000
001111111111111000000000
001111111111111000000000
001111111111111000000000
001111111111111000000000
001111111111111000000000
000111111111111000000000
000111111111111000000000
000011111111111000000000
000001111111100000000000
000000000100000000000000

Could it really be that the capital 'G' above, which hasn't been instructed
yet, does look like a capital 'G' after instructing or is the error to be
found elsewhere (e.g. in the loading)?



greetings,
Angela Hunziker





reply via email to

[Prev in Thread] Current Thread [Next in Thread]