home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / text / tex / 14868 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  2.0 KB

  1. Path: sparky!uunet!newsstand.cit.cornell.edu!newsstand.cit.cornell.edu!usenet
  2. From: Tim Larkin <tsl1@cornell.edu>
  3. Newsgroups: comp.text.tex
  4. Subject: Using FONTAT in a Virtual Font.
  5. Date: 12 Jan 1993 16:02:09 GMT
  6. Organization: Cornell University
  7. Lines: 41
  8. Sender: tsl1@cornell.edu (Verified)
  9. Distribution: world
  10. Message-ID: <1iuq21INNgjn@newsstand.cit.cornell.edu>
  11. NNTP-Posting-Host: 128.253.27.134
  12. X-UserAgent: Nuntius v1.1.1d7
  13. X-XXDate: Tue, 12 Jan 93 16:09:18 GMT
  14.  
  15. I am trying to create a virtual font which will mimic the style of 
  16. Manutius's editions of the classic poets. These use italic as the main 
  17. body face. However, for capitals (e.g. at the beginnings of lines) he 
  18. uses roman letters. And not just romans, but romans just a bit 
  19. shorter than a lower case i.
  20.  
  21. So I create a virtual font, starting off with the VPL for the italic
  22. font, 
  23. and declaring an additional font (say FONT 1) with the roman shapes. I
  24. use 
  25. FONTAT to reduce the size. So I end up with something like this: 
  26.  
  27. (MAPFONT D 1 (FONTNAME myromanfont) (FONTAT D 800))
  28.  
  29. Then I cut the CHARACTER declarations from the roman VPL file and 
  30. paste them into the new file, replacing the declarations for the 
  31. italic capitals. I add to each declaration, after the properties 
  32. giving the character dimensions, a command to set the 
  33. character, something like this:
  34.  
  35. (CHARACTER C G (CHARWD ...) ... (MAP (SELECTFONT D 1) (SETCHAR C G)))
  36.  
  37. The result approaches close to what I want. I get the roman character at 
  38. the appropriate size; however, the character bounding box has the 
  39. dimensions of the unscaled roman character. That is, the dimensions 
  40. (CHARWD, CHARHT, CHARDP, CHARIC) have not been reduced, only the actual, 
  41. printed size of the character. As a result, a large gap appears between 
  42. each roman capital and the following character. 
  43.  
  44. Now of course I could reduce the dimensions explicitly. Besides being a 
  45. pain, this would obstruct easy alterations to the ratio between the 
  46. italic and roman characters. 
  47.  
  48. What do I do?
  49.  
  50. Tim Larkin
  51. Federal Nutrition Laboratory
  52. Tower Road
  53. Ithaca, New York
  54. tsl1@cornell.edu
  55. 607-255-7008
  56.