Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
PDF Export of 2D drawings results in LARGE file
kvdmolenp
Member Posts: 24 ✭✭
Hi,
When I export certain 2D drawings to PDF, they become 5mb. Some others (not much simpler drawings) are under 100kb.
Now I can't send multiple PDF's in one email because it exceeds 20mb quickly,
Perhaps has to do with some history (reload part, edit drawing).
Any ideas to reduce the size?
Thanks!
Klaas
When I export certain 2D drawings to PDF, they become 5mb. Some others (not much simpler drawings) are under 100kb.
Now I can't send multiple PDF's in one email because it exceeds 20mb quickly,
Perhaps has to do with some history (reload part, edit drawing).
Any ideas to reduce the size?
Thanks!
Klaas
0
Best Answer
-
PeteYodis Moderator, Onshape Employees Posts: 543@owen_sparks I'm fully awake here
The post on the topic is here: https://forum.onshape.com/discussion/comment/24095#Comment_24095
And here is the crux of the matter from that discussion: "The current PDF Export embeds the fonts within the PDF file that gets created. This is done to ensure downstream consumers of the PDF file do not need the fonts installed on their device in order to see the text in the PDF. Customers often want text to exist in the PDF to enable searching the contents of the PDF. There is a coming improvement for settings on the export of PDF files from drawings to opt not to treat text this way, and instead treat the PDF as a pure image (no text). This will reduce PDF file size, but will not yield PDF files that are searchable later on. "5
Answers
Owen S,
HWM-Water Ltd
The post on the topic is here: https://forum.onshape.com/discussion/comment/24095#Comment_24095
And here is the crux of the matter from that discussion: "The current PDF Export embeds the fonts within the PDF file that gets created. This is done to ensure downstream consumers of the PDF file do not need the fonts installed on their device in order to see the text in the PDF. Customers often want text to exist in the PDF to enable searching the contents of the PDF. There is a coming improvement for settings on the export of PDF files from drawings to opt not to treat text this way, and instead treat the PDF as a pure image (no text). This will reduce PDF file size, but will not yield PDF files that are searchable later on. "
"Reprinting" it with another PDF tool (I use Foxit PDF viewer) creates a much smaller file with no resolution loss (it's still a vector-based file).
Apparently, the default setting in SolidWorks is to include fonts as well, but for whatever, the resulting size of the PDF is 50-100X smaller. So either SolidWorks is not really embedding fonts, or there is a more elegant way to just embed what is necessary without the file ballooning.
Rasterizing the print sounds like a very poor way to address this.