Защо PDF файловете, генерирани от Microsoft Word, са толкова големи?

Съдържание:

Защо PDF файловете, генерирани от Microsoft Word, са толкова големи?
Защо PDF файловете, генерирани от Microsoft Word, са толкова големи?

Видео: Защо PDF файловете, генерирани от Microsoft Word, са толкова големи?

Видео: Защо PDF файловете, генерирани от Microsoft Word, са толкова големи?
Видео: Как установить Linux Ubuntu рядом / параллельно с Windows 10 — подробная инструкция для начинающих - YouTube 2024, Може
Anonim
Когато вашите документи са главно текстови само в природата, тогава изглежда, че размерите на файловете за.docx и.pdf версиите трябва да са доста сходни, когато се запазват, но това не винаги е така. Днешната публикация на SuperUser Q & A е отговорът на въпросите на любопитния читател относно голямата разлика в размерите на файловете.
Когато вашите документи са главно текстови само в природата, тогава изглежда, че размерите на файловете за.docx и.pdf версиите трябва да са доста сходни, когато се запазват, но това не винаги е така. Днешната публикация на SuperUser Q & A е отговорът на въпросите на любопитния читател относно голямата разлика в размерите на файловете.

Днешната сесия за въпроси и отговори ни идва с любезното съдействие на SuperUser - подразделение на Stack Exchange - обединяване на уеб сайтове с въпроси и отговори.

Боксови ръкавици, clip-art с любезното съдействие на Clker.com.

Въпроса

Reader на SuperUser Borek иска да знае защо PDF файловете, генерирани от Microsoft Word, са толкова големи:

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

This is a small 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 smallest files possible:

Защо PDF файловете, генерирани от Microsoft Word, са толкова големи?

Отговорът

Сътрудникът на SuperUser rene има отговора за нас:

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

And that object is referenced here at the end in the /FontFile2 instruction:
And that object is referenced here at the end in the /FontFile2 instruction:
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.
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.

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? Вижте цялата тема на дискусията тук.

Препоръчано: