> I seem to have trouble getting smooth fonts and smooth bumpmaps with
> true types under win 95 even with anti alias. Under Linux some of the
> fonts seem to scale and bump very smoothly.
I don't know if this posting is relevant to you, but it might be
interesting as background information about GIMP's text tool on Windows:
Currently in the GTK font selector (which the GIMP's text tool uses) the
preview field displays the text as smoothed automatically by the MS font
machinery. (Assuming you have installed the font smoothing add-on to
Win95. I think it is included by default in Win98, and certainly in
Win2000.) If you zoom in the preview field with spyxx or some similar
display tool (X11 users: think "xmag") you will notice this smoothing
works quite nicely.
However, the actual text that the GIMP uses after you click OK is
anti-aliased (smoothed) "manually" by the GIMP (this code is the same
both on X11 and Windows) by simply rendering the text at 3 times the
desired pixel dimensions, and averaging each destination pixel from 3*3
rendered pixels. The result is not nearly as good. (This is not
pro-Windows propaganda, it's just natural, as Windows has access to all
the hints and stuff for the font. Somebody correct me if I am wrong.)
I have considered to skip this "manual" anti-aliasing for Windows, and
simply use the better anti-aliasing that Windows already does. To work
well also on those machines where the MS font smoothing isn't installed
or turned off, probably the code should check whether the preview
contains any grey pixels before skipping its own anti-aliasing.
Quote:> PS: Tor is my hero for porting that critter to W95 !