1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/chinese/xpdf/files/dot.xpdfrc
Edwin Groothuis 10dff40971 add Arphic ttf fonts support for Adobe-GB1
PR:		ports/46556
Submitted by:	Statue <statue@freebsd.sinica.edu.tw>
2003-01-03 08:21:00 +00:00

22 lines
1.5 KiB
C

#----- begin Chinese Traditional support package (2002-apr-14)
cidToUnicode Adobe-CNS1 /usr/X11R6/share/xpdf/chinese-traditional/Adobe-CNS1.cidToUnicode
unicodeMap Big5 /usr/X11R6/share/xpdf/chinese-traditional/Big5.unicodeMap
unicodeMap Big5ascii /usr/X11R6/share/xpdf/chinese-traditional/Big5ascii.unicodeMap
cMapDir Adobe-CNS1 /usr/local/share/ghostscript/Resource/CMap
toUnicodeDir /usr/local/share/ghostscript/Resource/CMap
displayCIDFontX Adobe-CNS1 "-*-fixed-medium-r-normal-*-%s-*-*-*-*-*-big5-0" Big5
# If you have the Arhpic fonts, you may want to use this instead:
# displayCIDFontX Adobe-CNS1 "-arphic-ar pl kaitim big5-medium-r-normal--%s-*-*-*-c-*-iso10646-1" UCS-2
#----- end Chinese Traditional support package
#----- begin Chinese Simplified support package (2002-apr-18)
cidToUnicode Adobe-GB1 /usr/X11R6/share/xpdf/chinese-simplified/Adobe-GB1.cidToUnicode
unicodeMap ISO-2022-CN /usr/X11R6/share/xpdf/chinese-simplified/ISO-2022-CN.unicodeMap
unicodeMap EUC-CN /usr/X11R6/share/xpdf/chinese-simplified/EUC-CN.unicodeMap
unicodeMap GBK /usr/X11R6/share/xpdf/chinese-simplified/GBK.unicodeMap
cMapDir Adobe-GB1 /usr/local/share/ghostscript/Resource/CMap
toUnicodeDir /usr/local/share/ghostscript/Resource/CMap
displayCIDFontX Adobe-GB1 "-*-fangsong ti-medium-r-normal-*-%s-*-*-*-*-*-gb2312.1980-0" ISO-2022-CN
# If you have the Arhpic fonts, you may want to use this instead:
# displayCIDFontX Adobe-GB1 "-arphic-ar pl sungtil gb-medium-r-normal--%s-*-*-*-c-*-iso10646-1" UCS-2
#----- end Chinese Simplified support package