CTAN Comprehensive TeX Archive Network

Direc­tory language/japanese/pxufont

README.md

PXu­font Pack­age

: To em­u­late non-Uni­code Ja­panese fonts us­ing Uni­code fonts

The set of the Ja­panese log­i­cal fonts (JFMs) that are used as stan­dard fonts in p and up con­tains both Uni­code JFMs and non-Uni­code JFMs. This bun­dle pro­vides an al­ter­na­tive set of non-Uni­code JFMs that are tied to the vir­tual fonts (VFs) that re­fer to the glyphs in the Uni­code JFMs. More­over it pro­vides a pack­age that re­de­fines the NFSS set­tings of the Ja­panese fonts of (u)p so that the new set of non-Uni­code JFMs will be em­ployed. As a whole, this bun­dle al­lows users to dis­pense with the map­ping setup on non-Uni­code JFMs.

Such setup is use­ful in par­tic­u­lar when users want to use such OpenType fonts (such as Source Han Serif) that have a glyph en­cod­ing dif­fer­ent from Adobe-Ja­pan1, be­cause map­ping setup from non-Uni­code JFMs to such phys­i­cal fonts are dif­fi­cult to pre­pare.

Sys­tem re­quire­ment

  • for­mat: .
    • en­gine: p / up.
    • DVI drivers: Any­thing that sup­ports JFMs and VFs.
    • Depen­dent pack­ages:
      • if­p­tex

In­stal­la­tion

  • *.sty → $TEXMF/tex/pla­tex/px­u­font/
    • tfm/*.tfm → $TEXMF/fonts/tfm/pub­lic/px­u­font/
    • vf/*.vf → $TEXMF/fonts/vf/pub­lic/px­u­font/

Li­cense

This pack­age is dis­tributed un­der the MIT Li­cense.

The px­u­font Pack­age

Pack­age Load­ing

\usepackage{pxufont}

There are no pack­age op­tions avail­able. Once the pack­age is loaded, the NFSS set­tings for the stan­dard Ja­panese fonts will be re­de­clared.

Note: When you use both this pack­age and the japanese-otf pack­age, then you must load japanese-otf ear­lier.

Usage

For present, this pack­age has no pub­lic com­mands. All the set­tings are done through the pack­age op­tion.

The px­u­font-ruby Pack­age

This pack­age is an al­ter­na­tive to the px­u­font pack­age. The dif­fer­ence be­tween the two is the way the “ruby no­ta­tion fonts” of the japanese-otf pack­age are han­dled; px­u­font dis­ables the ruby fonts and sub­sti­tutes then with or­di­nary fonts, whereas px­u­font-ruby sup­ports also the ruby fonts. This fea­ture how­ever re­quires ex­tra set­tings of font map­ping.

Pack­age Load­ing

\usepackage{pxufont-ruby}

Note that px­u­font and px­u­font-ruby are mu­tu­ally ex­clu­sive; when both pack­ages are loaded, then the one loaded ear­lier will be ef­fec­tive.

NB. Devel­op­ers can test whether px­u­font-ruby is ef­fec­tive by test­ing whether \pxufontUseRubyFont is de­fined.

Re­vi­sion His­tory

  • Ver­sion 0.5 〈2019/02/28〉
    • Sup­port for the fonts of ruby no­ta­tion forms.
  • Ver­sion 0.4 〈2019/02/15〉
    • Sup­port for the fonts of min10 se­ries.
      • Fix er­ro­neous zu-jisg.vf.
  • Ver­sion 0.3 〈2017/07/07〉
    • Emu­late also some Uni­code fonts which VFs map to non-Uni­code fonts.
    • Ver­sion 0.2 〈2017/06/28〉
      • The first pub­lic ver­sion.

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

Down­load the con­tents of this pack­age in one zip archive (17.7M).

px­u­font – Emu­late non-Uni­code Ja­panese fonts us­ing Uni­code fonts

The set of the Ja­panese log­i­cal fonts (JFMs) that are used as stan­dard fonts in p and up con­tains both Uni­code JFMs and non-Uni­code JFMs. This bun­dle pro­vides an al­ter­na­tive set of non-Uni­code JFMs that are tied to the vir­tual fonts (VFs) that re­fer to the glyphs in the Uni­code JFMs. More­over it pro­vides a pack­age that re­de­fines the NFSS set­tings of the Ja­panese fonts of (u)p so that the new set of non-Uni­code JFMs will be em­ployed. As a whole, this bun­dle al­lows users to dis­pense with the map­ping setup on non-Uni­code JFMs.

Such a setup is use­ful in par­tic­u­lar when users want to use OpenType fonts (such as Source Han Serif) that have a glyph en­cod­ing dif­fer­ent from Adobe-Ja­pan1, be­cause map­ping se­tups from non-Uni­code JFMs to such phys­i­cal fonts are dif­fi­cult to pre­pare.

Pack­agepx­u­font
Re­pos­i­toryhttps://github.com/zr-tex8r/PXu­font
Ver­sion0.5
Li­censesMIT Li­cense
Copy­right2017 Takayuki YATO
Main­tainerTakayuki Yato
Con­tained inTeX Live as px­u­font
MiKTeX as px­u­font
TopicsFont use
CJK Font
Ja­panese
...
Guest Book Sitemap Contact Contact Author