Directory macros/jptex/latex/pxchfon
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
everypageis used)- pxufont (when option
unicodeis used)
- pxufont (when option
- atbegshi (when option
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 2.2 ‹2024/08/22›
- New environment
usefontmaplines. - Version 2.1a ‹2024/08/12›
- Improve warning messages.
- Version 2.1 ‹2024/08/11›
- New command
\pxchfonsetup.maybe-multiweightforces to output map lines for japanese-otf.- Add flag
\pxchfonNoCheckMultiweight. (Old experimental\pxchfonMaybeMultiweightis deprecated.) - New option
nocheck-expert. - New option
resetdvidriver. - Warn if
(no)alphabetis omitted without using a preset. - Improve error/warning messages.
- New command
- Version 2.0 ‹2023/08/28›
- Use keyval package.
- Now options on direct-Unicode settings are provided as a single key-value option
unicode. (The old options are also supported.) - New option
(no)fullwidth. (Experimental optionunicode(*)-fwidis removed.) - New options
legacycodeandlegacycode-replace. (Old experimental options on “legacycode” are removed.) - Deprecate ommision of
(no)alphabetwithout using a preset. - Warn if user commands on multi-weight are used without employing
deluxeoption of japanese-otf package. - New option
maybe-multiweight. - Abolish command
\asUTF. - Abolish option
unicode*. - Abolish pxjafont package.
- Now options on direct-Unicode settings are provided as a single key-value option
- Use keyval package.
- Version 1.9b ‹2023/08/18›
- (Experimental) Add “jfmsync” feature.
- Version 1.9a ‹2023/02/22›
- Bug fix.
- Version 1.9 ‹2021/05/30›
- Support multi-weight settings for Chinese/Korean fonts.
- Add
useoption.
- Add
- Support multi-weight settings for Chinese/Korean fonts.
- Version 1.8 ‹2021/02/22›
- (experimental) Add presets
sourcehan!etc.
- (experimental) Add presets
- 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)dirunican be used in PDF strings.
- Now
- Version 1.6 ‹2019/10/07›
- Preset
haranoaji.
- Preset
- 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
\asUTFcommand 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.
- The
- The
- 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-jpandnoto-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).
- Presets
- Version 1.3a ‹2019/03/20›
- Now the support of
expertmode in the direct Unicode mode is available also on pTeX.
- Now the support of
- Version 1.3 ‹2019/02/03›
- Now the direct Unicode mode supports the major feature of the
expertmode of the otf-japanese package.- The feature of GID input (
glyphidoption).
- The feature of GID input (
- Now the direct Unicode mode supports the major feature of the
- Version 1.2b ‹2019/01/21›
- Fix the file name for font “Jun 101”.
- Version 1.2a ‹2018/03/17›
- Preset
ume.- Preset
hiraginoalias tohiragino-pro. - Bug fix.
- Preset
- Preset
- Version 1.2 ‹2018/03/15›
- Presets
sourcehan/nototurns onunicodeby default.
- Presets
- Version 1.1b ‹2017/10/04›
- Bug fix.
- Version 1.1a ‹2017/09/09›
- Options
unicode(*)-fwid.- (experimental) Some“legacycode”-related options.
- Options
- Version 1.1 ‹2017/07/05›
- Revise the logic of generating map lines.
- Option
(no)strictcsi. - (transitional) Presets
sourcehan(-otc)+andnoto(-otc)+.
- Option
- Revise the logic of generating map lines.
- 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
dumpmapanddumpmaptl. - Alias
jis2004for the optionprefer2004jis. - (transitional) Preset
yu-win10+.
- Options
- Driver options.
- 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)andnoto(-otc).
- The long-deprecated presets are now abolished.
- Version 0.9 ‹2017/04/08›
- Option
directunicode*.
- Option
- Version 0.8 ‹2017/01/13›
- Now
prefer2004jishas no effect on the Japanese fonts provided by japanese-otf pacakge even when using upTeX, sincejis2004option of japanese-otf can do the job now.- Fix the settings for preset
moga-moboandmoga-maruberi. - Preset
moga-mobo-ex. - The simple map file preset (
*NAME) feature.
- Fix the settings for preset
- Now
- Version 0.7h ‹2015/10/14›
- Bug fix.
- Version 0.7g ‹2015/09/30›
- Presets
hiragino-elcapitan-*andyu-win10.
- Presets
- Version 0.7f ‹2015/08/04›
\diruniand\textdiruni.
- Version 0.7e ‹2015/05/07›
- The map file preset (
+NAME) feature.\usefontmapfileand\usefontmapline.
- The map file preset (
- 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)directunicodein vertical writing.relfontoption.
- Version 0.6c ‹2013/04/20›
(no)directunicodeoption.
- Version 0.6b ‹2013/04/20›
(no)oneweightoption.- Support for
prefer2004jisin using some non-CID fonts. - Package level commands
\JaFontReplacementFor,\JaFontReplacementHookand\JaFontUserDefinedMap.
- Support for
- Version 0.6a ‹2013/04/07›
- Complete revision of the preset settings.
- Support for
jis2004version of the japanese-otf font set. - Support for extra-bold weight in the japanese-otf font set.
- Support for
- Complete revision of the preset settings.
- Version 0.6 ‹2013/03/17›
prefer2004jisworking 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›
- New environment
Takayuki YATO (aka. "ZR") https://github.com/zr-tex8r
Download the contents of this package in one zip archive (413.2k).
pxchfon – 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 font.
This package also supports setup for the fonts used in the japanese-otf package.
System requirements:
| Package | pxchfon |
| Repository | https://github.com/zr-tex8r/PXchfon |
| Version | 2.2 |
| Licenses | MIT License |
| Copyright | 2009–2023 Takayuki YATO |
| Maintainer | Takayuki Yato |
| Contained in | TeX Live as pxchfon MiKTeX as pxchfon |
| Topics | Font support Japanese |