blob: 52a17d8a081c47bef9d1469e5a52bba089a3ddb4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/usr/bin/fontforge -lang=ff
#LoadNamelist("ybd-t1.nam")
LoadNamelist("ybd.nam")
#dlig="'dlig' Discretionary Ligatures in Latin lookup 36"
#liga="'liga' Standard Ligatures in Latin lookup 33"
#liga2="'liga' Standard Ligatures in Latin lookup 34"
#ligas="'liga' Standard Ligatures in Latin lookup 33 subtable"
#liga2s="'liga' Standard Ligatures in Latin lookup 34 subtable"
i = 1
while ( i < $argc )
Open($argv[i])
RenameGlyphs("ybd")
# looks=GetLookups("GSUB")
# MergeLookups(liga,liga2)
# MergeLookupSubtables(ligas,liga2s)
# LookupStoreLigatureInAfm(liga,1)
# LookupStoreLigatureInAfm(dlig,1)
Generate($argv[i]:r + ".pfb","",-1)
# Generate($argv[i]:r + ".pfb","",0x10000)
i = i+1
endloop
# vim: set nospell:
|