aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ipa/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/font-ipa/files/pkg-install.in')
-rw-r--r--japanese/font-ipa/files/pkg-install.in27
1 files changed, 10 insertions, 17 deletions
diff --git a/japanese/font-ipa/files/pkg-install.in b/japanese/font-ipa/files/pkg-install.in
index 6a1cdc6f8554..5532f169b572 100644
--- a/japanese/font-ipa/files/pkg-install.in
+++ b/japanese/font-ipa/files/pkg-install.in
@@ -1,13 +1,14 @@
#!/bin/sh
# $FreeBSD$
-X_FONTSDIR=%%X_FONTSDIR%%/TrueType
+X_FONTSDIR=%%X_FONTSDIR%%/OTF
catfontsdir ()
{
while read _IN
do
case "${_IN}" in
+ *-ipa-IPAUI*|*-ipa-[MU]*) echo ${_IN} ;;
*-ipa-*|[0-9]*|"") ;;
*) echo ${_IN} ;;
esac
@@ -58,22 +59,14 @@ addentries ()
{
for ENC in iso8859-1 iso10646-1 jisx0201.1976-0 jisx0208.1983-0 jisx0208.1990-0
do
- make_xlfd $ENC ipag.ttf ipa IPAGothic c
- make_xlfd $ENC ipag.ttf ipa gothic c
- make_xlfd $ENC ipagp.ttf ipa IPAPGothic p
- make_xlfd $ENC ipagp.ttf ipa gothic p
- make_xlfd $ENC ipagui.ttf ipa IPAUIGothic c
- make_xlfd $ENC ipagui.ttf ipa UIGothic c
- make_xlfd $ENC ipam.ttf ipa IPAMincho c
- make_xlfd $ENC ipam.ttf ipa mincho c
- make_xlfd $ENC ipamp.ttf ipa IPAPMincho p
- make_xlfd $ENC ipamp.ttf ipa mincho p
- make_xlfd $ENC M+2VM+IPAG-circle.ttf ipa M+2VM+IPAG_circle c
- make_xlfd $ENC M+1VM+IPAG-circle.ttf ipa M+1VM+IPAG_circle c
- make_xlfd $ENC M+1P+IPAG.ttf ipa M+1P+IPAG p
- make_xlfd $ENC M+1P+IPAG-circle.ttf ipa M+1P+IPAG_circle p
- make_xlfd $ENC M+2P+IPAG.ttf ipa M+2P+IPAG p
- make_xlfd $ENC M+2P+IPAG-circle.ttf ipa M+2P+IPAG_circle p
+ make_xlfd $ENC ipag.otf ipa IPAGothic c
+ make_xlfd $ENC ipag.otf ipa gothic c
+ make_xlfd $ENC ipagp.otf ipa IPAPGothic p
+ make_xlfd $ENC ipagp.otf ipa gothic p
+ make_xlfd $ENC ipam.otf ipa IPAMincho c
+ make_xlfd $ENC ipam.otf ipa mincho c
+ make_xlfd $ENC ipamp.otf ipa IPAPMincho p
+ make_xlfd $ENC ipamp.otf ipa mincho p
done
}