Page 1 of 1

PDF Generating Widget

Posted: Tue Jul 17, 2018 10:28 pm
by trags3
Hi
Is it possible to write a widget that can generate a PDF file from a card. That way, if I understand widgets correctly one could generate a PDF file on the Android Platform.
I have a need for this capability but I don't code in C.

Thanks Tom

Re: PDF Generating Widget

Posted: Wed Jul 18, 2018 11:30 pm
by capellan
Hi Tom,

Using Quartam PDF Library, you could generate a PDF from LiveCode:
http://www.quartam.com/

In 2011, Jan Schenkel published this Library as open source under
a dual license: viewtopic.php?t=7315

On Android, I could save vector graphics as adobe ilustrator 5, pdf and svg files
from a LiveCode stack into the Android Documents folder, so it should be possible
to save a PDF created from a card.

Al

Re: PDF Generating Widget

Posted: Thu Jul 19, 2018 1:09 am
by trags3
Thanks Al,
I'll Give it a try.

Tom

Re: PDF Generating Widget

Posted: Fri Mar 15, 2019 3:02 am
by trags3
Hi I am a little confused about which version of Quartem I need to generate a PDF of a single card.
The card has a couple of images, (Logos) and the rest is text fields. I have one signature in a cursive font.
Thanks for the help,
Tom

Re: PDF Generating Widget

Posted: Fri Mar 15, 2019 2:47 pm
by trags3
My App is a commercial product..

Re: PDF Generating Widget

Posted: Fri Mar 15, 2019 2:59 pm
by Klaus
trags3 wrote:
Fri Mar 15, 2019 2:47 pm
My App is a commercial product...
Then you need to buy a license from Quartam, see the "Free/Open Source" page.

Since I have been working with the PDF Lib in the past, I doubt it will fit your needs due to its many limitation like:
...
Font support is limited to the standard set (Arial/Helvetica, Times, Courier, Symbol and Zapf Dingbats)
Unicode and encryption are not yet supported
...
And it has not beeen updated since 2012, not a good sign, too. 8)

Re: PDF Generating Widget

Posted: Fri Mar 15, 2019 5:17 pm
by trags3
Than You Klaus,
Does the software support images like a simple logo?
Tom

Re: PDF Generating Widget

Posted: Fri Mar 15, 2019 5:43 pm
by Klaus
Hi Tom,

please read the website: http://www.quartam.com/ -> Features 8)


Best

Klaus