Article View: comp.fonts
Article #2713comp.fonts FAQ.6.Sun-Info
From: Norman Walsh
Date: Mon, 21 Jun 1993 13:19
Date: Mon, 21 Jun 1993 13:19
159 lines
7693 bytes
7693 bytes
Posted-By: auto-faq 2.4
Archive-name: fonts-faq/part8
Version: 1.4.1
Subject: Chapter 6
Sun Information
Subject: 6.1. Please help!
Someone mailed a file of Sun-related font tips. Unfortunately, I
cannot find the file. If you have any suggestion for this section
(or if you are the person that mailed me the other list), please
forward your suggestions to norm.
Subject: 6.2. Fonts Under Open Windows
The following information regarding fonts under Open Windows was
stolen from Liam R.E. Quim's <lee@sq.com> Open Windows FAQ. The
original author was Rick Heli <Rick.Heli@Eng.Sun.COM>.
Subject: 6.3. Does OpenWindows support Type 1 PostScript fonts?
Type 1 fonts are supported starting with the NeWSprint 2.0 and
Solaris 2.0 (OpenWindows 3.0.1) releases.
There are also 57 F3 format fonts supplied with OpenWindows which
are fully hinted. Documentation on the F3 font format and the F3
font interpreter, TypeScaler, is available from Sun.
The TypeScaler product is separately licensable from SunPics (the
printing arm of Sun Microsystems). If you're interested in
licensing this product, Rick Heli can put you in touch with
Marketing to work out the arrangements. TypeScaler does not appear
as a standalone portion of OpenWindows, though it is resident
within the X11/NeWS server.
Subject: 6.4. Improving font rendering time
Although the Sun type renderer (TypeScaler) is pretty fast, it's
not as fast as loading a bitmap. You can pre-generate bitmap fonts
for sizes that you use a lot, and you can also alter and access the
font cache parameters. If you have a lot of memory you might want
to increase the font cache size.
$ psh -i
Welcome to X11/NeWS Version3 <--- psh will say this at you
currentfontmem = % type this line ...
300 % and here's what my server was using -- 300 Kbytes
1024 setfontmem
% Just to check:
currentfontmem =
1024
See pp. 328ff of the NeWS 3.0 Programmer's Guide. You need to say
psh -i so that the PostScript packages are loaded - see the psh man
page.
Subject: 6.5. Making bitmap fonts for faster startup
Sun supports the F3 scalable outline format. These descriptions are
stored in .f3b files. The makeafb program is used to create a
bitmap font at a particular size which is stored in a .afb file,
which is an Adobe ASCII format for font bitmaps. X11/NeWS really
prefers a binary format though for speed and other reasons, so
convertfont is used to "compile" the font into a font binary or .fb
file.
Once this is done, X11/NeWS needs to understand the relationship
between the .f3b file and all the bitmaps which are based on it.
Thus, the bldfamily program makes these correlations and stores the
data in the font family or .ff file.
bldfamily also builds a global list of all fonts stored in the
working directory, writing the results out to the file
Families.list. If one wishes to create font aliases, these can be
added to the Synonyms.list file by hand and bldfamily will then add
them to Families.list for you. X11/NeWS uses Families.list to
construct the font list it advertises to applications.
To go from F3 to BDF, use makeafb to generate a bitmap font in .afb
format. Then use one of convertfont's many options to change to
this to .bdf format and from there it should be clear.
$ mkdir $HOME/myfonts
$ cd $HOME/myfonts
$ makeafb -20 -M $OPENWINHOME/lib/fonts/Bembo.f3b
Creating Bembo20.afb
$ convertfont -b Bembo20.afb
Bembo20.afb->./Bembo20.fb
Chars parameter greater than number of characters supplied.
$ ls
Bembo20.afb Bembo20.fb Synonyms.list
$ bldfamily
* Bembo ./Bembo.ff (Encoding: latin)
cat: ./Compat.list: No such file or directory
$ xset +fp `pwd`
$ xset fp rehash
If you want the server to see your new font directory every time,
add this directory to your FONTPATH environment variable in one of
your start-up files, e.g. .login or .profile.
Subject: 6.6. Converting between font formats (convertfont, etc.)
You can also use F3 fonts with an X11 server, by converting them to
a bitmap (X11 bdf format) first. Your license restricts use of
these fonts on another machine, and unless you have NeWSPrint you
shouldn't use them for printing. Having said all that... you can
use makeafb and convertfont to generate bdf files that you can
compile with bdftosnf or bdftopcf.
Use mftobdf (from the SeeTeX distribution) to convert TeX pk fonts
to X11 bdf format, which you can then use with either X11 or
OenWindows.
Subject: 6.7. Xview/OLIT fonts at 100 dpi
There aren't any. More precisely, the various text fonts, such as
Lucida Typewriter Sans, are available at 100 dpi, and in fact are
scalable under OpenWindows. The glyph fonts are bitmaps, and don't
scale very well.
Subject: 6.8. Where can I order F3 fonts for NeWSprint and OpenWindows?
600 F3 fonts are available for unlocking from Printer's Palette, a
CD available with NeWSprint 2.0.
In addition, F3 fonts are available from the following sources:
Linotype AG Linotype Company
Mergenthaler Allee 55-75 425 Oser Avenue
6236 Eschborn Germany Hauppague, NY 11788
49/(61 96) 4031 (800) 336-0045
FAX 011/49/6196-982185 FAX 516-434-2055
attn: F3 Font Production attn: F3 Font Production
Monotype Plc. Monotype Typography
Salfords Redhill RH1 5JP 53 W. Jackson Boulevard Suite 504
England Chicago, IL 60604
44/(737) 765959 (800) 666-6893
FAX 011/44/737-769243 FAX (312) 939-0378
attn: F3 Font Production attn: F3 Font Production
U R W U R W
Harksheider Strasse 102 One Tara Boulevard Suite 210
D2000 Hamburg Germany Nashua, NH 03062
49/(40) 606050 (603) 882-7445
49/(40) 60605148 (603) 882-7210
attn: F3 Font Production attn: F3 Font Production
Bigelow & Holmes Autologic
P. O. Box 1299 1050 Rancho Conejo Boulevard
Menlo Park, CA 94026 Newbury Park, CA 91320
415/326-8973 (800)235-1843, or (805)498-9611 in CA
FAX (415) 326-8065 FAX (805) 499-1167
attn: F3 Font Production attn: F3 Font Production
Technical Details
Message-ID:
<fonts-faq-8-740668866@cs.umass.edu>Path:
arc1-ca.pugleaf.net!senator-bedfellow.mit.edu!enterpoop.mit.edu!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!noc.near.net!nic.umass.edu!ymir.cs.umass.edu!ymir.cs.umass.edu!usenetReferences:
<fonts-faq-1-740668866@cs.umass.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!senator-bedfellow.mit.edu!enterpoop.mit.edu!spool.mu.edu!uwm.edu!ux1.cso.uiuc.edu!howland.reston.ans.net!noc.near.net!nic.umass.edu!ymir.cs.umass.edu!ymir.cs.umass.edu!usenet
From: walsh@cs.umass.edu (Norman Walsh)
Newsgroups: comp.fonts,comp.answers,news.answers
Subject: comp.fonts FAQ.6.Sun-Info
Followup-To: poster
Date: 21 Jun 1993 13:19:16 GMT
Organization: Dept of Comp and Info Sci, Univ of Mass (Amherst)
Lines: 160
Approved: news-answers-request@MIT.Edu
Distribution: world
Message-ID: <fonts-faq-8-740668866@cs.umass.edu>
References: <fonts-faq-1-740668866@cs.umass.edu>
Reply-To: walsh@cs.umass.edu (Norman Walsh)
NNTP-Posting-Host: ibis.cs.umass.edu
Summary: This posting answers frequently asked questions about fonts.
It addresses both general font questions and questions that
are specific to a particular platform.