arz 2004 13:34
> An: Batik Users
> Betreff: Re: AW: AW: AW: PDFTranscoder
>
>
> Hans Stoessel wrote:
>
> > OK. In the attachment you find my SVG file.
>
> This is the problem. You shouldn't use:
>
> font-family="'Arial-BoldItalicMT'&
Hans Stoessel wrote:
OK. In the attachment you find my SVG file.
This is the problem. You shouldn't use:
font-family="'Arial-BoldItalicMT'" font-size="18"
You should use:
font-family="'Arial'" font-weight="bold" font-style="italic"
font-size="18"
When I do this I get the proper font
And here is the generated JPG. Neither bold nor italic...
Thanks for the help
Regards
Hans
<>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: Thomas DeWeese [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 10. Marz 2004 12:00
> An: Batik Users
> Betreff: Re: AW: AW: PDFTranscoder
>
>
> Hi Hans,
>
> What you get from getAllFonts() is sort of 'prototype' fonts.
> You should be able to call:
Hi Hans,
What you get from getAllFonts() is sort of 'prototype' fonts.
You should be able to call: 'fonts[i].deriveFont(Font.BOLD)' to
get a bold version of the font (assuming there is a bold version).
Batik actually uses a more advanced mechanism to get derived
fonts by using the Map of att
Hi Thomas
Maybe its really a problem with the fonts. I have copied all ttf fonts from
the C:\WINNT\Fonts (my windows directory) to
C:\Programme\Java\J2SDK1.3.1_07\jre\lib\fonts (my java directory).
I read all the fonts with:
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironmen