OSDN Git Service

Changed line-breaking code (CR*LF -> LF).
[luatex-ja/luatexja.git] / src / addons / luatexja-zhfonts.sty
index 8499ffb..fd5f774 100644 (file)
@@ -1,77 +1,77 @@
-% luatexja-zhfonts.sty\r
-\NeedsTeXFormat{LaTeX2e}\r
-\ProvidesPackage{luatexja-zhfonts}[2013/05/20 Setting for Chinese fonts]\r
-\RequirePackage{luatexja-fontspec}\r
-\r
-% SinoType 华文字体\r
-\DeclareOption{SinoType}{\r
-\setmainjfont[BoldFont=STZhongsong]{STSong}\r
-\setsansjfont[BoldFont=STXihei]{STXihei}\r
-\newjfontface\kai{STKaiti}\r
-\newjfontface\fang{STFangsong}\r
-}\r
-\r
-% ZhongYi 中易字体\r
-\DeclareOption{ZhongYi}{\r
-\setmainjfont[BoldFont=SimHei]{SimSun}\r
-\setsansjfont[BoldFont=SimHei]{SimHei}\r
-\newjfontface\kai{KaiTi}\r
-\newjfontface\fang{FangSong}\r
-}\r
-\r
-% Adobe Adobe字体\r
-\DeclareOption{Adobe}{\r
-\setmainjfont[BoldFont=AdobeHeitiStd-Regular]{AdobeSongStd-Light}\r
-\setsansjfont[BoldFont=AdobeHeitiStd-Regular]{AdobeHeitiStd-Regular}\r
-\newjfontface\kai{AdobeKaitiStd-Regular}\r
-\newjfontface\fang{AdobeFangsongStd-Regular}\r
-}\r
-\r
-% Founder 方正字体\r
-\DeclareOption{Founder}{\r
-\setmainjfont[BoldFont=FZXiaoBiaoSong-B05]{FZShuSong-Z01}\r
-\setsansjfont[BoldFont=FZHei-B01]{FZHei-B01}\r
-\newjfontface\kai{FZKai-Z03}\r
-\newjfontface\fang{FZFangSong-Z02}\r
-}\r
-\r
-% HanYi-J 汉仪字体-文房字宝-简体\r
-% HanYi-F 汉仪字体-文房字宝-繁体\r
-% 书宋一简 HYA9GJM.ttf\r
-% 中宋简  HYA3GJM.ttf\r
-% 中黑简  HYB1GJM.ttf\r
-% 粗黑简  HYB9GJM.ttf\r
-% 楷体简  HYC1GJM.ttf\r
-% 仿宋简  HYD1GJM.ttf\r
-\DeclareOption{HanYi-J}{\r
-\setmainjfont[BoldFont=HYA9GJM.ttf]{HYA3GJM.ttf}\r
-\setsansjfont[BoldFont=HYB9GJM.ttf]{HYB1GJM.ttf}\r
-\newjfontface\kai{HYC1GJM.ttf}\r
-\newjfontface\fang{HYD1GJM.ttf}\r
-}\r
-\r
-\DeclareOption{HanYi-F}{\r
-\setmainjfont[BoldFont=HYA9GFM.ttf]{HYA3GFM.ttf}\r
-\setsansjfont[BoldFont=HYB9GFM.ttf]{HYB1GFM.ttf}\r
-\newjfontface\kai{HYC1GFM.ttf}\r
-\newjfontface\fang{HYD1GFM.ttf}\r
-}\r
-\r
-% cwTeX TrueType (in Debian/Ubuntu)\r
-\DeclareOption{cwttf}{\r
-\setmainjfont[BoldFont=cwTeXHeiBold]{cwTeXMing}\r
-\setsansjfont[BoldFont=cwTeXHeiBold]{cwTeXHeiBold}\r
-\newjfontface\kai{cwTeXKai}\r
-\newjfontface\fang{cwTeXFangSong}\r
-}\r
-\r
-% Fandol fonts http://fandol-doc.googlecode.com/files/fandol-fonts.7z\r
-\DeclareOption{Fandol}{\r
-\setmainjfont[BoldFont=FandolSong-Bold]{FandolSong-Regular}\r
-\setsansjfont[BoldFont=FandolHei-Bold]{FandolHei-Regular}\r
-\newjfontface\kai{FandolKai-Regular}\r
-\newjfontface\fang{FandolFang-Regular}\r
-}\r
-\r
-\ProcessOptions\relax\r
-\endinput\r
+% luatexja-zhfonts.sty
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{luatexja-zhfonts}[2013/05/20 Setting for Chinese fonts]
+\RequirePackage{luatexja-fontspec}
+
+% SinoType 华文字体
+\DeclareOption{SinoType}{
+\setmainjfont[BoldFont=STZhongsong]{STSong}
+\setsansjfont[BoldFont=STXihei]{STXihei}
+\newjfontface\kai{STKaiti}
+\newjfontface\fang{STFangsong}
+}
+
+% ZhongYi 中易字体
+\DeclareOption{ZhongYi}{
+\setmainjfont[BoldFont=SimHei]{SimSun}
+\setsansjfont[BoldFont=SimHei]{SimHei}
+\newjfontface\kai{KaiTi}
+\newjfontface\fang{FangSong}
+}
+
+% Adobe Adobe字体
+\DeclareOption{Adobe}{
+\setmainjfont[BoldFont=AdobeHeitiStd-Regular]{AdobeSongStd-Light}
+\setsansjfont[BoldFont=AdobeHeitiStd-Regular]{AdobeHeitiStd-Regular}
+\newjfontface\kai{AdobeKaitiStd-Regular}
+\newjfontface\fang{AdobeFangsongStd-Regular}
+}
+
+% Founder 方正字体
+\DeclareOption{Founder}{
+\setmainjfont[BoldFont=FZXiaoBiaoSong-B05]{FZShuSong-Z01}
+\setsansjfont[BoldFont=FZHei-B01]{FZHei-B01}
+\newjfontface\kai{FZKai-Z03}
+\newjfontface\fang{FZFangSong-Z02}
+}
+
+% HanYi-J 汉仪字体-文房字宝-简体
+% HanYi-F 汉仪字体-文房字宝-繁体
+% 书宋一简 HYA9GJM.ttf
+% 中宋简  HYA3GJM.ttf
+% 中黑简  HYB1GJM.ttf
+% 粗黑简  HYB9GJM.ttf
+% 楷体简  HYC1GJM.ttf
+% 仿宋简  HYD1GJM.ttf
+\DeclareOption{HanYi-J}{
+\setmainjfont[BoldFont=HYA9GJM.ttf]{HYA3GJM.ttf}
+\setsansjfont[BoldFont=HYB9GJM.ttf]{HYB1GJM.ttf}
+\newjfontface\kai{HYC1GJM.ttf}
+\newjfontface\fang{HYD1GJM.ttf}
+}
+
+\DeclareOption{HanYi-F}{
+\setmainjfont[BoldFont=HYA9GFM.ttf]{HYA3GFM.ttf}
+\setsansjfont[BoldFont=HYB9GFM.ttf]{HYB1GFM.ttf}
+\newjfontface\kai{HYC1GFM.ttf}
+\newjfontface\fang{HYD1GFM.ttf}
+}
+
+% cwTeX TrueType (in Debian/Ubuntu)
+\DeclareOption{cwttf}{
+\setmainjfont[BoldFont=cwTeXHeiBold]{cwTeXMing}
+\setsansjfont[BoldFont=cwTeXHeiBold]{cwTeXHeiBold}
+\newjfontface\kai{cwTeXKai}
+\newjfontface\fang{cwTeXFangSong}
+}
+
+% Fandol fonts http://fandol-doc.googlecode.com/files/fandol-fonts.7z
+\DeclareOption{Fandol}{
+\setmainjfont[BoldFont=FandolSong-Bold]{FandolSong-Regular}
+\setsansjfont[BoldFont=FandolHei-Bold]{FandolHei-Regular}
+\newjfontface\kai{FandolKai-Regular}
+\newjfontface\fang{FandolFang-Regular}
+}
+
+\ProcessOptions\relax
+\endinput