Working with Font Classes in FontLab Studio Using Python

Tim Rolands
Posts: 12
Has anyone out here written python to add and remove classes in FontLab Studio? Or know of somewhere this has been done successfully? The "classes" property of the font is supposed to be a list of strings, but I cannot seem to append new strings. Any examples would be much appreciated!
0
Comments
-
I did find one way that works. I can make a copy of the font.classes list, modify that list and then replace font.classes with my modified list. Doesn't seem an elegant way of accomplishing the desired results, but it does work.0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 815 Font Technology
- 1.1K Technique and Theory
- 630 Type Business
- 450 Type Design Critiques
- 548 Type Design Software
- 30 Punchcutting
- 137 Lettering and Calligraphy
- 84 Technique and Theory
- 53 Lettering Critiques
- 497 Typography
- 307 History of Typography
- 116 Education
- 74 Resources
- 510 Announcements
- 82 Events
- 107 Job Postings
- 154 Type Releases
- 166 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports