Skip to content

Commit

Permalink
replace with FandolSong and FandolKai
Browse files Browse the repository at this point in the history
  • Loading branch information
tonghuix committed Oct 9, 2016
1 parent 23f4fcf commit 6b3a833
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
13 changes: 8 additions & 5 deletions pdf/template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,17 @@
% 设置中文字体
\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 字符
Expand Down

0 comments on commit 6b3a833

Please sign in to comment.