Re: Font fallback for non-latin unicode chars

2011-05-13 Thread Paul Flo Williams
Martin Langhoff wrote:
 When you open a page with Armenian characters such as
 http://en.wikipedia.org/wiki/Armenian_language the font server (or
 perhaps xulrunner) digs around to find a font that has that codepoint.
 Often it's just one font in your system that can provide it (so if you
 ask for it to be styled in serif, sans, monospace... it's always the
 same).

 Is there a way to query (or see a log) that describes what font has
 been used? Or a means to query what fonts supply unicode codepoint N?

Fedora uses language provides on fonts, so you can see which scripts are
supported in your currently-installed fonts:

rpm -q --whatprovides 'font(:lang=hy)'

or in fonts you may not have installed:

yum whatprovides 'font(:lang=hy)'

-- 
Paul Flo Williams
http://hisdeedsaredust.com/category/fonts/feed

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


Re: Font fallback for non-latin unicode chars

2011-05-13 Thread Nicolas Mailhot


Le Jeu 12 mai 2011 23:17, Martin Langhoff a écrit :

 Is there a way to query (or see a log) that describes what font has
 been used? Or a means to query what fonts supply unicode codepoint N?

Right clicking on a glyph in gucharmap will tell you the actual font used for
drawing in replacement of the font selected in the interface. Though dejavu
includes some Armenian support IIRC, and that's probably the font you're
seing.

-- 
Nicolas Mailhot


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Font fallback for non-latin unicode chars

2011-05-13 Thread Nicolas Mailhot


Le Ven 13 mai 2011 15:43, Nicolas Mailhot a écrit :

 Le Jeu 12 mai 2011 23:17, Martin Langhoff a écrit :

 Is there a way to query (or see a log) that describes what font has
 been used? Or a means to query what fonts supply unicode codepoint N?

 Right clicking on a glyph in gucharmap will tell you the actual font used for
 drawing in replacement of the font selected in the interface. Though dejavu
 includes some Armenian support IIRC, and that's probably the font you're
 seing.

(also, if you only care about the browser, you may see non-local web fonts
pulled via css rules ; but they don't help for the rest of the system)

-- 
Nicolas Mailhot


-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Font fallback for non-latin unicode chars

2011-05-12 Thread Martin Langhoff
When you open a page with Armenian characters such as
http://en.wikipedia.org/wiki/Armenian_language the font server (or
perhaps xulrunner) digs around to find a font that has that codepoint.
Often it's just one font in your system that can provide it (so if you
ask for it to be styled in serif, sans, monospace... it's always the
same).

Is there a way to query (or see a log) that describes what font has
been used? Or a means to query what fonts supply unicode codepoint N?

Background: Current default Fedora desktop install has the right fonts
for that page. OLPC's image trims things aggressively to fit in a tiny
disk, so our current img doesn't include the right font. I am
preparing a custom img for Armenian users, so trying to find... what
font it is I am missing.

I can bisect the delta if it gets to that... faster methods sought ;-)

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel