1.160 FAQ-804 How to troubleshoot exporting PDF problems
Last Update: 6/1/2016
Working with Origin in Windows
Embedded Font is Missing in Exported PDF
When applying user-installed font other than Windows built-in font to labels in Origin graphs, after you export the graph as PDF file you may see the text labels are missing.
The solution to this problem is to check Use True Type checkbox under Image Settings: PDF Options: Fonts node in Export Graphs dialog before exporting as PDF file.
Create PDF in Word using Acrobat PDF-Maker Failed to Clip Data
When copying and pasting Origin graph into Microsoft Word as enhanced metafile, and subsequently creating a PDF using add-in tool Acrobat PDF-Maker sometimes you may notice that the clipping of data is broken. To fix it, before copying Origin graph to Word you will need to firstly set system variable @GDIP=0 and then rerun Origin as administrator to open the project file. After that when you copy and paste graph into Word and make PDF using PDF-Maker again, the clipping will be kept.
To set system variable @GDIP = 0 in future Origin sessions, you can go to menu Tools: System Variables to open the Set System Variables Dialog. Then input "GDIP" without "@" in the Variable column and enter 0 in Value column.
Note that when you set @GDIP=0, the anti-aliasing effect will be turned off. Therefore if you want to enable the anti-aliasing effect, you can reset the value of @GDIP=1 in System Variables dialog.
Working with Origin in Mac
If you are running Origin using VirtualBox in Mac, sometimes you may see the font of text labels, data labels or tick labels are distorted, e.g., the spacing between characters are missing, or the characters are squished together, in the exported PDF/EPS files. This is a known issue existing in virtual machine VirtualBox, but not in other virtual machines such as, Parallels Desktop for Mac, or VMware Fusion, etc.
If there is no other virtual machine available to you, then you can try out the solutions listed below:
Tick/Text Labels are Squished Together
You can temporarily set system variable @TO=2 by typing "@TO=2;" in Command Window or Script Window and hit Enter key to run it and then use F5 shortcut key or click Refresh button to refresh the window the see the effect. After this system variable @TO is set, when you export the graph as PDF/EPS again you should see the font distortion problem is fixed.
Note that after set @TO=2 the text on the exported PDF files cannot be further edited in other software such as Adobe Illustrator, etc.
If you want to permanently set the system variable @TO to be 2 at Origin's startup, you can use the Set System Variables Dialog (Tools:System Variables...). Detailed explanation of system variable @TO is on this page.
Data Labels are Squished Together
If you make a scatter plot with data labels by firstly setting the column designation of one column as "Label" and directly highlighting both columns to plot, you may see the data labels are squished together.
To solve it, you can firstly highlight data column to make a scatter plot and then double click on the plot to bring up Plot Details - Plot Properties dialog. With data plot node highlighted on the left panel, go to Label tab on the right panel, check Enable checkbox and select the label column as Label From drop-down option. When you export it now, you should see the distortion of data label is fixed.
If further customizations is made to data labels, eg.,italicize all labels, then you will need to set system variable @TO=2 before exporting as shown in section Tick/Text Labels are Squished Together.
Alternatively, you can try to export the Origin graph as PNG, JPG or any other raster graph format if PDF/EPS format is dispensable. Usually you will not see font distortion problem in exported raster format graphs.
Working with Origin in Remote Desktop
When exporting graphs with embedding fonts as PDFs in Remote Desktop, you may notice the embedded fonts are missing in the exported PDF files.
This is due to the fact that Origin is set to not allow font embedding with exported PDFs in general when it is accessed via Remote Desktop. You can force the font embedding (which may cause the text to be drawn poorly during PDF export) by setting a system variable: @EMRD=0 by typing "@EMRD=0;" in Command Window or Script Window to run. Below is an example where we used Arial Garamond Pro as embedding font, when set @EMRD=0, in the exported PDF file you can see:
If it works for you, you can set it to always be on by going to the Tools menu and select System Variables. In the dialog, enter EMRD in Variable column and set it to 0 in Value column. It will always be on unless you delete it from the Set System Variables Dialog or set it to 2 in the dialog.
Keywords:Export, PDF, Font Distortion, Font Missing, Spacing