Le Wed, May 29, 2002, à 10:06:22PM +0800, Zhang Lin-bo a écrit:
> How about adding properties such as "Bold", "Italic",
> etc.? That will allow to make better choices.
This is only a hack until we have Pango (and perhaps to keep if the Win32
platform lacks Pango).
In Pango, we can give it a font, a language and a character, and it will
tell us whether it has a very good glyph, an acceptable substitute, or tell
us to find a better font. One part of what I described (looping over a list
of fonts searching for a good match) can be kept, the other part (a facility
to tell whether a font is good at representing a given character in a given
language) is probably best kept ultra-simplistic and replaced by Pango ASAP.
Hans: is Pango happy on Win32, or is it out of the scope of gtk-win32 yet ?
> 1) Most of the hardcoded '-adobe- ...' X11 fonts are not
> available on my system and I have changed them all to
> '-urw- ...' ones. Though I could use font aliases
> instead for this issue, but since the urw fonts are
> recommended, it may be better to use them than relying
> on the '-adobe-...' fonts (or '-*-...'?).
Hmmm. I don't know; URW are the "standard" on XFree86 platforms; but Adobe
is the historical standard. My distro does include aliases, I think. It's
the first time I hear of this problem, and I don't want to break on
non-XFree86 (we already do often enough).
> 2) There're more fonts than can be listed in the font selection
> list, and there's no scrollbar, so I can not see/select
> fonts at the bottom of the list.
This fix should not go in before 0.90 is out (I don't consider this
critical), but it seems it should shortly afterwards. Be sure to ping me one
week after 0.90 is out (or better, record an enhancement bug with [PATCH] in
the subject)
-- Cyrille
--
Grumpf.