jawknee / coLab

coLab Project
0 stars 0 forks source link

Redo font class #22

Open jawknee opened 10 years ago

jawknee commented 10 years ago

Besides caplitalizing the font class name in clutil.py - It should make use of some of the code in fontimagemaker and walk the font tree, building a dictionary of font-names the corresponding full path.

Since this will be a bit expensive, should consider putting this into the top level class so it is loaded once at init and can be reference anywhere.

jawknee commented 10 years ago

Most recent checkin implements most of this - need to change from a file name index to a font name index and find a way to only instantiate the class once per run (though it's really fast).