Thread View: comp.sys.sgi.graphics
2 messages
2 total messages
Started by John H. Chauvin
Sat, 12 Dec 1992 16:25
IRIS Font Manager: font scaling
Author: John H. Chauvin
Date: Sat, 12 Dec 1992 16:25
Date: Sat, 12 Dec 1992 16:25
22 lines
1436 bytes
1436 bytes
Can someone tell me if the IRIS font manager is able to scale a font to a size which is not available, in the same way that PostScript does? For example, the font courier roman is available in the following sizes:8,10,12,14,16,18,20,24,32 as defined in the font directory /usr/lib/fmfonts. Is it possible to obtain sizes 11,13,15,and 19? The man page for fmscalefont says "If you request a size for which there is no font, the Font Library routines choose the font that matches closest but is not larger than the requested size." This does not sound like font scaling to me. This is the exact behavior I am experiencing in a gl program I am using. A font size of 15 points using courier looks like 14 points. But another man page on fmscalefont says "Its functionality parallels the scalefont operator of PostScript." A font defined to be 15 points using PostScript is definitely larger than 14 points. Font Confused jchauvin@netcom.com -- John H. Chauvin jchauvin@netcom.COM Netcom - Online Communication Services San Jose, CA
Re: IRIS Font Manager: font scaling
Author: Tom Benoist
Date: Sat, 12 Dec 1992 23:25
Date: Sat, 12 Dec 1992 23:25
38 lines
2285 bytes
2285 bytes
In article <1992Dec12.162528.24924@netcom.com> jchauvin@netcom.com (John H. Chauvin) writes:
>Can someone tell me if the IRIS font manager is able to scale a font to
>a size which is not available, in the same way that PostScript does?
>For example, the font courier roman is available in the following
>sizes:8,10,12,14,16,18,20,24,32 as defined in the font directory
>/usr/lib/fmfonts. Is it possible to obtain sizes 11,13,15,and 19? The man
>page for fmscalefont says "If you request a size for which there is no
>font, the Font Library routines choose the font that matches closest but
>is not larger than the requested size." This does not sound like font
>scaling to me. This is the exact behavior I am experiencing in a gl
>program I am using. A font size of 15 points using courier looks like 14
>points. But another man page on fmscalefont says "Its functionality
>parallels the scalefont operator of PostScript." A font defined to be 15
>points using PostScript is definitely larger than 14 points.
>
>Font Confused
>
>
>jchauvin@netcom.com
>
If you are running 4.05 or later, fonts which have poscript outline files in
/usr/lib/DPS/outline/base will be scaled correctly with fmscalefont.
From 4.05 Release Notes (EOE #12 Fonts)
o In previous releases, the IRIS FM used only bitmap font
files. The IRIS FM now uses bitmap font files, outline
font files in the Adobe Type 1 format, or both for a
given typeface. The IRIS FM scales a bitmap font when
it cannot use an outline font and it cannot find a
bitmap font of the right size. The IRIS FM looks for
Type 1 outline fonts in the directory
/usr/lib/DPS/outline/base.
-Tom Benoist
benoist@netcom.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads