#4604 NORM Future : Font not preserved on project save/reload

Zarro Boogs per Child bugtracker at laptop.org
Tue Dec 4 02:54:29 EST 2007


#4604: Font not preserved on project save/reload
-----------------------------+----------------------------------------------
  Reporter:  lukego          |       Owner:  etoys                            
      Type:  defect          |      Status:  new                              
  Priority:  normal          |   Milestone:  Future Release                   
 Component:  etoys-activity  |     Version:  Development build as of this date
Resolution:                  |    Keywords:                                   
  Verified:  0               |  
-----------------------------+----------------------------------------------

Comment(by lukego):

 Workaround: Evaluate 'TTCFont registerAll' after installing the font and
 creating a TextMorph that uses the font. This workaround is fine for me!

 The problem as I see it is that drag-and-drop font installation doesn't do
 sufficient registration because TTCFont>>familyName:pointSize:emphasis:
 won't find the font.

 The "project load/save" symptom is because the reference to the font is
 serialized as a DiskProxy that will call
 TTCFont>>familyName:pointSize:emphasis: at loading time and fail to find
 the font.

-- 
Ticket URL: <http://dev.laptop.org/ticket/4604#comment:9>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list