Hi,

At Thu, 26 Apr 2001 14:42:59 +0900,
Maxime Froment <[EMAIL PROTECTED]> wrote:

> This is one possibility indeed. Another one which avoids having to
> create new resource variables is to revert to having them fixed to
> some reasonable value (like say, 3 or 4 for font0_idx and 7 for
> nfonts), and define the runtime font size range dynamically depending
> of whether resource values are specified or not for respective
> indices. Undefining resource values when there exist hard-coded
> defaults should be allowed too (so that it is also possible to
> restrict the range).

Interesting.  Do you think it is possible to determine font0_idx
automatically by sorting the value of PIXEL_SIZE * AVERAGE_WIDTH ?

(font0_idx and nfonts are locale-dependent variable while MAX_NFONTS
is a compile-time-decided macro.)


> As far as I am concerned, your selection of default fonts is actually
> very appropriate. I was just using the example of gb encoding to point
> out the inconvenience of having font0_idx fixed to 0...

I see.  Thus, this is the same problem as the above one.

---
Tomohiro KUBOTA <[EMAIL PROTECTED]>
http://www.debian.or.jp/~kubota/
"Introduction to I18N"
http://www.debian.org/doc/manuals/intro-i18n/

Reply via email to