Comment #2 on issue 971 by tu...(a)tudorgirba.com: Using Athens fonts is dead
slow in Roassal
http://code.google.com/p/moose-technology/issues/detail?id=971
After the fix, the same code works in 5s. To be mentioned that
[10 to: 100 do: [ :x |
(LogicalFont familyName: 'Arial' pointSize: x)
widthOfString: 'test' ]] timeToRun
takes a bit less than 5s on my machine. Thus, essentially, the time spent
now on the rendering is only due to the first lookup of the fonts (no extra
lookup is performed). This is reasonable and it will get better once we get
a better caching at the Pharo level.
The cached font is reset on modelChanged:
I think this is a good enough solution.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings