Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!netnews.upenn.edu!grad2.cis.upenn.edu!meuchen From: meuchen@grad2.cis.upenn.edu (Paul Eric Menchen) Newsgroups: comp.fonts Subject: Re: Adobe Type 1 font file sizes Summary: Why Obliques take up more memory Message-ID: <29076@netnews.upenn.edu> Date: 2 Sep 90 01:02:08 GMT Sender: news@netnews.upenn.edu Reply-To: meuchen@grad1.cis.upenn.edu (Paul Eric Menchen) Organization: University of Pennsylvania Lines: 70 In article <66_%&L#@rpi.edu> kibo@pawl.rpi.edu (James 'Kibo' Parry) writes: >[] > I'm looking at the sizes of the outline font files that came >with Adobe Type Manager 1.2 (Macintosh)... > > Courier 28,686 bytes > Courier Bold 29,721 > Courier Oblique 35,010 > Courier BoldOblique 36,915 > > Helvetica 27,866 > Helv. Bold 28,162 > Helv. Oblique 33,990 > Helv. BoldOblique 34,677 > > The question is, why are the oblique font files 20 to 25 percent >larger than the non-oblique files? > > The only explanation I could think of is that maybe Adobe is >clever and has a command defined that's a "lineto-same-x-coordinate" >that takes one parameter, so non-oblique fonts could use the shorthand >for their vertical strokes... but this is speculation, of course. ... Someone responded that obliques were based on the base Roman typeface and were therefore smaller. He or she (don't remember) missed the boat entirely. The Obliques are larger, and there is a reason. I will try to shed some light on this. First, even though the Obliques do not involve changes one would associate with an italic, they are not encoded as just "look up Roman 'a' and slant 15%." Apparently this takes up too much time, and instead the character forms are all slanted 15% (or whatever, depending on the face) and then the Adobe Type 1 encoding is done. I am not a PostScript guru, but as I read the Fontographer 3.1.x update which produces Adobe Type 1 fonts among other things, I did read that the encryption/compression works better for tangent points and bezier points which are at 90 degree angles. I don't remember the details and the manual is at work, but I guess if you have a straight and either horizontal or verticle line that connects to a curve and the corresponding bcp of the curve lies along the line some special compression takes place. This also may be true for single curves which have bcp's either horizontally or vertically aligned from the endpoints. Thus Roman characters with many horizontal and verticle lines and horizontally and vertically aligned bcp's can be compressed more than Oblique characters. +++++****X** +++++*****X*** *** + *** + * +** +* +* +* * * * * * X X * * *'s are the outline; + the Bezier control lines; X's the endpoints The Roman character on the left can be better encrypted because of its verticle stroke which connects to a bezier curve with verticle aligned bcp. Better sources of info than me would be the Adobe black & white book and the Fontographer 3.0 manual and 3.1 update in particular. I did discuss this with a tech person at Altsys as well in reference to the "Would it be better to create a composite that references the original and just slant it 15% question." They were pretty helpful. Paul Eric Menchen meuchen@grad1.cis.upenn.edu