Prečo sú súbory PDF generované programom Microsoft Word také veľké?

Obsah:

Prečo sú súbory PDF generované programom Microsoft Word také veľké?
Prečo sú súbory PDF generované programom Microsoft Word také veľké?

Video: Prečo sú súbory PDF generované programom Microsoft Word také veľké?

Video: Prečo sú súbory PDF generované programom Microsoft Word také veľké?
Video: Writing 2D Games in C using SDL by Thomas Lively - YouTube 2024, Apríl
Anonim
Keď sú vaše dokumenty prevažne iba textové, potom by sa zdálo, že veľkosť súborov pre verzie.docx a.pdf by mala byť pri ukladaní pomerne podobná, ale to nie je vždy prípad. Dnešný príspevok SuperUser Q & A má odpoveď na otázky zvedavého čitateľa o veľkom rozdiele vo veľkosti súboru.
Keď sú vaše dokumenty prevažne iba textové, potom by sa zdálo, že veľkosť súborov pre verzie.docx a.pdf by mala byť pri ukladaní pomerne podobná, ale to nie je vždy prípad. Dnešný príspevok SuperUser Q & A má odpoveď na otázky zvedavého čitateľa o veľkom rozdiele vo veľkosti súboru.

Dnešná relácia otázok a odpovedí sa k nám pridelí zdvorilosťou SuperUser - podskupiny Stack Exchange, skupín webových stránok týkajúcich sa otázok a odpovedí.

Boxerské rukavice kliparty s láskavým dovolením Clker.com.

Otázka

Čítačka SuperUser Borek chce vedieť, prečo sú súbory PDF generované programom Microsoft Word také veľké:

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:

Prečo sú súbory PDF generované programom Microsoft Word také veľké?

Odpoveď

Sponzor SuperUser rene má odpoveď pre nás:

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

Máte niečo doplniť vysvetlenie? Znížte komentáre. Chcete si prečítať viac odpovedí od iných používateľov technológie Stack Exchange? Pozrite sa na celý diskusný príspevok tu.

Odporúča: