Miks PDF-failid genereeritakse Microsoft Wordi nii suured?

Sisukord:

Miks PDF-failid genereeritakse Microsoft Wordi nii suured?
Miks PDF-failid genereeritakse Microsoft Wordi nii suured?

Video: Miks PDF-failid genereeritakse Microsoft Wordi nii suured?

Video: Miks PDF-failid genereeritakse Microsoft Wordi nii suured?
Video: Introduction to iOS, by Rhed Shi - YouTube 2024, November
Anonim
Kui teie dokumendid on peamiselt teksti iseloomulikud, siis tundub, et.docx ja.pdf versioonide failisuurused peaksid olema salvestatud küllaltki sarnased, kuid see pole alati nii. Tänane SuperUseri Q & A postitus on vastus uudishimulikule lugeja küsimustele suurte failide suuruste erinevuse kohta.
Kui teie dokumendid on peamiselt teksti iseloomulikud, siis tundub, et.docx ja.pdf versioonide failisuurused peaksid olema salvestatud küllaltki sarnased, kuid see pole alati nii. Tänane SuperUseri Q & A postitus on vastus uudishimulikule lugeja küsimustele suurte failide suuruste erinevuse kohta.

Tänane küsimuste ja vastuste seanss jõuab meile viisakalt SuperUserini - Stack Exchange'i ja kogukonnapõhiste Q & A veebisaitide rühmitusse.

Boxing kindad clip art-viisakalt Clker.com.

Küsimus

SuperUseri lugeja Borek tahab teada, miks Microsoft Wordi genereeritud PDF-failid on nii suured:

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:

Miks on Microsoft Wordi loodud PDF-failid nii suured?

Vastus

SuperUseri toetajale rene on meile vastus:

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

Kas teil on seletamiseks midagi lisada? Helistage kommentaarides. Kas soovite lugeda rohkem vastuseid teistelt tech-savvy Stack Exchange'i kasutajatelt? Tutvu täieliku arutelu teemaga siit.

Soovitan: