Kāpēc Microsoft Word tiek radīti tik lieli PDF faili?

Satura rādītājs:

Kāpēc Microsoft Word tiek radīti tik lieli PDF faili?
Kāpēc Microsoft Word tiek radīti tik lieli PDF faili?

Video: Kāpēc Microsoft Word tiek radīti tik lieli PDF faili?

Video: Kāpēc Microsoft Word tiek radīti tik lieli PDF faili?
Video: Windows 10 Docker Desktop for Windows: Explained - YouTube 2024, Aprīlis
Anonim
Ja jūsu dokumenti galvenokārt ir tikai teksta raksturs, šķiet, ka failiem.docx un.pdf versijām vajadzētu būt diezgan līdzīgām, kad tos saglabā, bet tas ne vienmēr ir. Šodienas SuperUser Q & A ziņai ir atbilde uz ziņkārīgo lasītāja jautājumiem par lielo failu izmēru atšķirību.
Ja jūsu dokumenti galvenokārt ir tikai teksta raksturs, šķiet, ka failiem.docx un.pdf versijām vajadzētu būt diezgan līdzīgām, kad tos saglabā, bet tas ne vienmēr ir. Šodienas SuperUser Q & A ziņai ir atbilde uz ziņkārīgo lasītāja jautājumiem par lielo failu izmēru atšķirību.

Šodienas jautājumu un atbilžu sesija mums priecājas par SuperUser - Stack Exchange dalību, kas ir kopienas vadīta Q & A tīmekļa vietņu grupa.

Boksa cimdi ar klipkopu, kas ir Clker.com pieklājīgi.

Jautājums

SuperUser lasītājs Borek vēlas uzzināt, kāpēc Microsoft Word ģenerētie PDF faili ir tik lieli:

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:

Kāpēc Microsoft Word ģenerētie PDF faili ir tik lieli?

Atbilde

SuperUser ieguldītājam rene mums ir atbilde:

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

Vai kaut ko pievienot paskaidrojumam? Skatieties komentāros. Vēlaties lasīt citas atbildes no citiem tehnoloģiju savvy Stack Exchange lietotājiem? Šeit skatiet pilnu diskusiju pavedienu.

Ieteicams: