Closed pjaucamp closed 3 years ago
Any chance you can provde an image on how you expect to have it look like?
Hi,
Basically I will just need to "name" the outline colour and it must be a spot colour type, but how that gets encoded into the pdf I have no idea. See screenshot of how I would do this in illustrator.
[image: image.png]
Thank you so much! Pieter
On Mon, Aug 23, 2021 at 7:36 PM ole @.***> wrote:
Any chance you can provde an image on how you expect to have it look like?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rospdf/pdf-php/issues/154#issuecomment-903974484, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZ3WUEBK3F52LVDOMTNRTTT6KBJHANCNFSM5CJIUPQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Something like this?
$angle = 0;
// draw text
$pdf->addText($x, $y, $fontSize, "Text", 0, 'left', $angle)
// prepare line to be dotted
$pdf->setLineStyle(5, '', '', [5]);
// draw the line
$pdf->line($x, $y, $x + 100, $y + 100)
HI, I would like to make an automated label designer and output as a A4 pdf. All the functions is already good as is except for one last thing that I will need. I need to include a cutting line for my print software. To do that you simply draw a line or box and give the outline color a NAME and the colour type must be a SPOT colour. How will one accomplish this? Simply setting a colour the way it is done now is not enough.