Vector graphics

193 views
Skip to first unread message

Boogie

unread,
Jul 31, 2008, 7:56:29 AM7/31/08
to libHaru
Hi all,

I've started using Haru some time ago and I was wandering is there a
way to embed vector graphics (SVG file or any other format really) in
PDF created with Haru? I know that I can draw all shapes myself, but
it would be convenient to have an HPDF_LoadSvgImageFromFile() for
example. Or maybe there is another external project that can translate
vector image files to Haru function calls?

Thanks for answers,
Boogie

Antony Dovgal

unread,
Jul 31, 2008, 8:07:00 AM7/31/08
to lib...@googlegroups.com

It's not possible at the moment, but if the PDF reference allows embedding
SVG graphics, it should be easy to add SVG support to libharu.
I'll take a look at the standard and see what I can do..

--
Wbr,
Antony Dovgal

Boogie

unread,
Jul 31, 2008, 9:04:18 AM7/31/08
to libHaru
Thanks for quick reply.

I don't think that PDF supports SVG or other vector format natively...
But with a set of drawing functions that Haru provides it should be
easy to write VectorFormat -> PDF graphics converter. I thought of SVG
because it is free and open format for vector graphics (and Adobe was
a big supporter of it before they bought Macromedia with their Flash).
If embedding a vector format won't be possible probably I'll write a
converter of some sort if none exists at this moment.

Boogie

sherz...@gmail.com

unread,
Jan 9, 2015, 1:39:22 AM1/9/15
to lib...@googlegroups.com
Hi,

Did you find a solution for HPDF_LoadSvgImageFromFile () ...? Thank you!

Best regards!

четверг, 31 июля 2008 г., 16:56:29 UTC+5 пользователь Boogie написал:
Reply all
Reply to author
Forward
0 new messages