Mantis - Squeak
Viewing Issue Advanced Details
6089 TrueType minor always 02-15-07 08:11 09-11-08 17:49
Keith_Hodges  
andreas  
normal  
closed 3.9  
fixed  
none    
none 3.10  
0006089: TTF Cache Speedup
This is the TTF cache speedup fix as submitted to squeak-dev


http://lists.squeakfoundation.org/pipermail/squeak-dev/2006-November/111338.html [^]
 TTFSpeedUp-dgd.1.cs [^] (7,678 bytes) 02-15-07 08:11
 TTFSpeedUp-dgd.2.cs [^] (7,687 bytes) 07-16-07 13:21

Notes
(0009826)
Keith_Hodges   
02-15-07 08:12   
"fix begin"
Installer mantis bug:6089 fix:'TTFSpeedUp-dgd.1.cs'.
"fix end"

(0010677)
edgardec   
05-08-07 14:43   
I copy the original code of Diego
text :=
    ('Hello World\' withCRs asText addAttribute: TextColor red),
     ('Hello World\' withCRs asText addAttribute: TextColor green),
     ('Hello World\' withCRs asText addAttribute: TextColor blue).
 text addAttribute: (TextFontReference toFont:
     ((TextStyle named: 'BitstreamVeraSans') fontOfSize: 24)).
 morph := TextMorph new contentsAsIs: text.
 form := Form extent: morph fullBounds extent depth: 32.
Transcript cr; show: (
    [1 to: 1000 do:[:i| morph fullDrawOn: form getCanvas]] timeToRun
 ).
On my Mac and 3.10 7092 time = 11617
3.10 7093 time = 728
Now this is 7093TTFSpeedUp.cs and is on the updates

(0012635)
KenCausey   
09-11-08 17:49   
Harvested in update 7093 and released with 3.10

[edit: corrected update number s/7092/7093/]