On 9/5/2008 11:21 AM, Hussein Shafie wrote:
> Starting from XXE v3.8 (support of MathML), this
> restriction:
>
> ---
> font-family is expected to contain serif, sans-serif or monospace.
> Example: "|font-family: Helvetica, Arial, sans-serif;|".
> ---
>
> has been removed. I've tested that with font-family:"Charis SIL"; (and
> also with font-family:"Comic Sans MS"; to have a more striking effect).
>
> The bug is that we forgot to document this enhancement. This will be
> done in next release.
>   

Great!  Thanks, Hussein.  Using version 3.8.0, I was able to get a 
single font to work just fine.  For example:
    font-family: 'Charis SIL';
Note that the quotes were essential to getting it to work.

If I tried to make this use several fonts (in the case the first font is 
missing, say), then I was not able to figure out the syntax to make it 
still work.  For example, none of the following worked:
    font-family: 'Charis SIL', 'Arial Unicode MS', sans-serif;
    font-family: "'Charis SIL', 'Arial Unicode MS', sans-serif";
    font-family: "'Charis SIL', 'Arial Unicode MS', 'sans-serif'";
    font-family: "'Charis SIL','Arial Unicode MS',sans-serif";  /* no 
space after comma */
    font-family: 'Charis SIL','Arial Unicode MS',sans-serif;  /* no 
space after comma */

What am I doing wrong?

Thanks.

--Andy

Reply via email to