summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTong Hui <tonghuix@gmail.com>2016-10-10 02:28:42 +0800
committerTong Hui <tonghuix@gmail.com>2016-10-10 02:28:42 +0800
commit6b3a8335fe9a7f668ce863ff1510fa268b463fd7 (patch)
treec1420901417b8dc03f702ee7f453c5a275d5879c
parent23f4fcfc826c8c74bc6ebe20440f6595c50819ec (diff)
downloadfsfs-zh-6b3a8335fe9a7f668ce863ff1510fa268b463fd7.tar.xz
replace with FandolSong and FandolKai
-rw-r--r--.travis.yml2
-rw-r--r--pdf/template.tex13
2 files changed, 10 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 6f640cc..f1429bd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,8 @@ before_script:
- sudo apt-get update
- "./install.latex.ubuntu.sh"
- wget https://github.com/jgm/pandoc/releases/download/1.17.2/pandoc-1.17.2-1-amd64.deb
+ - wget -c http://mirrors.ctan.org/fonts/fandol/FandolSong-Bold.otf http://mirrors.ctan.org/fonts/fandol/FandolKai-Regular.otf http://mirrors.ctan.org/fonts/fandol/FandolSong-Regular.otf
+ - mv *.ttf /usr/share/fonts/
- sudo dpkg -i *.deb
script:
diff --git a/pdf/template.tex b/pdf/template.tex
index 8d1688b..cd77fa2 100644
--- a/pdf/template.tex
+++ b/pdf/template.tex
@@ -97,14 +97,17 @@ framexleftmargin=20pt
% 设置中文字体
\setCJKmainfont
[
- %BoldFont = WenQuanYi Micro Hei,
+ %BoldFont = FandolSong-Bold,
BoldFont = Noto Sans CJK SC, % uncomment for release build
- ItalicFont = AR PL KaitiM GB,
+ ItalicFont = FandolKai,
+ %ItalicFont = AR PL KaitiM GB,
]
- {AR PL SungtiL GB}
-\setCJKsansfont{Noto Sans CJK SC} % uncomment for release build
+ %{AR PL SungtiL GB}
+ {FandolSong}
+\setCJKsansfont{Noto Sans CJK SC}
%\setCJKsansfont{WenQuanYi Micro Hei}
-\setCJKmonofont{Noto Sans Mono CJK SC}
+\setCJKmonofont{WenQuanYi Micro Hei}
+%\setCJKmonofont{Noto Sans Mono CJK SC} % uncomment for release build
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 使用 DejaVu Sans 显示 ⚠ ☢ ☠ ✔ 这四个 dingbats 字符