Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
SVG Rendering in PDF
kosta
Hello BIRT community,
i figured out that PDF output isn't same as PDF output.
Trying to export a chart as SVG is rendered differently using the BIRT Report Design and the BIRT API. The BIRT API renders the SVG correctly I would say as vector graphics, and the exports from the BIRT Report Design as bitmaps. I have also tested export after the web viewer. It shows the Chars as bitmap graphics, same as exporting directly from the Report Designer.
Is this behavior so or do I make something wrong?
The difference can be seen from the attachments. Try to zoom in.
Second question is: The only example about creating custom items "Rotated Text" is rendered as bitmap image. Can I make custom items where the items are rendered in the PDF like in vector graphics (chart_example_API.pdf) and not bitmaps (chart_example_RD_direct_export.pdf)? If yes how?
Thanks in advance.
Find more posts tagged with
Comments
mwilliams
Hi Kosta,
What version of BIRT are you using? I believe this is how PDF has displayed images since the beginning. Not sure if there have been changes to the most recent versions. If you're using the most recent version of BIRT and this is still how it works from the web viewer, you could probably modify the PDF emitter to work how you'd like it.
kosta
Thank you for your answer Mr. Williams.
All I wanted with this topic is to mention that the functionality is already implemented in the BIRT API but somehow it doesn't work in the Report Designer Export knowing that the sources/plug-ins should be the same for both versions (BIRT API and BIRT Report Designer).
And I need the information about the second question as well. It would be nice to know if is possibly to make items that can be rendered as SVG and how.
I am using BIRT 2.6.1.
Thanks.
qos
Hi Kosta,
Using BIRT 3.7.0 RC3 here.
I have a report that includes a chart (3D bars + text) and the PDF is correctly generated using SVG both straight from the Designer or by exporting in webviewer. Please see attached files.
If that is still a problem for you, upgrading to 3.7.0 should solve it.