home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.fonts:3379 comp.os.ms-windows.programmer.misc:3460
- Path: sparky!uunet!ogicse!news.u.washington.edu!max.u.washington.edu!games
- From: games@max.u.washington.edu
- Newsgroups: comp.fonts,comp.os.ms-windows.programmer.misc
- Subject: Re: TrueType Hidden Bitmaps?
- Message-ID: <1992Nov16.101855.1@max.u.washington.edu>
- Date: 16 Nov 92 18:18:55 GMT
- Article-I.D.: max.1992Nov16.101855.1
- References: <1e2betINNo3h@golem.wcc.govt.nz>
- Sender: news@u.washington.edu (USENET News System)
- Lines: 48
-
- In article <1e2betINNo3h@golem.wcc.govt.nz>, gardner_a@kosmos.wcc.govt.nz (andy gardner) writes:
- > Hidden bitmaps in TrueType fonts?
- > .
- > Recently I've been playing around with TrueType fonts using
- > Fontographer. I've noted the following occurence and was
- > wondering if anybody could shed some light on the matter.
- > .
- > The file size of ARIAL.TTF as supplied by Microsoft is
- > 65692 bytes. This font displays well on screen at small
- > point sizes.
- > .
- > If you takes this font into Fontographer and then
- > regenerate it, the size drops down to 36248 bytes. The
- > ensuing font looks grubby at sizes below 16 points on a
- > SVGA screen.
- > .
- > Judging on the fact that the origianal font (when displayed
- > on screen) is perfect, it is my guess that Microsoft has
- > hidden some bitmaps in their font that are used automatically
- > by Windows for on screen display. Dows anybody know anything
- > about this? Is there some way to bundle bitmaps back into
- > a TrueType font? Is there more to this than meets the eye?
- >
- > Any feedback is appreciated. If received by email, I will
- > summarize to comp.fonts
- >
- Well, I have the print out of the arial font. (I used the true type
- font printer from ftp.uu.net vendors microsoft truetype directory)
-
- True type does NOT have bitmaps built in to it. However what it does have
- for every glyph, is a set of points that make up the outline, and then a set
- of flags, and then a set of code, that is executed by the interpreter for
- every glyph. (This from the truetype manual in the same directlry.) In any
- case, the code can check the font size and rotation, and flip bits onto or off
- of the grid to make things look better at small point sizes. (actually called
- small em sizes, since it is not the point size, it is the absolute size with
- respect to the resolution of the device...) In any case, my suspicion would be
- that fontographer is somehow mangling some of the flags, or some of the glyph
- code. (is this glyph code equivalent to hinting in other font systems?)
-
- You might try dumping it with the program, and then fontographing it, and then
- dumping it again, and compare a couple of glyphs by hand.
-
- Be aware however that a full dump of Arial is 200 pages printed in 2-up
- landscape (or about 400 pages of normal print...)
-
-
- John.
-