Fixes broken italic (oblique) styles. The issue was that component decomposition did not happen in the correct order for some glyphs
This commit is contained in:
parent
cf49a3ba7e
commit
65a7e98c76
3 changed files with 11 additions and 9 deletions
|
|
@ -31,7 +31,8 @@ class InstanceNames:
|
|||
designerURL = ""
|
||||
license = ""
|
||||
licenseURL = ""
|
||||
|
||||
italicAngle = -12
|
||||
|
||||
def __init__(self,names):
|
||||
if type(names) == type(" "):
|
||||
names = names.split("/")
|
||||
|
|
@ -90,7 +91,7 @@ class InstanceNames:
|
|||
f.info.macintoshFONDName = re.sub(' ','',self.longfamily) + " " + re.sub(' ','',self.longstyle)
|
||||
f.info.postscriptFontName = f.info.macintoshFONDName.replace(" ", "-")
|
||||
if self.italic:
|
||||
f.info.italicAngle = -12.0
|
||||
f.info.italicAngle = self.italicAngle
|
||||
|
||||
|
||||
def setFLNames(self,flFont):
|
||||
|
|
|
|||
Reference in a new issue