[Fonts]Re: fontconfig and generic family names

2002-12-04 Thread Braden McDaniel
On Mon, 02 Dec 2002 23:51:44 +, Keith Packard wrote:

 
 Around 2 o'clock on Dec 3, Braden McDaniel wrote:
 
 I'm still stumped by this. I've condensed the problem to this C program:
 
 Fontconfig is still not easy enough to use.  Your example skipped two 
 required steps in matching fonts.  Try this instead:

[snip]

Ah, that's it. Thanks!

Braden



___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]zh-hk font support/priority in Xft

2002-12-04 Thread Keith Packard

Around 2 o'clock on Dec 5, Anthony Fok wrote:

 The PUA mapping is a distinguishing feature of a HKSCS font.

Hmm.  I removed these hoping that the remaining standard codepoints would
serve to correctly identify HKSCS fonts.  I'm not entirely sanguine about
using PUA codepoints in this way, but it appears we don't have a better 
option.

 $ fc-list :lang=zh-hk # It doesn't show all the fonts.  Strange.

That's a bug.  Fontconfig uses the OS/2 code page range bits to 
detect Han style preferences.  Fonts supporting only a single Han code 
page range bit (there are bits for Japanese, traditional Chinese, Korean 
and simplified Chinese) are not allowed to advertise support for other Han 
languages, even if they have sufficient support.  This ensures that 
GB18030 fonts aren't marked as supporting zh-TW, zh-HK and ja.

The DynaComware MingLiU_HKSCS is marked with the traditional Chinese bit 
which was mapped only to zh-TW, so it was not even checked for zh-HK 
support.

I've composed a patch that maps traditional Chinese to zh-HK, zh-MO and 
zh-TW and maps simplified Chinese to zh-CN and zh-SG.

By creating a new language hk, you bypassed this extra check.

I'll submit this patch along with the orthography update.

Keith PackardXFree86 Core TeamHP Cambridge Research Lab


___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]zh-hk font support/priority in Xft

2002-12-04 Thread Anthony Fok
Hello Keith,

Wow, you are really fast!  I didn't expect to receive a reply within
minutes, but yes, I am really grateful that you have been so responsive and
helpful.  :-)

On Wed, Dec 04, 2002 at 11:39:05AM -0800, Keith Packard wrote:
 
 Around 2 o'clock on Dec 5, Anthony Fok wrote:
 
  The PUA mapping is a distinguishing feature of a HKSCS font.
 
 Hmm.  I removed these hoping that the remaining standard codepoints would
 serve to correctly identify HKSCS fonts.  I'm not entirely sanguine about
 using PUA codepoints in this way, but it appears we don't have a better 
 option.

I see your point.  I guess the reason using PUA is safe in this case
because nearly all HKSCS fonts, at least within these few years, will
provide mapping to PUA as a fallback, especially for the 1650+
characters above U+2.  There are still too many software limited
within the BMP, especially for legacy systems like Windows 98.  ;-)

On the other hand, in the future, if a large CJK + CJK A + CJK B font
(without HKSCS compatibility PUA) comes along... Hmm... do the *.orth
support either or, say F308|2010C?  grin, duck, run  ;-)

Thanks again, and cheers,

Anthony

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   [EMAIL PROTECTED] http://www.thizlinux.com/
Debian Chinese Project [EMAIL PROTECTED]   http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!   http://www.olvc.ab.ca/
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]List archives?

2002-12-04 Thread Mark Leisher
Sorry if this has already been said, but I can't seem to dig up anything newer
than May of 2000.  Any pointers?  Am I just missing something simple (I hope)?
-
Mark Leisher
Computing Research LabBut blogging's political bias
New Mexico State University   is not so much left/right as
Box 30001, Dept. 3CRL anti-idiot.
Las Cruces, NM  88003  -- Glenn Reynolds
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]List archives?

2002-12-04 Thread Dmitry Yu. Bolkhovityanov
On Wed, 4 Dec 2002, Mark Leisher wrote:

 Sorry if this has already been said, but I can't seem to dig up anything newer
 than May of 2000.  Any pointers?  Am I just missing something simple (I hope)?

Mark, you are right -- the www.xfree86.org/pipermail/ had silently
disappeared, and no announcements were made at least here.

Keith, can you please clarify the situation?

_
  Dmitry Yu. Bolkhovityanov
  The Budker Institute of Nuclear Physics
  Novosibirsk, Russia

___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts