stead of rotated).
It also had similar viewing properties as the IText process
(ie. very slow rendering in Acrobat ... I think because it
lacks structure, and is truly a linear stream of primitive
graphics2D operations).
Back to P
to constructing an SVG DOM
and building its corresponding GVT tree.
In fact, painting the GVT tree to iText's PDFGraphics2D
is easily 20 times quicker than using PDFTranscoder.
I'm talking .5 secs of CPU time, versus 10 secs.
Is this consistent with the experience of others on this
list?
corresponding GVT tree.
In fact, painting the GVT tree to iText's PDFGraphics2D
is easily 20 times quicker than using PDFTranscoder.
I'm talking .5 secs of CPU time, versus 10 secs.
Is this consistent with the experience of others on this
list?
Although iText is quicker, it does not seem
Thomas DeWeese wrote:
I suspect the problem is the font size. Batik plays tricks
so it can handle small font sizes (less than 1 user space unit).
It appears that the FOP 'hack' for simple text doesn't handle this
case correctly.
The simplest fix is to not use such a small coordinate system
Thomas DeWeese wrote:
So we seem to have found some of the issue. On my machine
(Acrobat 5.0.5) testpdf_1.pdf and testpdf_2.pdf render essentially
the same. 'testpdf_1.pdf' doesn't look anything like your
'testpdf_1.bmp'. I'm not quite sure where to go from here, I am
not a real PDF special
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:
--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 s
onts[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. Mar
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 ar
Hi
Are the fonts in your PDF all correct? I mean is the used font the right
one? Whats about bold and italic?
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.
Regards
Hans
Mathias Kalb wrote:
I changed it but now I can not see the text in the pdf document.
Thomas DeWeese wrote:
I do this all the time, so example content that fails would
probably be useful, otherwise I don't know how to reproduce your
problem.
Here are examples:
Thanks I'll try and take a lo
Mathias Kalb wrote:
Thomas DeWeese wrote:
During testing I found out that if there is only one svg element which
has one opacity attribute (fill-opacity or stroke-opacity) with a value
between 0.0 and 1.0, the generated pdf document is incorrect (ALL colors
are wrong).
Do you see changes that
1-2 code values?
What do you mean with "1-2 code values"? Look at this screenshots (BMP)
which I made from the two pdf documents (viewed with Acrobat Reader
6.0).
Generated with PDFTranscoder from pdftranscoder.jar (Batik 1.5.1)
<http://www.prodato.de/temp/testpdf_1.bmp>
<http://
Mathias Kalb wrote:
Thomas DeWeese wrote:
So the cases with different colors are where you use opacity.
In general the differences are 1 code value (I did find one that
was 2 code values off)
During testing I found out that if there is only one svg element which
has one opacity attribute (fi
Thomas DeWeese wrote:
So the cases with different colors are where you use opacity.
In general the differences are 1 code value (I did find one that
was 2 code values off) Looking at them side to side I basically
couldn't tell they were different. Given the math involved in
handling opacity i
Mathias Kalb wrote:
Thomas DeWeese wrote:
pdftranscoder:
-the colors are a little different
I have not seen this, can you provide sample content?
Yes. These are the results which I saved with my program.
So the cases with different colors are where you use opacity.
In general the
Hi Mathias,
> No, I do not embed a JPEG in the PDF or in the SVG.
> My program generates SVG and can save it as SVG, JPG, PNG, TIFF and PDF.
>
If this is the case, and speed (of transcoding) isn't a huge priority, you may
want to consider using the iText libraries (http://itext.sf.net) to embed
Thomas DeWeese wrote:
pdftranscoder:
-the colors are a little different
I have not seen this, can you provide sample content?
Yes. These are the results which I saved with my program.
<http://www.prodato.de/temp/testpdf.svg>
Generated with JPEGTranscoder
<http://www.prodat
Mathias Kalb wrote:
Hello,
I use the PDFTranscoder to create a PDF document from SVG, but
the quality of the result is bad.
I tried it with the pdftranscoder.jar from Batik 1.5/1.5.1 and with
the fop.jar (FOP 0.20.5) and the results were different.
Yes, Batik ships with a newer version of the
Hello,
I use the PDFTranscoder to create a PDF document from SVG, but
the quality of the result is bad.
I tried it with the pdftranscoder.jar from Batik 1.5/1.5.1 and with
the fop.jar (FOP 0.20.5) and the results were different.
pdftranscoder:
-the colors are a little different
-the text has no
Steve Menard wrote:
I need to convert a SVG document to PDF. Easy enough using the
PDFTranscoder. However, I need the onload scripts to run. I am aware of the
KEY_EXECUTE_ONLOAD hint but that does not apply to PDF, only to subclasses
of SVGAbstractTranscoder. PDFTranscoder is not one of those.
I
Hello. I have looked through the FAQ and found a similar question related to
bitmap generation. Unfortunately the answer does not seem to apply to my
problem.
I need to convert a SVG document to PDF. Easy enough using the
PDFTranscoder. However, I need the onload scripts to run. I am aware of the
25 matches
Mail list logo