groff unofficial patch to support CJK fonts
This repository provides unofficial patch for groff (GNU troff) in order to better support CJK (Chinese, Japanese, Korean) fonts.
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.
- src/include/font.h
- src/libs/libgroff/font.cpp
It supports font definition by a range of unicode code points.
- src/devices/grops/ps.cpp
- src/devices/grops/ps.h
It supports UTF16 encoding.
- src/preproc/html/pre-html.cpp
- src/devices/grohtml/post-html.cpp
- src/libs/libgroff/font.cpp
It supports UTF8 encoding and CJK fonts.
Command line option -U
is added to pre-grohtml and post-grohtml.
We not need to patch for grodvi to support CJK. It outputs in upTeX dvi format.
We not need to patch for grotty to support CJK.
- font/devps/CSS
- font/devps/CSH
- font/devps/CTS
- font/devps/CTH
- font/devps/JPM
- font/devps/JPG
- font/devps/KOM
- font/devps/KOG
- font/devhtml/CSS
- font/devhtml/CSH
- font/devhtml/CTS
- font/devhtml/CTH
- font/devhtml/JPM
- font/devhtml/JPG
- font/devhtml/KOM
- font/devhtml/KOG
- font/devdvi/CSS
- font/devdvi/CSH
- font/devdvi/CTS
- font/devdvi/CTH
- font/devdvi/JPM
- font/devdvi/JPG
- font/devdvi/KOM
- font/devdvi/KOG
- font/devutf8/CSS
- font/devutf8/CSH
- font/devutf8/CTS
- font/devutf8/CTH
- font/devutf8/JPM
- font/devutf8/JPG
- font/devutf8/KOM
- font/devutf8/KOG
- src/roff/groff/tests/smoke-test_ps_device.sh
- src/roff/groff/tests/smoke-test_dvi_device.sh
- src/roff/groff/tests/smoke-test_html_device.sh
- tests/*
- tests/grodvi/*
- tests/grohtml/*
- tests/grotty/*
GNU GPL Version 3.