[EMAIL PROTECTED] wrote:
Hi Lukasz,
"Lukasz Matuszczak" <[EMAIL PROTECTED]> wrote on 01/24/2006
11:48:55 AM:
When I define svg font with the same name as some system font, the
latter is always used.
Not for me. I suspect you are doing something wrong in your font
definition. You might post an example or snippit (font & font-face
element
tags + text element/CSS).
I used samples/tests/spec/fonts/fontExternalFont.svg and I changed 'font-family'
of 'font-face' and 'text' tag to 'Arial' - the system font is used. If I change
font-family to 'Arial2', svg font is used.
Can I change somehow this behavior in svg document or by setting
some properties in batik?
The SVG font wins for me. Try playing with the
samples/strokeFont.svg example. Change one of the text elements to
use an 'odd' installed font, reload the canvas - should use the
selected font. Then change the font-family on one of the stroke font
instances and presto chango
when you reload the file it will switch back to the stroke font.
Strange but in this example everything works like you said.
Also what svg spec says about this font priorities. Should system or svg font
have higher priority?
Regards,
Lukasz Matuszczak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]