[Squeakfoundation]re: TrueType font support and 3.6
Tim Rowledge
tim at sumeru.stanford.edu
Fri Jun 20 21:40:47 CEST 2003
Ned Konz <ned at bike-nomad.com> wrote:
> Try this to see how fast your machine renders the characters:
>
> string := String withAll: ((Character value: 0) to: (Character value:
> 255)).
> TTCFont recreateCache.
> time := (Time millisecondsToRun: [ TTCFont allInstancesDo: [ :f | f
> widthOfString: string ]]) / TTCFont allInstances size.
> time := time / 256.0.
27.9 :-(
tim
--
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Fractured Idiom:- VENI, VIDI, VICE - I came, I saw, I partied.
More information about the Squeakfoundation
mailing list