Re: [Fonts]Re: Font lookup ranges [was Re: Notes on Pango Xft backend]



Owen Taylor wrote:
> ...
> Pango already has the language tagging mechanism; the question is
> how to use this to influence character lookup.
> 
>  a) Call FcFontSetSort() once, get a list, and then when finding
>     a (language-tag, codepoint) pair, look first for a font with
>     the language tag and the codepoint, then if that fails,
>     look for a font without the language tag with the codepoint.
> 
>     Problems:
> 
>      - ...
>      - I don't think we should ever fall back to a font that wasn't
>        explicitely specified (*), just for a want of a language
>        tag.

Please forgive me if I'm being slow but due to the triple negative
I am not clear what the last statement means (I did read the 
footnote). 

Does this say we should not try to find a fallback font if we do 
not have a language tag? 

Or perhaps does this say we should not look at fallback fonts where 
the language for the font is not specified?

Or perhaps does this mean that we should not fallback to a font
that was not specified just because we do not have a language
tag?

Would you kindly expound on this?

Brian Stell



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