README 1.5 KB

123456789101112131415161718192021222324252627282930
  1. This program is able to extract page mode and named destinations as
  2. PDF marks from PDF. By using this you can get small PDF files that have
  3. preserved them.
  4. When you create a PDF document using a TeX system, you may include many
  5. small PDF files in the main PDF file. It is common for each of the
  6. small PDF files to use the same fonts.
  7. If the small PDF files contain embedded font subsets, the TeX system
  8. includes them as-is in the main PDF. As a result, several subsets of
  9. the same font are embedded in the main PDF. It is not possible to
  10. remove the duplicates since they are different subsets. This vastly
  11. increases the size of the main PDF file.
  12. On the other hand, if the small PDF files contain embedded full font
  13. sets, the TeX system also includes all of them in the main PDF. This
  14. time, the main PDF contains duplicates of the same full sets of fonts.
  15. Therefore, Ghostscript can remove the duplicates. This may considerably
  16. reduce the main PDF file's size.
  17. Finally, if the small PDF files contain some fonts that are not
  18. embedded, the TeX system outputs the main PDF file with some fonts
  19. missing. In this case, Ghostscript can embed the necessary fonts,
  20. significantly reducing the required disk space.
  21. Either way, when Ghostscript reads the main PDF produced by the TeX
  22. system and outputs the final PDF it does not preserve PDF page mode,
  23. named destinations, etc. As a result, when you open the final PDF, it
  24. is not displayed correctly. Also, remote PDF links will not work.