Re: @font-face and unicode-range

Hi Michel,

> The problem though occurs with the Inherited and Common sets, although
> they are required for many writing systems, you would not expect a font
> to contain all of them. In fact you would only expect a subset required
> to support the other scripts specified by a given font.

I was thinking to apply this after resolving inherited and common 
scripts, so that it is not necessary to declare them explicitly with the 
unicode-range descriptor. For example:

@font-face {
     font-family: MyChineseFont;
     src: local("AR PL KaitiM GB");
     unicode-range: Han

<span style="font-family: MyChineseFont">foo "太好了!" bar</span>

In this case the punctuation around the Chinese text would use the 
Chinese font, while the Latin text would fall back to another font.

This would seem to make it easier to support a script plus related 
common characters, and additional Unicode ranges can also be specified 
if a particular font requires it.

Best regards,


Print XML with Prince!

Received on Wednesday, 3 June 2009 05:34:53 UTC