Make sure its not the reader. Try zooming in and out and see if things change. 
PDFs are not pixel accurate due to rounding and precision errors. 


Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net



<div>-------- Original message --------</div><div>From: Dan Friedman 
<d...@clearvisiontech.com> </div><div>Date:10/14/2014  19:55  (GMT-05:00) 
</div><div>To: use-livecode@lists.runrev.com </div><div>Subject: PDF Results 
Not As Expected </div><div>
</div>When creating a pdf of a card, I am getting results that don't match the 
screen.  See if for yourself... make a new stack, and put this in a button:

on mouseUp
  --remove old buttons
  repeat with i = 1 to 4
    if there is a btn ("button" & i) then
      delete btn ("button" & i)
    end if
  end repeat
  
  --set props
  set the threeD of the templateButton to false
  set the borderWidth of the templateButton to 1
  
  --create new button
  new button "button1"
  set the bottomRight of btn "button1" to the loc of this card
  new button "button2"
  set the bottomLeft of btn "button2" to the right of btn "button1" - 1,the 
bottom of btn "button1"
  new button "button3"
  set the topLeft of btn "button3" to the left of btn "button1",the bottom of 
btn "button1" - 1
  new button "button4"
  set the bottomLeft of btn "button4" to the right of btn "button3" - 1,the 
bottom of btn "button3"
  
  --make the pdf
  put specialFolderPath("Documents") & "/printTemp.pdf" into tPDFFile
  open printing to pdf tPDFFile
  print this card
  close printing
  
end mouseUp

Click the button.  You'll see that the buttons line up to form a 4x4 group all 
as 1 px lines as the buttons overlap each other.  But, the generated PDF is not 
the same.  It shows the lines side by side.  Is there some setting I am missing?

LiveCode 6.6.4 rc2
Mac OSX 10.9.5
Same results on iOS 8

Any thoughts?

Thank you!!

-Dan
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to