Why

This project was forked from chloerei/asciidoctor-pdf-cjk-kai_gen_gothic. The only difference between these two projects is that this project INCLUDES the font files in the fonts directory, so you don't need to run the post script after gem installation. This project has only KaiGenGothicKR files in the fonts directory for performance reason, so if you want to use another language, fork this project, tweak it, and use it.

Asciidoctor::Pdf::CJK::KaiGenGothic

A Asciidoctor PDF theme, using font KaiGen Gothic. Include CN/JP/KR/TW glyphs.

Installation

Add this line to your application's Gemfile:

gem 'asciidoctor-pdf-cjk-kaigen-gothic-kr', '~> 0.1.0'

And then execute:

$ bundle

Or install it yourself as:

$ gem install asciidoctor-pdf-cjk-kaigen-gothic-kr

Usage

Render PDF:

$ asciidoctor-pdf -r asciidoctor-pdf-cjk-kaigen-gothic-kr -a pdf-style=KaiGenGothicKR doc.asc

Available themes:

  • KaiGenGothicCN
  • KaiGenGothicJP
  • KaiGenGothicKR
  • KaiGenGothicTW

License

Code: MIT License

Fonts:

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/buo/asciidoctor-pdf-cjk-kaigen-gothic-kr.