font creation
improve font creation operator offer fixing common misspellings use glyphNamesToUnicode.txt table to generate name_to_glyph_d fix typos in code more consistent naming font_face -> face_name
This commit is contained in:
parent
6f71a8f4c4
commit
7c72dd54dc
4 changed files with 12374 additions and 23 deletions
|
@ -606,12 +606,12 @@ def set_text_on_curve(text_properties):
|
|||
glyph_id = c
|
||||
|
||||
glyph = Font.get_glyph(text_properties.font_name,
|
||||
text_properties.font_face,
|
||||
text_properties.face_name,
|
||||
glyph_id)
|
||||
|
||||
if glyph == None:
|
||||
# self.report({'ERROR'}, f"Glyph not found for {font_name} {font_face} {glyph_id}")
|
||||
print(f"Glyph not found for {text_properties.font_name} {text_properties.font_face} {glyph_id}")
|
||||
# self.report({'ERROR'}, f"Glyph not found for {font_name} {face_name} {glyph_id}")
|
||||
print(f"Glyph not found for {text_properties.font_name} {text_properties.face_name} {glyph_id}")
|
||||
continue
|
||||
|
||||
ob = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue