Hi,
How can I remove kerning pairs for vertical kerning?
with removeKerningForPair() , It’s not possible removing vertical kerning pairs.
Thanks in advance.
Hi,
How can I remove kerning pairs for vertical kerning?
with removeKerningForPair() , It’s not possible removing vertical kerning pairs.
Thanks in advance.
I added a direction
parameter. Will be available in the next beta. Until then use this:
def removeKerningForPair(font, FontMasterID, LeftKeringId, RightKerningId, direction=LTR):
if LeftKeringId[0] != '@':
try:
LeftKeringId = self.glyphs[LeftKeringId].id
except:
pass
if RightKerningId[0] != '@':
try:
RightKerningId = self.glyphs[RightKerningId].id
except:
pass
self.removeKerningForFontMasterID_LeftKey_RightKey_direction_(FontMasterID, LeftKeringId, RightKerningId, direction)
really appreciate your answer!
Thanks,