Hi Gary, ----- Original Message ----- From: "Gary Chambers" gazzaguru2@btinternet.com To: "'The general-purpose Squeak developers list'" squeak-dev@lists.squeakfoundation.org Sent: Friday, May 04, 2007 8:22 PM Subject: RE: [ANN] FreeType Plus release
Great work Andy, was going to have to go through the pain of integrating host OS fonts myself!
Like Damien Pollet, however, I too have noticed a discrpenacy in point sizes.
Finally the point sizes are not consistent with the ones in Cocoa apps. An
8pt font in Squeak looks like its 10pt version in Cocoa.
For instance, a 36pt 'BitStream Vera Sans' looks more like a 32pt BitStreamVeraSans (original Squeak font). Not sure if this is the old fonts being incorrectly sized though!
I think that the scaling for TTCFont glyphs is incorrectly calculated. (the unitsPerEm is ignored; instead, the ascender and descender are used to calculate the scaling factor).
I've attached a modified method which brings the size of TTCFont glyphs into line with the FreeType glyphs. I haven't given it much testing though.
Keep up the good work, you're making many people very happy!
Cheers, Andy