Debian Codegraph @

texmf-dist/source/fonts/fpl/TeXPalladioL-BoldItalicOsF.pe

raw
1 #!/usr/bin/env fontforge
2 # Time-stamp: <2005-02-11 13:16:41 ralf>
3 # Copyright 2004, 2005 Ralf Stubner
4 # See the file COPYING (GNU General Public License) for license
5 # conditions.
6
7 Open("uplbi8a.pfb");
8 # proper setup with names etc
9 fontname="TeXPalladioL-BoldItalicOsF";
10 fontfamily="TeX Palladio L";
11 fullname="TeX Palladio L Bold Italic Old Style Figures";
12 copyright=$copyright+", Copyright 2004, 2005 Ralf Stubner.";
13 copyright=AddGPL(copyright);
14 copyright=AddException(copyright);
15 fontversion="1.003";
16
17 SetFontNames(fontname,fontfamily,fullname,"",copyright,fontversion);
18 # No UniqueID (needs recent ff to work properly)
19 SetUniqueID(-1);
20 # use OtherSubrs from URW (needs recent ff to work properly)
21 ReadOtherSubrsFile("URW-OtherSubrs.ps");
22
23 # copy OsF and SC
24 Select("zero","nine");
25 Clear();
26 MergeFonts("Palladio-BoldItalicOsF.sfd");
27
28 # underscore
29 Select("underscore");
30 Scale(100,116,0,0);
31 Move(0,-15);
32
33 # emdash
34 Select("emdash");
35 Scale(75,100,0,0);
36 Move(125,0);
37 SetWidth(1000);
38 RoundToInt();
39
40 # kerning
41 RemoveAllKerns();
42 MergeKern("pplbi9d-kern.afm");
43
44 # hinting
45 ChangePrivateEntry("StemSnapV","[114 138]");
46
47 Save("TeXPalladioL-BoldItalicOsF.sfd");
48 # generte Type1, scale generate TTF
49 Generate("fplbij8a.pfb","",3);
50 # ScaleToEm(2048);
51 # Generate("fplbij8a.ttf","",0x80);
52
53 Quit(0);
54