home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / fonts / 3999 < prev    next >
Encoding:
Text File  |  1993-01-24  |  2.2 KB  |  62 lines

  1. Newsgroups: comp.fonts
  2. Path: sparky!uunet!uunet.ca!wildcan!sq!lee
  3. From: lee@sq.sq.com (Liam R. E. Quin)
  4. Subject: Re: help with accent design
  5. Message-ID: <1993Jan24.212448.3891@sq.sq.com>
  6. Organization: SoftQuad Inc., Toronto, Canada
  7. References: <1993Jan22.205519.16803@news.columbia.edu>
  8. Date: Sun, 24 Jan 93 21:24:48 GMT
  9. Lines: 51
  10.  
  11. pcj1@cunixf.cc.columbia.edu (Pierre Jelenc) writes:
  12. >I would like the advice of people with experience in the design of fonts
  13. >with diacritical marks.
  14. >
  15. >I am in the process of modifying a couple of LaserJet fonts to add several
  16. >accented letters, including capitals. The problem is that there is not
  17. >enough free space above the letters as they are now to accomodate the accents
  18. >without bumping into the descenders from the preceeding line.
  19.  
  20. There is an important difference between the bounding box of a character and
  21. the height of the font.
  22.  
  23.     -----------------------  font height
  24.  
  25.            AA------------------  cap height
  26.            AAA
  27.           A  AA
  28.          A    AA
  29.         AAAAAAAAA
  30.        A        AA
  31.       AAA       AAA -----------  baseline
  32.  
  33.  
  34.             -----------  descender depth
  35.  
  36.             -----------  beard (optional)
  37.  
  38. A metal font might have space both above and below an A or g, for example.
  39. This is so that when you set rows of type, the descender of the g doesn't
  40. touch the ascender of the A.  This pracice was carried over into digital type.
  41.  
  42. There is usually space for accents between the cap height and the font height.
  43. In this case, there's often little or no beard below the descenders.
  44.  
  45. Hence, you can probably add the accent on top of the A, and make sure that
  46. the font bounding box and font height are ajusted if necessary.
  47. If you adjust the font bounding box, you might be able to get away without
  48. increasing font height, by moving it upwards -- i.e. taking away from the
  49. beard.  I forget if you can do this on the LaserJet, though.
  50.  
  51. A good approach might be to write a little language for transforming a font:
  52.     character 194 is cpile { "^" over "A" }
  53. and so on.
  54.  
  55. Lee
  56.  
  57. -- 
  58. lee@sq.com (Liam Quin) the barefoot programmer; SoftQuad Inc +1 416 239 4801
  59.  OPEN LOOK UI FAQ; Metafont list; HexSweeper NeWS game; lq-text text retrieval
  60. `VAX... 3 Times better than your average vacuum cleaner' 
  61.             (VAX Appliances Ltd. vacuum cleaner advertisement)
  62.