Pkfix

Uses your system voice; voice and rate in settings.

Snapshot

≈ 4 min read

Names in other languages

  • caPkfix
  • DeutschPkfix
  • Englishpkfix
  • EspañolPkfix
  • FrançaisPkfix
  • ItalianoPkfix
  • PortuguêsPkfix
  • RomânăPkfix

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

The text-producing systems LaTeX and TeX produce DVI files from files written by the user. Those files used to be (and, to a moderate extent, still are) post-processed by a tool called dvips, which converted those DVI files into PostScript files, which are understood by many printers. Some older versions of dvips with embedded bitmapped fonts, which represented letters and symbols as pictures at a fixed resolution (for instance, at 300 dpi). When such files are printed on newer devices (some with resolution of 1200 dpi), the letters of the files that have bitmapped fonts display a remarkably low quality, with jagged lines on curves and diagonals. One solution to this problem is to substitute the bitmapped fonts with scalable fonts (known among PostScript users as Type 1 fonts). To remedy this problem of low quality printing, one can use Heiko Oberdiek's utility called pkfix. The input of pkfix is a PostScript file generated by dvips (with versions at 5.58 or newer ) and its output is another PostScript file, this time, with the bitmapped fonts substituted by scalable fonts (if possible). Technically speaking, pkfix is a Perl script which searches the PostScript file for comments on bitmapped PK fonts (introduced by relatively recent dvips versions), and replaces them with the corresponding Type 1 fonts.…

The text-producing systems LaTeX and TeX produce DVI files from files written by the user. Those files used to be (and, to a moderate extent, still are) post-processed by a tool called dvips, which converted those DVI files into PostScript files, which are understood by many printers. Some older versions of dvips with embedded bitmapped fonts, which represented letters and symbols as pictures at a fixed resolution (for instance, at 300 dpi). When such files are printed on newer devices (some with resolution of 1200 dpi), the letters of the files that have bitmapped fonts display a remarkably low quality, with jagged lines on curves and diagonals. One solution to this problem is to substitute the bitmapped fonts with scalable fonts (known among PostScript users as Type 1 fonts). To remedy this problem of low quality printing, one can use Heiko Oberdiek's utility called pkfix. The input of pkfix is a PostScript file generated by dvips (with versions at 5.58 or newer ) and its output is another PostScript file, this time, with the bitmapped fonts substituted by scalable fonts (if possible). Technically speaking, pkfix is a Perl script which searches the PostScript file for comments on bitmapped PK fonts (introduced by relatively recent dvips versions), and replaces them with the corresponding Type 1 fonts. Of course, a simpler solution to this problem would be to reprocess the LaTeX/TeX files with recent tools and fonts, but, in most cases, the person that has the given PostScript file isn't the author of the document and doesn't have access to the source files (or, worse, the source files may have been lost during the times).

References

Text derived from https://en.wikipedia.org/w/index.php?oldid=1353625379 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001353625379 · captured 1778492527.0 · version history

Cite this page as: encyclopegia.org, “Pkfix”, snapshot enwiki-001353625379. https://encyclopegia.org/a/pkfix

Sources cited in this revision

Extracted from the cited revision's reference blocks; absent citations are not invented.