Mantis - Squeak
Viewing Issue Advanced Details
3355 Multilingual major always 03-25-06 17:03 03-28-06 20:29
jpierce  
MarcusDenker  
normal  
closed 3.9  
fixed  
none    
none 3.9  
0003355: [BUG] Fresh 3.9a image (build 7020) has text morphs in objects window wrong size
On a clean image in 3.9a build 7020, if you open the Objects menu and pull out a text morph from the Basic category, the bottom half of the text morph is cut-off. Autofit is turned on, yet the fit is not correct.
 TTCFont-fix-ascent-jrp.1.cs.gz [^] (358 bytes) 03-27-06 20:59

Notes
(0004572)
jpierce   
03-25-06 20:20   
Appears to be a problem with TTCFonts and not StrikeFonts. So for instance, the BitstreamVeraSans font of point size 24 will indicate that its ascent is only 13 vs. a StrikeFont of point size 24 will indicate its ascent is 24. I think this might be a clue.
(0004573)
jpierce   
03-25-06 20:44   
Appears TTCFont had an instance variable called ascent in October of 2005. This instance variable is missing now and the method "ascent" is really mad about this as it is trying to reference the instance variable and probably is doing something more dastardly.
(0004574)
jpierce   
03-25-06 22:28   
The fix is to add the "ascent" instance variable to the TTCFont class.
(0004582)
MarcusDenker   
03-27-06 22:55   
to be added in the next version
(0004588)
MarcusDenker   
03-28-06 20:29   
in 7021