dealing with these *huge* pdf files generated

Terry Judd terry.judd at unimelb.edu.au
Mon Jun 3 01:09:21 EDT 2013


Just did a quick test - two cards, each with a field containing a single line of text, the first card has two checkboxes labelled A and B, the second has two label fields ('x A' and 'x B'). Exported both cards to PDF: card 1 - 11,100 bytes, card 2 - 3,500 bytes. If you are rendering a lot of those (or other button types) over lots of pages then I guess it could start to add up.

Terry...

On 03/06/2013, at 01:38 PM, Dr. Hawkins wrote:

> On Sun, Jun 2, 2013 at 5:15 PM, Terry Judd <terry.judd at unimelb.edu.au>wrote:
> 
>> Perhaps you could 'replace' all the bitmaps with either graphic or text
>> objects when you do your pdf export. If you have lots of checkboxes for
>> example you could replace these with a simple x or tick. Any buttons you
>> don't really need to show could also go.
> 
> 
> Wait a minute . . . shouldn't a checkbox be a postscript drawn object, not
> a bitmap?  That would be *easier* in postscript than a bitmap (although
> I've never written pdf directly; just postscript.  Is there a shortcut?)
> 
> A sane postscript output would put functions into the output, and each box
> or checkbox would be a function call with 5 paramaters (2 corners & width);
> and similarly for a line.
> 
> The pdfwriter code seems to be only a few pages long, but I haven't gotten
> my c++ (let alone objective c) back up to speed yet.
> 
> BTW, my output is completely devoid of bitmaps (OK, there is a single
> repeated bitmap in the cover page pdf; the firm logo).
> 
> 
> 
> 
> 
> 
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 

Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne








More information about the use-livecode mailing list