[XeTeX] XeTeX & sanskrit: which font
Jonathan Kew
jfkthame at googlemail.com
Wed Aug 15 13:09:33 CEST 2012
On 15/8/12 11:24, Zdenek Wagner wrote:
> 2012/8/15 Jonathan Kew <jfkthame at googlemail.com>:
>> On 15/8/12 10:48, Philip TAYLOR wrote:
>>>
>>>
>>>
>>> Zdenek Wagner wrote:
>>>
>>>> You can see demonstration on my page:
>>>>
>>>> http://hroch486.icpf.cas.cz/freefont-devanagari/
>>>
>>>
>>> What /should/ be seen here, Zdeněk ? As a non-Indologist, I may
>>> be missing something obvious (indeed, I probably am !), but I cannot
>>> see the difference in the two samples on my screen :
>>>
>>>> compare Sanskrit: शक्ति to Hindi: शक्ति (if everything works, you should
>>>> see the difference).
>>>
>>>
>>> Philip Taylor
>>>
>>
>> The CSS for that page is broken, and hence the fonts that are supposed to be
>> used do not actually load, at least in Firefox. (It doesn't look like Chrome
>> loads them either, though I only tested very briefly.)
>>
>> Specifically, the CSS includes rules such as
>>
> Thank you. However, now FreeSerif ceased to work. If I rely on
> FreeSerif installed on my computer, it works fine.
>
>> @font-face {
>> font-family: FreeSerif;
>> src: url('FreeSerif.eot');
>> src: url('FreeSerif.woff') format ('woff'),
>> url('FreeSerif.ttf') format ('truetype');
>> font-weight: normal;
>> font-style: normal;
>> }
You missed one case, in the FreeMono rule (at line 5 in fonts.css).
I'm not sure why the language-specific behavior in FreeSerif isn't
working in Firefox; I thought that was supported, but it appears to be
broken. Will try to investigate...
More information about the XeTeX
mailing list