fixed style strings bug, as triggered by the Thorndale font.
git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@133 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
parent
32f868492c
commit
0d51707e72
@ -380,6 +380,7 @@ class FontFamily:
|
||||
for style, split in items:
|
||||
if len(split) > 1:
|
||||
numindices = numindices + 1
|
||||
numindices = max(numindices, max(self.styleIndices) - 1)
|
||||
styleStrings = [self.ffFamilyName] + numindices * [""] + nameparts
|
||||
# XXX the next bit goes wrong for MM fonts.
|
||||
for style, split in items:
|
||||
@ -468,7 +469,7 @@ def makeLWFNfilename(name):
|
||||
|
||||
class BitmapFontFile:
|
||||
|
||||
def __init__(self, path, mode = 'r'):
|
||||
def __init__(self, path, mode='r'):
|
||||
import macfs
|
||||
|
||||
if mode == 'r':
|
||||
|
Loading…
x
Reference in New Issue
Block a user