initialize styleStrings with empty string instead of None's: this allows certain Apple fonts to be handled correctly.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@120 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
Just 2000-10-03 10:34:34 +00:00
parent 0f675860ce
commit dccbd3154b

View File

@ -380,7 +380,7 @@ class FontFamily:
for style, split in items:
if len(split) > 1:
numindices = numindices + 1
styleStrings = [self.ffFamilyName] + numindices * [None] + nameparts
styleStrings = [self.ffFamilyName] + numindices * [""] + nameparts
# XXX the next bit goes wrong for MM fonts.
for style, split in items:
if len(split) == 1: