_processMathOne does not need factor processing. Copy/paste error.
git-svn-id: http://svn.robofab.com/trunk@59 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
This commit is contained in:
parent
380513b3c2
commit
a1c092af26
@ -345,15 +345,6 @@ class BasePostScriptFontHintValues(BasePostScriptHintValues):
|
|||||||
a = getattr(copied, name)
|
a = getattr(copied, name)
|
||||||
if hasattr(other, name):
|
if hasattr(other, name):
|
||||||
b = getattr(other, name)
|
b = getattr(other, name)
|
||||||
# handle isVertical factors:
|
|
||||||
# Values with vertical relevance should respond to vertical scalars.
|
|
||||||
# Values with horizontal relevance should respond to horizontal scalars.
|
|
||||||
isVertical = self._attributeNames[name]['isVertical']
|
|
||||||
if isinstance(factor, tuple):
|
|
||||||
if isVertical:
|
|
||||||
factor = factor[1]
|
|
||||||
else:
|
|
||||||
factor = factor[0]
|
|
||||||
if name in ['blueFuzz', 'blueScale', 'blueShift', 'forceBold']:
|
if name in ['blueFuzz', 'blueScale', 'blueShift', 'forceBold']:
|
||||||
# process single values
|
# process single values
|
||||||
if a is not None and b is not None:
|
if a is not None and b is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user