home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / fonts-faq / part11 < prev    next >
Encoding:
Internet Message Format  |  1996-08-15  |  7.9 KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!news.mathworks.com!zombie.ncsc.mil!newsgate.duke.edu!news-feed-1.peachnet.edu!paperboy.wellfleet.com!news3.near.net!amber.ora.com!not-for-mail
  2. From: norm@ora.com (Norman Walsh)
  3. Newsgroups: comp.fonts,comp.answers,news.answers
  4. Subject: comp.fonts FAQ: Sun Info
  5. Supersedes: <font-faq-11_817479312@ora.com>
  6. Followup-To: poster
  7. Date: 14 Aug 1996 10:35:06 -0400
  8. Organization: O'Reilly and Associates, Inc.
  9. Lines: 153
  10. Sender: norm@ruby.ora.com
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: world
  13. Expires: 27 Sep 1996 14:34:08 GMT
  14. Message-ID: <font-faq-11_840033248@ora.com>
  15. References: <font-faq-1_840033248@ora.com>
  16. Reply-To: norm@ora.com (Norman Walsh)
  17. NNTP-Posting-Host: ruby.ora.com
  18. Summary: This posting answers frequently asked questions about fonts.
  19.          It addresses both general font questions and questions that
  20.          are specific to a particular platform.
  21. X-Web-Homepage: http://www.ora.com/homepages/comp.fonts/
  22. Xref: senator-bedfellow.mit.edu comp.fonts:48307 comp.answers:20521 news.answers:79242
  23.  
  24. Archive-name: fonts-faq/part11
  25. Version: 2.1.5
  26.  
  27. Subject: 6. Sun Information
  28.   
  29.   Someone mailed a file of Sun-related font tips.  Unfortunately, I cannot
  30.   find the file.  If you have any suggestion for this section (or if you
  31.   are the person that mailed me the other list), please forward your
  32.   suggestions to norm.
  33.   
  34.   [ Note: much of this information is obsolete, based on the
  35.   SunOS4/Solaris2.1 server.  The Solaris 2.3 and later servers are based
  36.   on the standard X11R5 server but with Display PostScript added, so you
  37.   can do Type 1 in the "normal" way (fontdir+mkpsres) ]
  38.   
  39. Subject: 6.1. Fonts Under Open Windows
  40.   
  41.   The following information regarding fonts under Open Windows was donated
  42.   by Liam R.E. Quin from the Open Windows FAQ.
  43.   
  44. Subject: 6.1.1. Does OpenWindows support Type 1 PostScript fonts?
  45.   
  46.   Type 1 fonts are supported starting with the NeWSprint 2.0 and Solaris
  47.   2.0 (OpenWindows 3.0.1) releases.
  48.   
  49.   There are also 57 F3 format fonts supplied with OpenWindows which are
  50.   fully hinted.  Documentation on the F3 font format and the F3 font
  51.   interpreter, TypeScaler, is available from Sun.
  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 increase
  59.   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.   You could also add the following line to your $HOME/.openwin-init file
  74.   to perform this task every time you start OpenWindows:
  75.   
  76.          echo 1024 setfontmem | psh -i > /dev/null 1>&2
  77.   
  78. Subject: 6.1.3. Making bitmap fonts for faster startup
  79.   
  80.   Sun supports the F3 scalable outline format.  These descriptions are
  81.   stored in .f3b files.  The makeafb program is used to create a bitmap
  82.   font at a particular size which is stored in a .afb file, which is an
  83.   Adobe ASCII format for font bitmaps.  X11/NeWS really prefers a binary
  84.   format though for speed and other reasons, so convertfont is used to
  85.   "compile" the font into a font binary or .fb file.
  86.   
  87.   Once this is done, X11/NeWS needs to understand the relationship between
  88.   the .f3b file and all the bitmaps which are based on it.  Thus, the
  89.   bldfamily program makes these correlations and stores the data in the
  90.   font family or .ff file.
  91.   
  92.   bldfamily also builds a global list of all fonts stored in the working
  93.   directory, writing the results out to the file Families.list.  If one
  94.   wishes to create font aliases, these can be added to the Synonyms.list
  95.   file by hand and bldfamily will then add them to Families.list for you.
  96.   X11/NeWS uses Families.list to construct the font list it advertises
  97.   to applications.
  98.   
  99.   To go from F3 to BDF, use makeafb to generate a bitmap font in .afb
  100.   format.  Then use one of convertfont's many options to change to this
  101.   to .bdf format and from there it should be clear.
  102.   
  103.          $ mkdir $HOME/myfonts
  104.          $ cd $HOME/myfonts
  105.          $ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
  106.          Creating Bembo20.afb
  107.          $ convertfont -b Bembo20.afb
  108.          Bembo20.afb->./Bembo20.fb
  109.          Chars parameter greater than number of characters supplied.
  110.          $ ls
  111.          Bembo20.afb   Bembo20.fb      Synonyms.list
  112.          $ bldfamily
  113.          * Bembo                      ./Bembo.ff (Encoding: latin)
  114.          cat: ./Compat.list: No such file or directory
  115.          $ xset +fp `pwd`
  116.          $ xset fp rehash
  117.   
  118.   If you want the server to see your new font directory every time, add
  119.   this directory to your FONTPATH environment variable in one of your
  120.   start-up files, e.g. .login or .profile.
  121.   
  122. Subject: 6.1.4. Converting between font formats (convertfont, etc.)
  123.   
  124.   You can also use F3 fonts with an X11 server, by converting them to a
  125.   bitmap (X11 bdf format) first.  Your license restricts use of these
  126.   fonts on another machine, and unless you have NeWSPrint you shouldn't
  127.   use them for printing.  Having said all that...  you can use makeafb
  128.   and convertfont to generate bdf files that you can compile with
  129.   bdftosnf or bdftopcf.
  130.   
  131.   Use mftobdf (from the SeeTeX distribution) to convert TeX PK fonts to
  132.   X11 BDF format, which you can then use with either X11 or OpenWindows.
  133.   
  134. Subject: 6.1.5. Xview/OLIT fonts at 100 dpi
  135.   
  136.   There aren't any.  More precisely, the various text fonts, such as
  137.   Lucida Typewriter Sans, are available at 100 dpi, and in fact are
  138.   scalable under OpenWindows.  The glyph fonts used to be bitmaps, which
  139.   don't scale very well, but starting with OpenWindows 3.2, the OpenLook
  140.   UI glyph fonts are provided in scalable format as well.
  141.   
  142. Subject: 6.2. Where can I order F3 fonts for NeWSprint and OpenWindows?
  143.   
  144.   600 F3 fonts are available for unlocking from Printer's Palette, a CD
  145.   available with NeWSprint 2.0.
  146.   
  147.   In addition, F3 fonts are available from the following sources:
  148.   
  149.          Linotype AG                     Linotype Company
  150.          Mergenthaler Allee 55-75        425 Oser Avenue
  151.          6236 Eschborn Germany           Hauppague, NY  11788
  152.          49/(61 96) 4031                    (800) 336-0045
  153.          FAX 011/49/6196-982185          FAX 516-434-2055
  154.          attn: F3 Font Production        attn: F3 Font Production
  155.        
  156.          Monotype Plc.                   Monotype Typography
  157.          Salfords Redhill RH1 5JP        53 W. Jackson Boulevard Suite 504
  158.          England                         Chicago, IL  60604
  159.          44/(737) 765959                 (800) 666-6893
  160.          FAX 011/44/737-769243           FAX (312) 939-0378
  161.          attn: F3 Font Production        attn: F3 Font Production
  162.        
  163.          U R W                           U R W
  164.          Harksheider Strasse 102         One Tara Boulevard Suite 210
  165.          D2000 Hamburg Germany           Nashua, NH  03062
  166.          49/(40) 606050                  (603) 882-7445
  167.          49/(40) 60605148                (603) 882-7210
  168.          attn: F3 Font Production        attn: F3 Font Production
  169.        
  170.          Bigelow & Holmes                Autologic
  171.          P. O. Box 1299                  1050 Rancho Conejo Boulevard
  172.          Menlo Park, CA  94026           Newbury Park, CA  91320
  173.          415/326-8973                    (800)235-1843, or (805)498-9611 in CA
  174.          FAX (415) 326-8065              FAX (805) 499-1167
  175.          attn: F3 Font Production        attn: F3 Font Production
  176.   
  177.