A bug with graphic Rectangle when printing

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Happyrever
Posts: 55
Joined: Sat Sep 10, 2011 12:22 pm

A bug with graphic Rectangle when printing

Post by Happyrever » Sat Nov 19, 2011 7:31 pm

The rectangle with a line width of 6 looks fine on screen, but when printed to pdf or paper is a series of regular dash and space.
The Dashed lines is of course NOT ticked.
If Dashed lines IS ticked, the dashes and spaces are much smaller and of course, appears on screen.

To overcome the problem, I found this following code corrects for printing and does not mess up the solid line appearance on screen.
set the dashes of graphic "FrontBorder"on card 1 to 200,0 --Needed to correct a dashes when printing

It aint normal, is it!

rayjbenet
Posts: 26
Joined: Tue Feb 10, 2009 2:35 pm
Contact:

Re: A bug with graphic Rectangle when printing

Post by rayjbenet » Sat Feb 11, 2012 4:46 pm

God bless you - I've been chasing a related problem all morning.

I have a some graphics on a page that I print. Printing from the Mac, these graphics have crisp, solid lines, as I'd expect.
Printing from a PC, it prints with a dashed line on the border.

The graphic is simple - rounded rectangle, no fill. Nothing changed from defaults programmatically or otherwise. From Mac, pretty. From XP box, ugly.

I created the original graphic in 2004 (may Rev releases ago), so thought that was the problem. I created the graphic from scratch in 5.0.2. Still a problem.

Note that we've been printing this page with this graphic on it thousands of times a year every year from XP and Windows 7 boxes and Macs. It wasn't until the 5.x releases that it became dashed.

It looks the same on both screens (Mac, PC).

I applied the "set dashes of graphic "fred" to 200,0 that you suggest, and prints fine.

_Seems_ like a bug.

Happyrever
Posts: 55
Joined: Sat Sep 10, 2011 12:22 pm

Re: A bug with graphic Rectangle when printing

Post by Happyrever » Mon Feb 13, 2012 1:53 pm

I knew there was a reason for my existance!

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: A bug with graphic Rectangle when printing

Post by mwieder » Mon Feb 13, 2012 6:22 pm

Thanks! I'll file a bug report on this - it's definitely not normal behavior.

Update: bug #9997 posted.

Happyrever
Posts: 55
Joined: Sat Sep 10, 2011 12:22 pm

Re: A bug with graphic Rectangle when printing

Post by Happyrever » Wed Feb 15, 2012 11:45 am

Bug already reported, Ticket#20​1111191000​0468 on 19-11-2011
Along with printing multiple pages problem with the pdf generator Ticket#20​1111191000​0459 22-11-2011

mwieder
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 3581
Joined: Mon Jan 22, 2007 7:36 am
Contact:

Re: A bug with graphic Rectangle when printing

Post by mwieder » Wed Feb 15, 2012 7:31 pm

Do you have a bug number for that? I didn't see one when I did a search.

Post Reply