Hi Damien, ----- Original Message ----- From: "Damien Pollet" damien.pollet@gmail.com To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Monday, April 30, 2007 6:47 PM Subject: Re: [ANN] FreeType Plus release
On 30/04/07, Andrew Tween amtween@hotmail.com wrote:
Can you give an example of a font that is missing? If you could send the font file to me privately, that would be great.
It looks like it only sees fonts from /Library/Fonts (the machine-wide font directory) and not fonts I installed just for me in $HOME/Library/Fonts (I know, I know, I'm the only user on this machine :D )
Yes. The user fonts folder is excluded. (This will require some FFI calls, or a plugin function, to get the user fonts location from the OS). If you want to get access to these fonts, you could edit FreeTypeFontProvider>>getMacOSXFontFolderPaths so that it includes your user fonts path, then save, exit, and restart the image.
It seems it doesn't like PS type1 and OpenType fonts. Maybe this is a limitation of freetype ? For instance, Audimat, freely available at http://www.smeltery.net/ (sorry, crappy site, no direct URL)
The AUdimat otf fonts load ok on Windows. Did you see John's comment about using the 2.2.2c51 or later FT2Plugin? I wonder if that will solve the problem.
It should work ok without the BitBltPlugin. There is a bug somewhere there.
Do
you get a debugger at all? I am wondering what the error is that has caused
the
TextMorph to stop drawing.
The primitive fails in #copyBitsColor:alpha:gammaTable:ungammaTable: <primitive: 'primitiveCopyBits' module: 'BitBltPlugin'> Debug log attached.
Thanks. The log shows that it is failing with a zero width sourceForm.... Receiver's instance variables: destForm: DisplayScreen(1021x745x32) sourceForm: Form(0x1x32) This is when drawing the strikethrough line. So it should be easy to fix.
Also the contents of the menu are not always the same, not in the same order, or paginated differently (in the appearance > system fonts menus).
They should be in alphabetical order. And when you change a system font it should show you the currently selected
font
in blue. So it will 'jump' to the page that contains that font. If you are seeing something different, then a screenshot would be helpful.
OK, it does all this, but it puts the selected font on top of the page, so the page jumps appear at different places depending on which font is selected.
Yes. It's pretty horrid :) All the menus really need re-working to provide nice scrolling lists.
Cheers, Andy