Re: improvement of font selection

2006-03-29 Thread Behdad Esfahbod
On Wed, 29 Mar 2006, Petr Tomasek wrote: But not everyone is capable of creating his own fonts.conf! As this is a developer list, we are not talking about users creating this file directly. From my experience, the problem is that many time a font is choosen for particular unicode block, that

Re: improvement of font selection

2006-03-29 Thread Petr Tomasek
So IMHO the right way for font selection would be (unless specified otherway in the fonts.conf of course) to try to select the font (for particular unicode block) that covers this block best. In fact, I prefer the other way around. If there are two fonts A and B, A supports the entire

Re: improvement of font selection

2006-03-27 Thread Behdad Esfahbod
On Mon, 27 Mar 2006, Kenichi Handa wrote: Unfortunately, AFAIK, fonts.conf doesn't allow per-script (or per-language) settings, and we can't say some font is broken or not without specifying a script or language. I keep hearing this (this is the third time in the past couple of months), but I

Re: improvement of font selection

2006-03-27 Thread Kenichi Handa
In article [EMAIL PROTECTED], Behdad Esfahbod [EMAIL PROTECTED] writes: On Mon, 27 Mar 2006, Kenichi Handa wrote: Unfortunately, AFAIK, fonts.conf doesn't allow per-script (or per-language) settings, and we can't say some font is broken or not without specifying a script or language. I keep

Re: improvement of font selection

2006-03-24 Thread Owen Taylor
On Thu, 2006-03-23 at 14:24 +0900, Kenichi Handa wrote: Hi, thank you for the response. In article [EMAIL PROTECTED], Owen Taylor [EMAIL PROTECTED] writes: The problem is fontconfig ... since we ask fontconfig to trim the results when calling FcFontSort(), only one Japanese (say) font

Re: improvement of font selection

2006-03-22 Thread Owen Taylor
On Mon, 2006-03-13 at 16:38 +0900, Kenichi Handa wrote: Hi, I'd like to suggest the attached patch to pango/pango-context.c. Pango's shaper engine (struct _PangoEngineShapeClass) can have a callback function covers, but it seems that it is not utilized that much. In the function

Re: improvement of font selection

2006-03-22 Thread Kenichi Handa
Hi, thank you for the response. In article [EMAIL PROTECTED], Owen Taylor [EMAIL PROTECTED] writes: The problem is fontconfig ... since we ask fontconfig to trim the results when calling FcFontSort(), only one Japanese (say) font will be returned. If there is another Japanese font further

Re: improvement of font selection

2006-03-14 Thread Kenichi Handa
In article [EMAIL PROTECTED], Behdad Esfahbod [EMAIL PROTECTED] writes: I am curious what made you to write the patch originally. What problems does it solve for you. For instance, to display Tamil, I'd like to use akruti1b.ttf font which have a proper OTF tables for Tamil, but I also have

Re: improvement of font selection

2006-03-14 Thread Behdad Esfahbod
On Tue, 14 Mar 2006, Kenichi Handa wrote: In article [EMAIL PROTECTED], Behdad Esfahbod [EMAIL PROTECTED] writes: I am curious what made you to write the patch originally. What problems does it solve for you. For instance, to display Tamil, I'd like to use akruti1b.ttf font which have a

Re: improvement of font selection

2006-03-13 Thread Behdad Esfahbod
Hello, I filed your request as a bug here: http://bugzilla.gnome.org/show_bug.cgi?id=334392 Can you add yourself to the bug CC and also comment there about what uses you see for this patch? Thanks behdad On Mon, 13 Mar 2006, Kenichi Handa wrote: Hi, I'd like to suggest the attached

improvement of font selection

2006-03-12 Thread Kenichi Handa
Hi, I'd like to suggest the attached patch to pango/pango-context.c. Pango's shaper engine (struct _PangoEngineShapeClass) can have a callback function covers, but it seems that it is not utilized that much. In the function get_shaper_and_font_foreach(), the return value of (PangoCoverageLevel)