-
Notifications
You must be signed in to change notification settings - Fork 43
error running asciidoctor-pdf-cjk-kai_gen_gothic-install #12
Comments
same here. Checking the script: It downloads fonts from I tried to download manually, but above page returns 404. |
Sorry, This gem is no longer maintained, I suggest follow the asciidoctor-pdf theme guides to use your local font. If you want to manually complete the install script, your can found fonts here: https://github.com/chloerei/asciidoctor-pdf-cjk-kai_gen_gothic/releases/tag/v0.1.0-fonts |
https://github.com/life888888/asciidoctor-pdf-cjk-ext/releases/tag/v0.1.0 Fonts :
Font Style:
Support language:
If you want Noto Serif CJK, and JP (Japanese) , download notoserif-cjk-jp.zip If you want Noto Sans Mono CJK, and TC (Traditional Chinese) , download notosansmono-cjk-tc.zip If you want Noto Sans CJK, and SC (Simplified Chinese) , download notosans-cjk-sc.zip Support Theme list is here: https://github.com/life888888/asciidoctor-pdf-cjk-ext/blob/main/ThemeList.adoc Every zip include 6 theme (For Asciidoctor PDF 2.x Theme , For Asciidoctor PDF 1.x Theme) Naming Rule is:
For Asciidoctor PDF 2.x Theme:
For Asciidoctor PDF 1.x Theme
|
provide download shell script but only for linux, bash. execute will auto download SC (Simplified Chinese) - ( sans, snasmono, serif ) |
Download Noto CJK Fonts TTF https://github.com/life888888/cjk-fonts-ttf#download-fonts |
because asciidoctor-pdf-cjk-kai_gen_gothic-install doesn't work well and stopped to maintain. - https://github.com/asciidoctor/asciidoctor-pdf/blob/v1.5.0.beta.7/docs/theming-guide.adoc#custom-fonts - https://github.com/life888888/asciidoctor-pdf-cjk-ext/releases/tag/v0.1.1 - chloerei/asciidoctor-pdf-cjk-kai_gen_gothic#12 (comment)
[1/20] Downloading KaiGenGothicCN-Bold-Italic.ttf
Traceback (most recent call last):
17: from /home/lzhou/bin/asciidoctor-pdf-cjk-kai_gen_gothic-install:23:in
<main>' 16: from /home/lzhou/bin/asciidoctor-pdf-cjk-kai_gen_gothic-install:23:in
load'15: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:30:in
<top (required)>' 14: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:30:in
chdir'13: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:31:in
block in <top (required)>' 12: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:31:in
each_with_index'11: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:31:in
each' 10: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:33:in
block (2 levels) in <top (required)>'9: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:33:in
open' 8: from /home/lzhou/.gem/ruby/gems/asciidoctor-pdf-cjk-kai_gen_gothic-0.1.1/exe/asciidoctor-pdf-cjk-kai_gen_gothic-install:34:in
block (3 levels) in <top (required)>'7: from /usr/share/ruby/open-uri.rb:35:in
open' 6: from /usr/share/ruby/open-uri.rb:735:in
open'5: from /usr/share/ruby/open-uri.rb:165:in
open_uri' 4: from /usr/share/ruby/open-uri.rb:224:in
open_loop'3: from /usr/share/ruby/open-uri.rb:224:in
catch' 2: from /usr/share/ruby/open-uri.rb:226:in
block in open_loop'1: from /usr/share/ruby/open-uri.rb:755:in
buffer_open' /usr/share/ruby/open-uri.rb:377:in
open_http': 403 Forbidden (OpenURI::HTTPError)The text was updated successfully, but these errors were encountered: