Forgot to add bi info to sm_faces

This commit is contained in:
Kovid Goyal 2017-11-01 14:18:13 +05:30
parent b0bee2f1f3
commit 6501ee45b6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -34,9 +34,10 @@ def create_symbol_map(opts):
faces = []
for family in val.values():
if family not in family_map:
o = create_face(font_for_family(family))
font = font_for_family(family)
o = create_face(font)
family_map[family] = len(faces)
faces.append(o)
faces.append((o, font.bold, font.italic))
sm = tuple((a, b, family_map[f]) for (a, b), f in val.items())
return sm, tuple(faces)