aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-mplus-ipa/files
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-11-13 19:03:15 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-11-13 19:03:15 +0000
commit2eb6a810748517386f39a3f4fe8edd430df3fdc5 (patch)
treea3bd4961600159b9de7d53715a49b3d26ea9d617 /japanese/font-mplus-ipa/files
parent030628d117fc176f275713ace3e757375c15d92b (diff)
- Add a dependency on fc-cache(1) and invoke it when install/deinstall[1]
- Add conf.d/2.ipa-ttfonts.conf configuration file[1] - Some style changes. PR: ports/88878[1] Submitted by: NIIMI Satoshi (sa2c at sa2c dot net)[1]
Notes
Notes: svn path=/head/; revision=148143
Diffstat (limited to 'japanese/font-mplus-ipa/files')
-rw-r--r--japanese/font-mplus-ipa/files/2.ipa-ttfonts.conf40
1 files changed, 40 insertions, 0 deletions
diff --git a/japanese/font-mplus-ipa/files/2.ipa-ttfonts.conf b/japanese/font-mplus-ipa/files/2.ipa-ttfonts.conf
new file mode 100644
index 000000000000..d5eb606ae7cf
--- /dev/null
+++ b/japanese/font-mplus-ipa/files/2.ipa-ttfonts.conf
@@ -0,0 +1,40 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<!-- $FreeBSD$ -->
+<fontconfig>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>IPAPMincho</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>IPAPGothic</family>
+ <family>IPAUIGothic</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>monospace</family>
+ <prefer>
+ <family>IPAGothic</family>
+ <family>IPAMincho</family>
+ </prefer>
+ </alias>
+ <match target="font">
+ <test name="family">
+ <string>IPAMincho</string>
+ <string>IPAGothic</string>
+ <string>IPAPMincho</string>
+ <string>IPAPGothic</string>
+ <string>IPAUIGothic</string>
+ </test>
+ <edit name="hintstyle">
+ <const>hintslight</const>
+ </edit>
+ <edit name="autohint">
+ <bool>false</bool>
+ </edit>
+ </match>
+</fontconfig>