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
- 46 Introductions
- 3.9K Typeface Design
- 482 Type Design Critiques
- 559 Type Design Software
- 1.1K Type Design Technique & Theory
- 648 Type Business
- 843 Font Technology
- 29 Punchcutting
- 517 Typography
- 119 Type Education
- 321 Type History
- 77 Type Resources
- 110 Lettering and Calligraphy
- 31 Lettering Critiques
- 79 Lettering Technique & Theory
- 541 Announcements
- 88 Events
- 112 Job Postings
- 168 Type Releases
- 172 Miscellaneous News
- 275 About TypeDrawers
- 53 TypeDrawers Announcements
- 120 Suggestions and Bug Reports