[Fwd: Re: Request for review and advice on wqy-bitmap-fonts fontconfig settings]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Resending]
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759


--- Begin Message ---
On Thu, 2007-11-29 at 19:08 -0500, Qianqian Fang wrote:
> 
> For zh locales, in addition to the above problem, under monospace 
> (gnome-terminal),
> the Latin glyphs were rendered by the wqy bitmap glyphs. I expect
> those are rendered by Dejavu Sans Mono or Bitstream Sans Mono.

That's because gnome-terminal, unlike Pango, doesn't refine language
tags passed to fontconfig based on the input text.  That is, it always
asks fontconfig for fonts to render Chinese, even if the text is Latin.
Can be fixed in g-t for sure, but not a high prio.  It's impossible to
fix this with a fontconfig config.  That's what you pay when you put
multiple scripts in a single font.


> in either case, the output of
> FC_DEBUG=4 fc-match "monospace:lang=zh-cn:pixelsize=10px"
> always put wqy as the first one, this is not consistent with what
> Firefox actually displayed under en locales.

What do you mean "always"?  It's just one query.  Of course it prefers
wqy: you are asking for a Chinese font and your config files make it
prefer wqy for Chinese.

> Can any of you help me to find out how to get around these problems?


Got a question for you:  You said wqy is a fork of bitmaps from a
TrueType font.  Why not just contribute the bitmaps back to the original
font?

-- 
behdad
http://behdad.org/

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
_______________________________________________
Fedora-fonts-list mailing list
Fedora-fonts-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-fonts-list

[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux