home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / fonts-faq / part8 < prev    next >
Internet Message Format  |  1993-09-22  |  8KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news.kei.com!sol.ctr.columbia.edu!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!caen!nic.umass.edu!ymir.cs.umass.edu!ymir.cs.umass.edu!usenet
  2. From: walsh@cs.umass.edu (Norman Walsh)
  3. Newsgroups: comp.fonts,news.answers
  4. Subject: comp.fonts FAQ: Sun Info
  5. Supersedes: <font-faq-8_748294975@cs.umass.edu>
  6. Followup-To: poster
  7. Date: 22 Sep 1993 15:12:11 GMT
  8. Organization: Dept. of Computer Science, Univ. of Mass (Amherst)
  9. Lines: 149
  10. Approved: news-answers-request@MIT.Edu
  11. Distribution: world
  12. Expires: 5 Nov 1993 15:10:25 GMT
  13. Message-ID: <font-faq-8_748710625@cs.umass.edu>
  14. References: <font-faq-1_748710625@cs.umass.edu>
  15. Reply-To: walsh@cs.umass.edu (Norman Walsh)
  16. NNTP-Posting-Host: ibis.cs.umass.edu
  17. Summary: This posting answers frequently asked questions about fonts.
  18.          It addresses both general font questions and questions that
  19.          are specific to a particular platform.
  20. Xref: senator-bedfellow.mit.edu comp.fonts:10178 news.answers:12793
  21.  
  22. Archive-name: fonts-faq/part8
  23. Version: 2.0.2
  24.  
  25. Subject: 6. Sun Information
  26.   
  27.   Someone mailed a file of Sun-related font tips.  Unfortunately, I cannot
  28.   find the file.  If you have any suggestion for this section (or if you
  29.   are the person that mailed me the other list), please forward your
  30.   suggestions to norm.
  31.   
  32. Subject: 6.1. Fonts Under Open Windows
  33.   
  34.   The following information regarding fonts under Open Windows was stolen
  35.   from Liam R.E. Quin's Open Windows FAQ.  The original author was Rick
  36.   Heli.
  37.   
  38. Subject: 6.1.1. Does OpenWindows support Type 1 PostScript fonts?
  39.   
  40.   Type 1 fonts are supported starting with the NeWSprint 2.0 and Solaris
  41.   2.0 (OpenWindows 3.0.1) releases.
  42.   
  43.   There are also 57 F3 format fonts supplied with OpenWindows which are
  44.   fully hinted.  Documentation on the F3 font format and the F3 font
  45.   interpreter, TypeScaler, is available from Sun.
  46.   
  47.   The TypeScaler product is separately licensable from SunPics (the
  48.   printing arm of Sun Microsystems).  If you're interested in licensing
  49.   this product, Rick Heli can put you in touch with Marketing to work out
  50.   the arrangements.  TypeScaler does not appear as a standalone portion
  51.   of OpenWindows, though it is resident within the X11/NeWS server.
  52.   
  53. Subject: 6.1.2. Improving font rendering time
  54.   
  55.   Although the Sun type renderer (TypeScaler) is pretty fast, it's not as
  56.   fast as loading a bitmap.  You can pre-generate bitmap fonts for sizes
  57.   that you use a lot, and you can also alter and access the font cache
  58.   parameters.     If you have a lot of memory you might want to
  59.   increase the font cache size.
  60.   
  61.            $ psh -i
  62.            Welcome to X11/NeWS Version3      <--- psh will say this at you
  63.            currentfontmem =                  % type this line ...
  64.            300                                  % ... my server was using 300 Kbytes
  65.            1024 setfontmem
  66.                                              % Just to check:
  67.            currentfontmem =
  68.            1024
  69.   
  70.   See pp. 328ff of the NeWS 3.0 Programmer's Guide.  You need to say psh
  71.   -i so that the PostScript packages are loaded - see the psh man page.
  72.   
  73. Subject: 6.1.3. Making bitmap fonts for faster startup
  74.   
  75.   Sun supports the F3 scalable outline format.  These descriptions are
  76.   stored in .f3b files.  The makeafb program is used to create a bitmap
  77.   font at a particular size which is stored in a .afb file, which is an
  78.   Adobe ASCII format for font bitmaps.  X11/NeWS really prefers a binary
  79.   format though for speed and other reasons, so convertfont is used to
  80.   "compile" the font into a font binary or .fb file.
  81.   
  82.   Once this is done, X11/NeWS needs to understand the relationship between
  83.   the .f3b file and all the bitmaps which are based on it.  Thus, the
  84.   bldfamily program makes these correlations and stores the data in the
  85.   font family or .ff file.
  86.   
  87.   bldfamily also builds a global list of all fonts stored in the working
  88.   directory, writing the results out to the file Families.list.  If one
  89.   wishes to create font aliases, these can be added to the Synonyms.list
  90.   file by hand and bldfamily will then add them to Families.list for you.
  91.   X11/NeWS uses Families.list to construct the font list it advertises
  92.   to applications.
  93.   
  94.   To go from F3 to BDF, use makeafb to generate a bitmap font in .afb
  95.   format.  Then use one of convertfont's many options to change to this
  96.   to .bdf format and from there it should be clear.
  97.   
  98.          $ mkdir $HOME/myfonts
  99.          $ cd $HOME/myfonts
  100.          $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  101.          Creating Bembo20.afb
  102.          $ convertfont -b Bembo20.afb
  103.          Bembo20.afb->./Bembo20.fb
  104.          Chars parameter greater than number of characters supplied.
  105.          $ ls
  106.          Bembo20.afb   Bembo20.fb      Synonyms.list
  107.          $ bldfamily
  108.          * Bembo                      ./Bembo.ff (Encoding: latin)
  109.          cat: ./Compat.list: No such file or directory
  110.          $ xset +fp `pwd`
  111.          $ xset fp rehash
  112.   
  113.   If you want the server to see your new font directory every time, add
  114.   this directory to your FONTPATH environment variable in one of your
  115.   start-up files, e.g. .login or .profile.
  116.   
  117. Subject: 6.1.4. Converting between font formats (convertfont, etc.)
  118.   
  119.   You can also use F3 fonts with an X11 server, by converting them to a
  120.   bitmap (X11 bdf format) first.  Your license restricts use of these
  121.   fonts on another machine, and unless you have NeWSPrint you shouldn't
  122.   use them for printing.  Having said all that...  you can use makeafb
  123.   and convertfont to generate bdf files that you can compile with
  124.   bdftosnf or bdftopcf.
  125.   
  126.   Use mftobdf (from the SeeTeX distribution) to convert TeX PK fonts to
  127.   X11 BDF format, which you can then use with either X11 or OpenWindows.
  128.   
  129. Subject: 6.1.5. Xview/OLIT fonts at 100 dpi
  130.   
  131.   There aren't any.  More precisely, the various text fonts, such as
  132.   Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  133.   scalable under OpenWindows.  The glyph fonts are bitmaps, and don't
  134.   scale very well.
  135.   
  136. Subject: 6.2. Where can I order F3 fonts for NeWSprint and OpenWindows?
  137.   
  138.   600 F3 fonts are available for unlocking from Printer's Palette, a CD
  139.   available with NeWSprint 2.0.
  140.   
  141.   In addition, F3 fonts are available from the following sources:
  142.   
  143.          Linotype AG                     Linotype Company
  144.          Mergenthaler Allee 55-75        425 Oser Avenue
  145.          6236 Eschborn Germany           Hauppague, NY  11788
  146.          49/(61 96) 4031                    (800) 336-0045
  147.          FAX 011/49/6196-982185          FAX 516-434-2055
  148.          attn: F3 Font Production        attn: F3 Font Production
  149.        
  150.          Monotype Plc.                   Monotype Typography
  151.          Salfords Redhill RH1 5JP        53 W. Jackson Boulevard Suite 504
  152.          England                         Chicago, IL  60604
  153.          44/(737) 765959                 (800) 666-6893
  154.          FAX 011/44/737-769243           FAX (312) 939-0378
  155.          attn: F3 Font Production        attn: F3 Font Production
  156.        
  157.          U R W                           U R W
  158.          Harksheider Strasse 102         One Tara Boulevard Suite 210
  159.          D2000 Hamburg Germany           Nashua, NH  03062
  160.          49/(40) 606050                  (603) 882-7445
  161.          49/(40) 60605148                (603) 882-7210
  162.          attn: F3 Font Production        attn: F3 Font Production
  163.        
  164.          Bigelow & Holmes                Autologic
  165.          P. O. Box 1299                  1050 Rancho Conejo Boulevard
  166.          Menlo Park, CA  94026           Newbury Park, CA  91320
  167.          415/326-8973                    (800)235-1843, or (805)498-9611 in CA
  168.          FAX (415) 326-8065              FAX (805) 499-1167
  169.          attn: F3 Font Production        attn: F3 Font Production
  170.   
  171.