Asciidoctor::Pdf::CJK::KaiGenGothic
A Asciidoctor PDF theme, using font KaiGen Gothic. Include CN/JP/KR/TW glyphs.
Warning
This is an unofficial extended support of asciidoctor-pdf-cjk-kai_gen_gothic.
This official gem is no longer maintained. Detail information can find on: https://github.com/chloerei/asciidoctor-pdf-cjk-kai_gen_gothic
I won't make any change to the font, just make sure it can be downloaded.
Installation
Add to Gemfile:
gem 'asciidoctor-pdf-cjk-kai_gen_gothic-ex', '~> 0.1.2'
then execute:
$ bundle
or:
$ gem install asciidoctor-pdf-cjk-kai_gen_gothic-ex
Download fonts:
$ asciidoctor-pdf-cjk-kai_gen_gothic-install
Usage
Render PDF:
$ asciidoctor-pdf -r asciidoctor-pdf-cjk-kai_gen_gothic-ex -a pdf-style=THEME doc.asc
Available themes:
- KaiGenGothicCN
- KaiGenGothicJP
- KaiGenGothicKR
- KaiGenGothicTW
License
Code: MIT License
Fonts:
- KaiGenGothic SIL Open Font License, repo: https://github.com/akiratw/kaigen-gothic
- Roboto Mono Apache 2 license, repo: https://github.com/google/fonts
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/Sherry520/asciidoctor-pdf-cjk-kai_gen_gothic-ex.