t-tk / groff-CJK-font

groff unofficial patch to support CJK fonts
GNU General Public License v3.0
3 stars 0 forks source link

groff-CJK-font

groff unofficial patch to support CJK fonts

About

This repository provides unofficial patch for groff (GNU troff) in order to better support CJK (Chinese, Japanese, Korean) fonts.

Contents

The original groff 1.22.4 sources by GNU are tagged as "groff-1.22.4". The original groff 1.23.0.rc1 sources by GNU are tagged as "groff-1.23.0.rc1". The current sources are patched ones.

patches

patch for font definition

It supports font definition by a range of unicode code points.

patch for grops (backend for PostScript format)

It supports UTF16 encoding.

patch for post-grohtml (backend for HTML format)

It supports UTF8 encoding and CJK fonts. Command line option -U is added to pre-grohtml and post-grohtml.

grodvi (backend for dvi format)

We not need to patch for grodvi to support CJK. It outputs in upTeX dvi format.

grotty UTF8 outputs

We not need to patch for grotty to support CJK.

font definition

CJK font definition for grops

CJK font definition for grohtml

CJK font definition for grodvi

CJK font definition for grotty UTF-8 outputs

test samples

License

GNU GPL Version 3.

References

  1. GNU troff (groff) — a GNU project
  2. groff 1.18.1 with MULTILINGUAL support
  3. bug #62830: [grops] support CJK fonts encoded in UTF16