We need a Macro for CorelDraw X8 (or X6) that will export to an XML file defining 2 lines of text and the coordinates of each character on the page. The page is 4" x 2" and the text will be located in the lower third of the page. The Fonts are (Arial and Arial Narrow 18 point). This is for iStamp software that drives a foil letter stamping machine.
iStamp sent us the attached PDF file to use as a guide.
This is a paid project.
PDF
The entire thing is not clear to me:The x and y value in the XML shall be the offset to a defined point. But: what point of a character is the reference? The centre of an character? The upper/lower left/right position? And what position in the character? Shall have e.g. in the word Egg the 'g' have the same BottomY and / or TopY than the 'E'?To split a string into particular sub shapes is not easy, to keep the string as one item not that difficult, but it's also a problem if you have a string with and without descenders or only small lower case characters ('go' versus 'no', 'no' versus 'No') you face a lot of problems. The description you sent did not gave the answer to this questions.
You make valid points. Since I'm not a coder, I didn't think of all the things you mentioned.
We would be happy with just having the 2 lines of text defined as 2 single strings if that's easier.
As for decenders, these will always be ALL CAPS. That's standard for leather name tags.
Thanks!