Kodėl "Microsoft Word" sukuria "PDF failus" tokia didelė?

Turinys:

Kodėl "Microsoft Word" sukuria "PDF failus" tokia didelė?
Kodėl "Microsoft Word" sukuria "PDF failus" tokia didelė?

Video: Kodėl "Microsoft Word" sukuria "PDF failus" tokia didelė?

Video: Kodėl
Video: How to Mount ISO Disk Image Files in Windows 10 2024, Gegužė
Anonim
Kai jūsų dokumentai iš esmės yra tik teksto pobūdžio, atrodo, kad failų dydžiai.docx ir.pdf versijoms turėtų būti gana panašios, jei jie būtų išsaugoti, bet tai ne visada būna. Šiandien "SuperUser Q &A" žinute atsako į įdomius skaitytojo klausimus apie didelį failų dydžių skirtumą.
Kai jūsų dokumentai iš esmės yra tik teksto pobūdžio, atrodo, kad failų dydžiai.docx ir.pdf versijoms turėtų būti gana panašios, jei jie būtų išsaugoti, bet tai ne visada būna. Šiandien "SuperUser Q &A" žinute atsako į įdomius skaitytojo klausimus apie didelį failų dydžių skirtumą.

Šiandieninė klausimų ir atsakymų sesija pateikiama su "SuperUser" - "Stack Exchange", bendruomenės valdoma Q & A grupių asociacija.

Bokso pirštinės yra "Clker.com" klipų meno leidimai.

Klausimas

SuperUser skaitytojas Borekas nori sužinoti, kodėl "Microsoft Word" sukurtos PDF failai yra tokie dideli:

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:

Kodėl "Microsoft Word" sugeneruoti PDF failai yra tokie dideli?

Atsakymas

"SuperUser" autorius rene turi mums atsakymą:

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

Ar turite ką nors įtraukti į paaiškinimą? Garsas išjungtas komentaruose. Norite skaityti daugiau atsakymų iš kitų "Tech-savvy Stack Exchange" vartotojų? Patikrinkite visą diskusijų temą čia.

Rekomenduojamas: