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.getLocalGraphicsEnvironment(); Font[] fonts = ge.getAllFonts(); If I have a look to all this fonts there is no bold or italic font. There are fonts like "Courier New Negreta cursiva" who should be bold and italic. But if I have a look with "fonts[i].isBold()", "fonts[i].isItalic()" or "fonts[i].getStyle()" there is always "false" for bold and italic and "0" for the style. I don't know why. Maybe you have an idea? Thanks Hans > -----Ursprungliche Nachricht----- > Von: Thomas DeWeese [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 9. Marz 2004 19:08 > An: Batik Users > Betreff: Re: AW: PDFTranscoder > > > Hans Stoessel wrote: > > > Are the fonts in your PDF all correct? I mean is the used font the right > > one? Whats about bold and italic? > > There shouldn't be a problem with bold and italic. I know I > use them all the time without a problem. > > > I also convert SVG files into WMF, PDF and JPG. And the fonts are not > > correct. Sometimes the wrong font is used, bold and italic are never > > correct. > > It sounds to me like you are using fonts (and/or font styles) that > Java/Batik can't locate. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]