[FIX] TTCFontPixelSizeFix-nk

Yoshiki.Ohshima at acm.org Yoshiki.Ohshima at acm.org
Thu Jul 10 23:16:27 UTC 2003


  Ned,

> It looks like just making sure that pixelSize returns a float would be 
> OK. It's just Fractions that don't work well.
> 
> pixelSize
> 	"Make sure that we don't return a Fraction"
> 	^ pointSize * 96.0 / 72.0.

  Looks good.

> I don't think it's necessary to do this:
> 
> height
> 	"Make sure we return an Integer"
> 	^self pixelSize ceiling

  I guess not.

-- Yoshiki

  Ned, you don't look being stupid!



More information about the Squeak-dev mailing list