Is this normal behavior with print card and buttons?

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Is this normal behavior with print card and buttons?

Post by williamdesmet » Sat Apr 17, 2021 3:46 pm

Hi there,

I layout 49 buttons, next to each other (see left side of attached image).
And when I use code below, the buttons are all printed some pixels apart from each other.
Is this normal behaviour?
--
put the Left of img "print" of this cd into tleft
put the Top of img "print" of this cd into tTop
put the Right of img "print" of this cd into tRight
put the Bottom of img "print" of this cd into tBottom
open printing to PDF tFilePath
print this cd from tLeft,tTop to tRight,tBottom //rect of an invisible image
--

LC Indy 9.6.2 (rc 3) / iOS app on iPad with iOS 13.3.1 and using Mergreader


Greetings,

William
Attachments
print_card.png
print_card.png (11.13 KiB) Viewed 2554 times

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9567
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Is this normal behavior with print card and buttons?

Post by dunbarx » Sat Apr 17, 2021 4:30 pm

Hi.

I do this all the time, though to deskTop and in deskTop standalones. Adjacent controls that look like the left side of your example print exactly the same as a pdf. This is in LC 9.6.1 on Mac OS 10.15.6.

Craig

williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Re: Is this normal behavior with print card and buttons?

Post by williamdesmet » Sat Apr 17, 2021 4:55 pm

Hi Craig,

Just tested with LC 9.6.1 and I can confirm what you said.
With LC 9.6.1 it is 'OK'.
Printed directly from LC to the desktop.
Attachments
print_card2.png

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9801
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Is this normal behavior with print card and buttons?

Post by FourthWorld » Sat Apr 17, 2021 6:22 pm

With this confirmed, please consider filing a bug report on this. Few things are as important to an app as reliably handling what comes into it and what comes out of it.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

williamdesmet
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 66
Joined: Tue Jun 26, 2012 7:07 pm

Re: Is this normal behavior with print card and buttons?

Post by williamdesmet » Sun Apr 18, 2021 1:26 pm


Post Reply

Return to “Talking LiveCode”