summaryrefslogtreecommitdiff
path: root/fonts/xcharter/doc/altone.py
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/xcharter/doc/altone.py')
-rwxr-xr-xfonts/xcharter/doc/altone.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/fonts/xcharter/doc/altone.py b/fonts/xcharter/doc/altone.py
index 0f89240d09..d35e655692 100755
--- a/fonts/xcharter/doc/altone.py
+++ b/fonts/xcharter/doc/altone.py
@@ -15,9 +15,11 @@ t2aligs='''% LIGKERN hyphen hyphen =: endash ; endash hyphen =: emdash ;
encfiles=set()
enclst=[]
enclstt1=[]
+enclstts1=[]
enclstly1=[]
enclstot1=[]
encfilest1=set()
+encfilests1=set()
encfilesly1=set()
encfilesot1=set()
newlines=[]
@@ -34,8 +36,12 @@ with open(tmfv+"/fonts/map/dvips/xcharter/XCharter.map",'r') as f:
enclstly1.append(enc)
elif "-ot1-" in line:
enclstot1.append(enc)
- else:
+ elif "-t1-" in line:
enclstt1.append(enc)
+ elif "-ts1-" in line:
+ enclstts1.append(enc)
+ else:
+ continue
h=tmp[5][1:-4] # psfile, without .pfb or <
a=tmp[0][:-6] # name of vf
vflst.append(a)
@@ -43,6 +49,7 @@ with open(tmfv+"/fonts/map/dvips/xcharter/XCharter.map",'r') as f:
afmcmds.append(s)
encfilest1=set(enclstt1)
+encfilests1=set(enclstts1)
encfilesly1=set(enclstly1)
encfilesot1=set(enclstot1)
for f in sorted(encfilest1):
@@ -69,7 +76,7 @@ for f in sorted(encfilesly1):
with open(tmfv+"/fonts/map/dvips/xcharter/XCharter.map",'r') as f:
for line in f:
- if "-tosf-" in line:
+ if ("-tosf-" in line) or ("-ts1" in line):
tmp = line.split()
enc=tmp[4][2:]
if (enc[-4:]==".enc") and (enc[:4]=="xch_"):