为什么microsoftword生成的pdf文件这么大?

当您的文档本质上主要是纯文本时,.docx和.pdf版本的文件大小在保存时应该相当相似,但情况并非总是如此。今天的超级用户问答帖子回答了一位好奇的读者关于文件大小差异很大的问题。...

为什么microsoftword生成的pdf文件这么大?

当您的文档本质上主要是纯文本时,.docx和.pdf版本的文件大小在保存时应该相当相似,但情况并非总是如此。今天的超级用户问答帖子回答了一位好奇的读者关于文件大小差异很大的问题。

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

拳击手套剪贴画Clker.com网站.

问题

超级用户读者Borek想知道为什么Microsoft Word生成的PDF文件如此之大:

I created a simple Microsoft Word document containing just this sentence, nothing else:

  • This is a **all document.

Then I saved the document as .docx and .pdf files. Here are the file sizes:

  • .docx: 12 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?

By the way, the PDF output settings on my Microsoft Office installation are set to create the **allest files possible:

007Ys3FFgy1gpe6oesr3ij30hd0djmxv

为什么microsoftword生成的PDF文件这么大?

答案

超级用户贡献者rene为我们提供了答案:

If you open the PDF file in Notepad++, you will find:

007Ys3FFgy1gpe6ofbv05j30hd04yglp

And that object is referenced here at the end in the /FontFile2 instruction:

007Ys3FFgy1gpe6ofvyfwj30hd03ydg5

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 instructi***.

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).

  • Times New Roman > Times (v3) (in regular, italic, bold, and bold italic)
  • Courier New > Courier (in regular, oblique, bold, and bold oblique)
  • Arial > Helvetica (v3) (in regular, oblique, bold, and bold oblique)
  • Symbol > Symbol
  • Wingdings > Zapf Dingbats

有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-10 05:09
  • 阅读 ( 195 )
  • 分类:互联网

你可能感兴趣的文章

免费与付费ocr软件:比较microsoft onenote和nuance omnipage

... 当我打开文件时,文本被整齐地转换成一个microsoftword文档,包含所有PDF的原始图像和100%可编辑文本。格式仍然是得体的,我没有注意到任何拼写错误的单词或断断续续的文字行。 ...

  • 发布于 2021-03-14 02:31
  • 阅读 ( 263 )

如何在mac上创建令人印象深刻的页面文档和模板

在文字处理方面,MicrosoftWord仍然处于领先地位,尤其是在商业环境中。但这不是镇上唯一的游戏。许多Mac电脑的用户转向苹果的网页。 ...

  • 发布于 2021-03-15 14:17
  • 阅读 ( 154 )

5种让你的电脑读文件的方法

... 但是MicrosoftWord能直接读给你听吗?答案是肯定的。 ...

  • 发布于 2021-03-19 21:27
  • 阅读 ( 226 )

6个最好的mac降价编辑器

...的样式。除了通常的HTML和PDF导出外,Typora还可以转换为microsoftword、OpenOffice、RTF、ePub、LaTeX和图像格式(以及其他格式)。 ...

  • 发布于 2021-03-23 11:57
  • 阅读 ( 228 )

如何用microsoftword一键生成书目

... 如何在microsoftword中生成书目 ...

  • 发布于 2021-03-24 03:29
  • 阅读 ( 181 )

如何在microsoftword中制作点网格纸模板

...纸,点网格纸有许多用途。不过,如果手头没有,可以在MicrosoftWord中创建点网格纸张模板。 Word使为各种文档创建模板变得很容易。创建点网格纸张模板后,可以重复使用、打印或共享该模板。 相关:如何在Microsoft Word中创建模...

  • 发布于 2021-04-01 18:12
  • 阅读 ( 179 )

如何在microsoft word中插入pdf

MicrosoftWord提供了大量处理内容的功能。这些独特的功能之一是能够将PDF文件直接**Word,而且只需几个步骤即可完成。下面是方法。 要轻松地将PDF文件**Word文档,请将其作为对象**。如果您这样做,那么PDF基本上成为Word文档的一...

  • 发布于 2021-04-02 00:12
  • 阅读 ( 218 )

如何使用pandoc在linux命令行上转换文件

...程的存储库,这些存储库通常是云托管的。 当他们准备生成程序的工作版本时,他们使用编译器读取源代码并生成二进制可执行文件。 通过使用轻量级的、基于文本的标记语言编写文档,您可以使用VCS来控制您的编写。当您准...

  • 发布于 2021-04-02 00:59
  • 阅读 ( 232 )

对于microsoft word文档来说有多大?

你写得越多,你的文件就越大,但是一个microsoftword文档能有多大呢?答案是,视情况而定。文本、视频和图像内容在Word文档大小方面起着至关重要的作用。 Word文档的最大文件大小还取决于文件格式。较新版本的Word使用DOCX格...

  • 发布于 2021-04-02 21:34
  • 阅读 ( 297 )

如何在iphone和ipad上将网站保存为pdf格式

...常方便,以便以后阅读。下面是如何在iPhone或iPad上快速生成PDF文件,然后使用Pocket等服务保存。 如何将整页截图保存为pdf 在iOS13、iPadOS13和更新版本中,您可以在Safari中拍摄网站的全页屏幕截图,并在文件应用程序中将其保存...

  • 发布于 2021-04-03 01:02
  • 阅读 ( 292 )
valt0714
valt0714

0 篇文章

相关推荐