I've been tinkering with Squeak in my spare time and having a whale of a time learning Smalltalk and watching the little mouse and such. I guess I'm probably not the first person to say that the default fonts are horrible. Is it possible to add new, scalable fonts ? Has anybody done any work on antialised fonts ? And what's the state of unicode support in Squeak. I think everything I've looked at so far is stored in ASCII.
Greg
Just to start load the TTF fonts support in SqueakMap (look at all the package not only for Sq3.5) You can start to have fun with the comic font. I did all my presentations with that and I like the fact that we can edit everything.
By the way: Is it a bug or a features that when we mix text with comics Aliased and non aliased ttf text the rest of the text change color and gets in crazy color?
Stef
On Thursday, May 29, 2003, at 08:45 AM, Greg Hamilton wrote:
I've been tinkering with Squeak in my spare time and having a whale of a time learning Smalltalk and watching the little mouse and such. I guess I'm probably not the first person to say that the default fonts are horrible. Is it possible to add new, scalable fonts ? Has anybody done any work on antialised fonts ? And what's the state of unicode support in Squeak. I think everything I've looked at so far is stored in ASCII.
Greg
Stephane,
By the way: Is it a bug or a features that when we mix text with comics Aliased and non aliased ttf text the rest of the text change color and gets in crazy color?
It is a bug, and it is fixed. Modify GrafPort>>installStrikeFont:... with the following.
-- Yoshiki
------------------------ installStrikeFont: aStrikeFont foregroundColor: foregroundColor backgroundColor: backgroundColor super installStrikeFont: aStrikeFont foregroundColor: foregroundColor backgroundColor: backgroundColor. alpha _ foregroundColor privateAlpha. alpha = 255 ifFalse:[ combinationRule = Form paint ifTrue:[combinationRule _ 31] ifFalse:[combinationRule _ 30]. ].
------------------------
It is a bug, and it is fixed. Modify GrafPort>>installStrikeFont:... with the following.
Hi Yoshiki
Thanks will this bug fix be incorporated in the next release of your package?
Stef
-- Yoshiki
installStrikeFont: aStrikeFont foregroundColor: foregroundColor backgroundColor: backgroundColor super installStrikeFont: aStrikeFont foregroundColor: foregroundColor backgroundColor: backgroundColor. alpha _ foregroundColor privateAlpha. alpha = 255 ifFalse:[ combinationRule = Form paint ifTrue:[combinationRule _ 31] ifFalse:[combinationRule _ 30]. ].
Stephane,
Thanks will this bug fix be incorporated in the next release of your package?
How could I possibly say that it is not going to be? :-)? Ned gave me some fix that relates to the NativeFontPlugin, also I did some experiment to read the glyph data from file on demand, rather than holding the entire thing in memory. Those changes are going to make up the next version.
-- Yoshiki
On Tuesday, June 3, 2003, at 03:19 AM, Yoshiki.Ohshima@acm.org wrote:
Stephane,
Thanks will this bug fix be incorporated in the next release of your package?
How could I possibly say that it is not going to be? :-)? Ned gave me some fix that relates to the NativeFontPlugin, also I did some experiment to read the glyph data from file on demand, rather than holding the entire thing in memory. Those changes are going to make up the next version.
-- Yoshiki
Perfect. I just wanted to know. Do you keep a log of was is been fixed. This is important for end-users of a package to know that kind of information.
Stef
Greg Hamilton gregh@object-craft.com.au wrote:
I've been tinkering with Squeak in my spare time and having a whale of a time learning Smalltalk and watching the little mouse and such. I guess I'm probably not the first person to say that the default fonts are horrible.
Not so horrible in my opinion, unhinted TTF at small sizes looks worse. I agree however that the default fonts are not suitable for high-resolution screens.
Is it possible to add new, scalable fonts ? Has anybody done any work on antialised fonts ?
Stephane gave you the right hint. Note that there are two different packages: * One (Squeak multilingualization, written by Yoshiki Ohshima) that reads a TTF file and creates antialiased glyphs. This is 100 % Squeak and works on all platforms. * One (Win32NativeFonts, written by Andreas Raab) that uses a plugin and the font machinery of Windows. The glyph creation is left to Windows, and Windows gives you hinted glyphs. This is a very nice idea but it is restricted to Windows.
At May, 2nd, Arjen van Elteren a.vanelteren@chello.nl wrote:
Hi,
Some time ago I wrote a plugin to talk to the freetype 2 library. I've
been playing with it on and off (I like to have nice fonts in squeak but I don't like most font issues like advance etc.). As Bitstream has published the Vera font family I decided to clean up and publish my effort, it's available at http://minnow.cc.gatech.edu/squeak/3192. The package comes with prebuild library's for linux (3.4-devel1 and 3.5-devel1 both work on my system) and one ttf font for testing.
High-lights;
- Anti-aliasing
- Low mem usages (font is stored in 8 bit form not 32 bit)
- Works with colors (like red on blue etc).
Low-lights;
- No bold or italics support
- No real knowledge of font-familys
- Not Unicode
Arjen van Elteren
I did not try that, but it is perhaps a thing that Linux users should look at.
And what's the state of unicode support in Squeak. I think everything I've looked at so far is stored in ASCII.
Not strictly ASCII - it's MacIntosh Roman. Unicode will come - no question about that. I think that in two years from now we will have it. Yoshiki Ohshima has published his ideas and an alfa version of his work. I have experimented with a different approach to implement Unicode support, but it is still unpublished. From June 22th to June 28th I will participate in CampSmalltalk 6 (http://wiki.cs.uiuc.edu/CampSmalltalk/CS6) (in Gronau, Germany). This would be a wonderful occasion to discuss Unicode support and font issues in detail. Is there any interest in such a project? (you know, work at CampSmalltalk is organized in projects.) We can still set up a project like "fonts and Unicode" I would be delighted to participate in such a project. Who else?
Greetings, Boris
"Boris Gaertner" Boris.Gaertner@gmx.net wrote:
- One (Win32NativeFonts, written by Andreas Raab) that uses a plugin and the font machinery of Windows. The glyph creation is left to Windows, and Windows gives you hinted glyphs. This is a very nice idea but it is restricted to Windows.
Not quite accurate; it is _effectively_ windows only for since that is the only platform that a plugin has been built for. Andreas states that it ought to be quite easy to build plugins for any platform and there is no reason as yet to doubt him.
tim
squeak-dev@lists.squeakfoundation.org