In the process of developing an innovative online restaurant menu editor, I have constructed a template utilizing SVG and a jpeg image as the background. Users can easily modify the text using SVG elements overlaying the template image.
I have mastered the art of generating a PDF from this SVG with no issues. However, my next objective is to eliminate the low-resolution background image from the SVG and transfer the remaining high-quality text into a PDF suitable for printing. Unfortunately, the placement and sizing of the text appear distorted in the print-ready file.
By employing the ColdFusion CFPdf
tag along with the watermark feature, I am able to insert the text successfully. The only problem lies in the accuracy of the size and coordinates due to resolution discrepancies. How can I rectify this issue? Perhaps there is an alternative method that could yield better results.