word 生成pdf
When your documents are mainly text only in nature, then it would seem like the file sizes for .docx and .pdf versions should be fairly similar when saved, but that is not always the case. Today’s SuperUser Q&A post has the answer to a curious reader’s questions about the large difference in file sizes.
如果您的文档本质上仅是纯文本格式,那么保存时.docx和.pdf版本的文件大小似乎应该非常相似,但并非总是如此。 今天的SuperUser Q&A帖子回答了一个好奇的读者有关文件大小的巨大差异的问题。
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.
今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。
Boxing gloves clip-art courtesy of Clker.com.
拳击手套的剪贴画由Clker.com提供 。
问题 (The Question)
SuperUser reader Borek wants to know why PDF files generated by Microsoft Word are so large:
超级用户阅读器Borek想知道为什么Microsoft Word生成的PDF文件这么大:
I created a simple Microsoft Word document containing just this sentence, nothing else:
我创建了一个简单的Microsoft Word文档,其中仅包含以下语句:
- This is a small document. 这是一个小文件。
Then I saved the document as .docx and .pdf files. Here are the file sizes:
然后,我将文档另存为.docx和.pdf文件。 这是文件大小:
- .docx: 12 kB .docx:12 kB
- .pdf: 89 kB .pdf:89 kB
The difference between the two files is huge (technically) and it really bothers me when documents that are mostly textual in nature are just tens of kB in .docx format, but are hundreds of kB in size when converted to PDF files. What is so inefficient about the PDF format? Is it just Microsoft Word using some terrible output algorithm?
这两个文件之间的差异很大(从技术上来说),当本质上大部分为文本的文档仅为.docx格式的数十kB,但转换为PDF文件时的大小为数百kB时,这确实让我感到困扰。 PDF格式的效率如何? 只是使用某些可怕的输出算法的Microsoft Word吗?
By the way, the PDF output settings on my Microsoft Office installation are set to create the smallest files possible:
顺便说一句,我的Microsoft Office安装上的PDF输出设置被设置为创建最小的文件:
Why are PDF files generated by Microsoft Word so large?
为什么Microsoft Word生成的PDF文件太大?
答案 (The Answer)
SuperUser contributor rene has the answer for us:
超级用户贡献者rene为我们提供了答案:
If you open the PDF file in Notepad++, you will find:
如果在Notepad ++中打开PDF文件,则会发现:
And that object is referenced here at the end in the /FontFile2 instruction:
在/ FontFile2指令的结尾处引用了该对象:
The fonts used by a Microsoft Word document are embedded into PDF files so that they are self-contained. I used this slide-deck from Adobe to decipher the PDF instructions.
Microsoft Word文档使用的字体嵌入到PDF文件中,因此它们是独立的。 我使用了Adobe的这张幻灯片来解密PDF指令。
If you want to prevent fonts from being embedded in a PDF file, then make sure your Microsoft Word documents make use of one of the 14 standard typefaces available in PDF viewers (Source: Wikipedia).
如果要防止字体嵌入PDF文件中,请确保您的Microsoft Word文档使用PDF查看器中可用的14种标准字体之一(来源: Wikipedia )。
- Times New Roman > Times (v3) (in regular, italic, bold, and bold italic) Times New Roman> Times(v3)(常规,斜体,粗体和粗体斜体)
- Courier New > Courier (in regular, oblique, bold, and bold oblique) 快递>快递(常规,斜,粗体和粗斜体)
- Arial > Helvetica (v3) (in regular, oblique, bold, and bold oblique) Arial> Helvetica(v3)(常规,斜,粗体和粗体斜体)
- Symbol > Symbol 符号>符号
- Wingdings > Zapf Dingbats 机翼> Zapf丁巴特
Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.
有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程 。
翻译自: https://www.howtogeek.com/230496/why-are-pdf-files-generated-by-microsoft-word-so-large/
word 生成pdf