From eaea0d35a703f47bc759ec85ecc1533c8aacc404 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 13 Mar 2020 17:38:53 +0000 Subject: texinfo manual updates for 2020 git-svn-id: svn://tug.org/texlive/trunk@54279 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/dvips/dvips.html | 111 +++++++++++++++++++++++++++++---- Master/texmf-dist/doc/dvips/dvips.pdf | Bin 405527 -> 412092 bytes 2 files changed, 98 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist/doc/dvips') diff --git a/Master/texmf-dist/doc/dvips/dvips.html b/Master/texmf-dist/doc/dvips/dvips.html index c090e788a65..568dbae14b4 100644 --- a/Master/texmf-dist/doc/dvips/dvips.html +++ b/Master/texmf-dist/doc/dvips/dvips.html @@ -1,9 +1,9 @@ - - + Dvips: A DVI-to-PostScript translator @@ -60,7 +60,7 @@ ul.no-bullet {list-style: none}
  • 5 Interaction with PostScript
  • 6 PostScript fonts
  • 7 Color
  • -
  • Index
  • +
  • Index
  • @@ -150,7 +150,8 @@ ul.no-bullet {list-style: none}
  • 6.1.2 Glyph files
  • 6.1.3 Virtual fonts
  • 6.1.4 Encodings
  • -
  • 6.1.5 How PostScript typesets a character
  • +
  • 6.1.5 Bitmap font encodings
  • +
  • 6.1.6 How PostScript typesets a character
  • 6.2 Making a PostScript font available
  • 6.3 Invoking Afm2tfm @@ -181,7 +182,7 @@ ul.no-bullet {list-style: none}
  • 7.6.2 Color specials
  • -
  • Index
  • +
  • Index
  • @@ -192,8 +193,8 @@ Next: , Up:

    Dvips

    -

    This manual documents Dvips version 5.999 -(February 2019), a program to translate a DVI file into +

    This manual documents Dvips version 2020.1 +(January 2020), a program to translate a DVI file into PostScript. You may freely use, modify and/or distribute this file.

    @@ -211,7 +212,7 @@ PostScript. You may freely use, modify and/or distribute this file. - @@ -927,6 +928,14 @@ do color separations or other neat tricks. physical page numbers.

    +
    -bitmapfontenc option
    +
    + +

    Turns bitmap font encoding to ‘off’, ‘on’ (no warnings +for missing bitmap font encodings), or ‘strict’ (with warnings +for missing bitmap font encodings). +

    +
    -c num
    @@ -1757,6 +1766,13 @@ There is no provision for continuation lines.

    Multiple copies. Same as ‘-b’, see Option details.

    +
    bitmapfontenc option
    +
    +

    Turns bitmap font encoding to ‘off’, ‘on’ (no warnings +for missing bitmap font encodings), or ‘strict’ (with warnings +for missing bitmap font encodings). +

    +
    c filename

    Include filename as an additional configuration file, read @@ -3683,7 +3699,9 @@ i.e., renumbers, the characters of a font. • Encodings  Character codes and character names. -• PostScript typesetting  How PostScript typesets a character. +• Bitmap font encodings  Encodings for bitmapped fonts. + +• PostScript typesetting  How PostScript typesets a character. @@ -3882,7 +3900,7 @@ using a DVI translator that doesn’t understand vf’s itself.


    6.1.4 Encodings

    @@ -3940,12 +3958,70 @@ distribution, and three corresponding to the TeX mathematics fonts: italics, and texmsym.enc for math symbols.

    +
    +
    +

    +Next: , Previous: , Up: Font concepts   [Contents][Index]

    +
    +

    6.1.5 Bitmap font encodings

    + + + + + +

    To dvips, bitmapped fonts do not have any notion of linguistics; they +are simply a vector of glyphs. By comparison, PostScript fonts are +required to contain an encoding vector that at least provides +glyph names; these names can permit PostScript and PDF viewers to +extract legible text from Postscript and PDF output. +

    +

    Unlike previous versions, dvips versions 2020 and later add glyph +naming information to Type 3 bitmapped fonts (if they can locate such +information) as an Encoding vector. This provides some support for +search, for copy and paste, and even some limited support for +accessibility. The ‘bitmapfontenc’ command line option +(see Option details and bitmapfontenc configuration option +(see Configuration file commands) enable and disable this +functionality; by default it is set to enabled, without warnings. +

    + +

    To do this, dvips must find encoding information for the bitmapped +fonts. It does this by first searching for a font-specific encoding +file; for instance, for cmr10, it will search for dvips-cmr10.enc +in the standard encoding path. If it does not find such a file, it +will search for a dvips-all.enc file which contains a base set of +encodings for many fonts. +

    +

    The specific syntax of an encoding file is unspecified, except that it +must be a PostScript fragment that leaves exactly one object on the +operand stack. (This is different from the encoding files used to +define encodings for PostScript fonts, described earlier). Normally +that object is just an array of 256 names; in this case, that array is +used as the encoding vector for the font. Alternatively, the object +can be a procedure that, when executed, leaves a legal encoding vector +on the stack. This second option is made available to support future +enhancements that may add additional constructs to the font dictionary +to enhance the interpretation of font characters. +

    +

    The dvips-all.enc file contains encodings for many fonts, and +it is loaded by dvips at most once. The format is just a sequence of +font names, one per line, each terminated by a colon, followed by the +encoding to use for those files. +

    + + +

    As part of its operation, to enable heuristics in PostScript and +PDF viewers to properly identify word breaks and column gutters, +dvips also generates a modified font bounding box and a modified +font coordinate system. +

    +
    -

    6.1.5 How PostScript typesets a character

    +

    6.1.6 How PostScript typesets a character

    @@ -5427,6 +5503,7 @@ Previous: , Up: -aAfm2tfm options -BOption details -b numOption details +-bitmapfontenc optionOption details -c numOption details -C numOption details -c ratioAfm2tfm options @@ -5586,7 +5663,10 @@ Previous: , Up: Bhattacharya, TanmoyHypertext big pointsBounding box binary files, not supportedIncluding graphics fails +bitmap font encodingOption details +bitmap font encodingsBitmap font encodings bitmap fontsGlyph files +bitmapfontenc config command (bitmap font encoding)Configuration file commands bop undefined errorPrinter errors bop-hookPaper trays bop-hookEPSF scaling @@ -5597,6 +5677,7 @@ Previous: , Up: bounding box, definedBounding box bounding box, determiningBounding box bounding box, finding tightOption details +bounding box, for bitmap fontsBitmap font encodings bounding box, inaccurateEPSF clipping bounding box, supplying to TeX\includegraphics bounding box, supplying to TeXEPSF macros @@ -5648,6 +5729,7 @@ Previous: , Up: configuration, of DvipsInstallation continuation lines, not supportedConfiguration file commands control-DOption details +coordinate system, for bitmap fontsBitmap font encodings copies, collatedOption details copies, duplicated page bodiesOption details copies, uncollatedOption details @@ -5684,6 +5766,7 @@ Previous: , Up: DVI magnificationEPSF scaling dvihps, hyperdvi to PostScriptHypertext Dvips configuration file optionsConfiguration file commands +dvips-all.encBitmap font encodings dvips.encEncodings DVIPSDEBUGEnvironment variables DVIPSFONTSEnvironment variables @@ -5708,6 +5791,7 @@ Previous: , Up: encoding vectors, definedEncodings encoding vectors, in Type 1 fontsPostScript typesetting encodingsEncodings +encodings, for bitmap fontsBitmap font encodings end-hookPostScript hooks environment variablesEnvironment variables EOFOption details @@ -5743,6 +5827,7 @@ Previous: , Up: filter, running as aOption details first page printedOption details font conceptsFont concepts +font encodings, bitmapBitmap font encodings font generation, avoidingOption details fontinstInvoking afm2tfm fonts, as header filesIncluding headers from TeX diff --git a/Master/texmf-dist/doc/dvips/dvips.pdf b/Master/texmf-dist/doc/dvips/dvips.pdf index 7f9608ceec8..abd3c89a656 100644 Binary files a/Master/texmf-dist/doc/dvips/dvips.pdf and b/Master/texmf-dist/doc/dvips/dvips.pdf differ -- cgit v1.2.3