Last active
March 3, 2018 11:53
-
-
Save fuka/65270ed0557040f051fe815511b00565 to your computer and use it in GitHub Desktop.
AsciiDoctor PDFで日本語フォントを変更するサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
font: | |
catalog: | |
Serif: | |
normal: GenYoMinJP-Regular.ttf | |
bold: GenYoMinJP-Bold.ttf | |
italic: GenYoMinJP-Regular.ttf | |
bold_italic: GenYoMinJP-Bold.ttf | |
Sans Serif: | |
normal: GenShinGothic-P-Regular.ttf | |
bold: GenShinGothic-P-Bold.ttf | |
italic: GenShinGothic-P-Regular.ttf | |
bold_italic: GenShinGothic-P-Bold.ttf | |
fallbacks: | |
- Sans Serif | |
page: | |
background_color: ffffff | |
layout: portrait | |
margin: [0.5in, 0.67in, 0.67in, 0.67in] | |
size: A4 | |
base: | |
align: left | |
font_color: 333333 | |
font_family: Serif | |
font_size: 10.5 | |
font_style: normal | |
line-height: 1.6 | |
heading: | |
align: left | |
font_color: $base_font_color | |
font_family: Sans Serif | |
font_style: normal | |
h1_font_size: 18 | |
h1_font_style: bold | |
h2_font_size: 16 | |
h2_font_style: bold | |
h3_font_size: 14 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment