PXchfon Package
===============

LaTeX: Japanese font setup for pLaTeX and upLaTeX

This package enables users to declare in their document which physical
fonts should be used for the standard Japanese (logical) fonts of pLaTeX
and upLaTeX. Font setup is realized by changing the font mapping of
dvipdfmx, and thus users can use any (monospaced) physical fonts they
like, once they properly install this package, without creating helper
files for each new fonts. This package also supports setup for the fonts
used in the japanese-otf package.

### SYSTEM REQUIREMENTS

  * TeX format: LaTeX.
  * TeX engine: pTeX or upTeX.
  * DVIware: dvipdfmx.
  * Prerequisite packages:
      - atbegshi (when option `everypage` is used)
      - pxufont (when option `unicode` is used)

### INSTALLATION

Move the files as follows (in a system compliant to TDS 1.1):

  - `*.sty`      → $TEXMF/tex/platex/pxchfon/
  - `tfm/*.tfm`  → $TEXMF/fonts/tfm/public/pxchfon/
  - `vf/*.vf`    → $TEXMF/fonts/vf/public/pxchfon/
  - `PXcjk0.sfd` → $TEXMF/fonts/sfd/pxchfon/
  - `*.def`      → $TEXMF/tex/platex/pxchfon/

And rehash your TEXMF trees if necessary.

### LICENSE

This package is distributed under the MIT License.

Revision History
----------------

  * Version 1.9a ‹2023/02/22›
      - Bug fix.
  * Version 1.9  ‹2021/05/30›
      - Support multi-weight settings for Chinese/Korean fonts.
      - Add `use` option.
  * Version 1.8  ‹2021/02/22›
      - (experimental) Add presets `sourcehan!` etc.
  * Version 1.7e ‹2020/10/04›
      - Bug fix.
  * Version 1.7d ‹2020/09/26›
      - Support LaTeX kernel 2020/10/01.
  * Version 1.7c ‹2020/04/25›
      - Minor adjustment for new NFSS.
  * Version 1.7b ‹2020/02/01›
      - Make '\textdiruni' robust.
  * Version 1.7a ‹2019/11/22›
      - Bug fix.
  * Version 1.7  ‹2019/11/19›
      - Support for user-defined custom presets.
  * Version 1.6a ‹2019/11/18›
      - Now `\(text)diruni` can be used in PDF strings.
  * Version 1.6  ‹2019/10/07›
      - Preset `haranoaji`.
  * Version 1.5a ‹2019/07/10›
      - Bug fix.
  * Version 1.5  ‹2019/05/15›
      - The `unicode*` option, which is a tentative setting for TL2017,
        is now deprecated.
      - The `\asUTF` command is now deprecated.
      - The VFs of alphabetic fonts are refined; now TS1 encoding is
        also supported.
      - Issue a warning for unembedded font weights, if direct Unicode
        mode is employed.
  * Version 1.4a ‹2019/03/24›
      - Issue a warning for unsubstituted font weights, if a setting
        where unsubtituted fonts could cause problems is employed.
  * Version 1.4  ‹2019/03/24›
      - Presets `sourcehan-jp` and `noto-jp`, which use the subset OTF
        version of Source Han and Noto CJK.
      - Now the replacement of alphabetic fonts also works with T1
        encoding (besides OT1).
  * Version 1.3a ‹2019/03/20›
      - Now the support of `expert` mode in the direct Unicode mode is
        available also on pTeX.
  * Version 1.3  ‹2019/02/03›
      - Now the direct Unicode mode supports the major feature of the
        `expert` mode of the otf-japanese package.
      - The feature of GID input (`glyphid` option).
  * Version 1.2b ‹2019/01/21›
      - Fix the file name for font “Jun 101”.
  * Version 1.2a ‹2018/03/17›
      - Preset `ume`.
      - Preset `hiragino` alias to `hiragino-pro`.
      - Bug fix.
  * Version 1.2  ‹2018/03/15›
      - Presets `sourcehan`/`noto` turns on `unicode` by default.
  * Version 1.1b ‹2017/10/04›
      - Bug fix.
  * Version 1.1a ‹2017/09/09›
      - Options `unicode(*)-fwid`.
      - (experimental) Some“legacycode”-related options.
  * Version 1.1  ‹2017/07/05›
      - Revise the logic of generating map lines.
      - Option `(no)strictcsi`.
      - (transitional) Presets `sourcehan(-otc)+` and `noto(-otc)+`.
  * Version 1.0c ‹2017/07/04›
      - Bug fix.
  * Version 1.0b ‹2017/06/29›
      - Bug fix.
  * Version 1.0a ‹2017/06/19›
      - Driver options.
      - Options `dumpmap` and `dumpmaptl`.
      - Alias `jis2004` for the option `prefer2004jis`.
      - (transitional) Preset `yu-win10+`.
  * Version 1.0  ‹2017/05/31›
      - The long-deprecated presets are now abolished.
      - The package pxjafont is deprecated.
      - Now `directunicode*` does not need japanese-otf.
      - Option `unicode*`.
      - Presets `sourcehan(-otc)` and `noto(-otc)`.
  * Version 0.9  ‹2017/04/08›
      - Option `directunicode*`.
  * Version 0.8  ‹2017/01/13›
      - Now `prefer2004jis` has no effect on the Japanese fonts provided
        by japanese-otf pacakge even when using upTeX, since `jis2004`
        option of japanese-otf can do the job now.
      - Fix the settings for preset `moga-mobo` and `moga-maruberi`.
      - Preset `moga-mobo-ex`.
      - The simple map file preset (`*NAME`) feature.
  * Version 0.7h ‹2015/10/14›
      - Bug fix.
  * Version 0.7g ‹2015/09/30›
      - Presets `hiragino-elcapitan-*` and `yu-win10`.
  * Version 0.7f ‹2015/08/04›
      - `\diruni` and `\textdiruni`.
  * Version 0.7e ‹2015/05/07›
      - The map file preset (`+NAME`) feature.
      - `\usefontmapfile` and `\usefontmapline`.
  * Version 0.7d ‹2013/06/16›
      - Explicit designation of non-embedding.
  * Version 0.7c ‹2013/06/16›
      - Support for Chinese and Korean fonts.
  * Version 0.7b ‹2013/06/05›
      - Support for the combination of upTeX + japanese-otf.
  * Version 0.7a ‹2013/05/18›
      - Bug fix.
  * Version 0.7  ‹2013/05/08›
      - `(no)directunicode` in vertical writing.
      - `relfont` option.
  * Version 0.6c ‹2013/04/20›
      - `(no)directunicode` option.
  * Version 0.6b ‹2013/04/20›
      - `(no)oneweight` option.
      - Support for `prefer2004jis` in using some non-CID fonts.
      - Package level commands `\JaFontReplacementFor`,
        `\JaFontReplacementHook` and `\JaFontUserDefinedMap`.
  * Version 0.6a ‹2013/04/07›
      - Complete revision of the preset settings.
      - Support for `jis2004` version of the japanese-otf font set.
      - Support for extra-bold  weight in the japanese-otf font set.
  * Version 0.6  ‹2013/03/17›
      - `prefer2004jis` working on pTeX.
  * Version 0.5  ‹2010/05/12›
  * Version 0.4a ‹2010/04/12›
  * Version 0.4  ‹2009/12/20›
  * Version 0.3a ‹2009/11/23›
  * Version 0.3  ‹2009/07/13›
  * Version 0.2a ‹2009/05/31›
  * Version 0.2  ‹2009/03/29›

--------------------
Takayuki YATO (aka. "ZR")  
https://github.com/zr-tex8r
