home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / fonts / 3379 < prev    next >
Encoding:
Internet Message Format  |  1992-11-15  |  2.7 KB

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