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
- 44 Introductions
- 3.8K Typeface Design
- 817 Font Technology
- 1.1K Technique and Theory
- 635 Type Business
- 451 Type Design Critiques
- 549 Type Design Software
- 30 Punchcutting
- 139 Lettering and Calligraphy
- 86 Technique and Theory
- 53 Lettering Critiques
- 500 Typography
- 309 History of Typography
- 117 Education
- 74 Resources
- 520 Announcements
- 84 Events
- 107 Job Postings
- 160 Type Releases
- 168 Miscellaneous News
- 271 About TypeDrawers
- 53 TypeDrawers Announcements
- 117 Suggestions and Bug Reports