]> git.wh0rd.org - fontconfig.git/blobdiff - conf.d/65-fonts-persian.conf
[charset] Grow internal FcCharset arrays exponentially
[fontconfig.git] / conf.d / 65-fonts-persian.conf
index c897554538dc7be77c77410aa55cde3fba14933d..49dd29742193f65856274cec6a76ffd1eb5bae31 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0"?>
 <!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<!-- /etc/fonts/conf.d/10-fonts-persian.conf -->
 <!--
   fonts-persian.conf
   To configure Persian fonts from The FarsiWeb Project.
@@ -19,7 +18,7 @@
 
   SHARIF FARSIWEB, INC. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
   INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
-  EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+  EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
   CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
   DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
   TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
     2005-04-03  Behdad Esfahbod:  Initial revision.
     2005-10-09  Behdad Esfahbod:  Turned off back-slant and Tahoma sections.
     2005-11-30  Behdad Esfahbod:  Set Titr susbtitution size to 24 points.
-
-  Todo:
-    Add generic font "fantasy".  Add some fonts into that category.
-    Maybe add a "cursive" generic font.
+    2008       Behdad Esfahbod:  Cleanup.  Add fantasy and cursive.
   -->
 <fontconfig>
 
 
 <!-- Register the fonts that we actually do have -->
 
-       <match target="font">
+       <match target="scan">
                <test name="family">
                        <string>Elham</string>
                </test>
                </edit>
        </match>
 
-       <match target="font">
+       <match target="scan">
                <test name="family">
                        <string>Homa</string>
                </test>
                </edit>
        </match>
 
-       <match target="font">
+       <match target="scan">
                <test name="family">
                        <string>Koodak</string>
                </test>
                </edit>
        </match>
 
-       <match target="font">
+       <match target="scan">
                <test name="family">
                        <string>Nazli</string>
                </test>
                </edit>
        </match>
 
-       <match target="font">
+       <match target="scan">
                <test name="family">
                        <string>Roya</string>
                </test>
                </edit>
        </match>
 
-       <match target="font">
+       <match target="scan">
                <test name="family">
                        <string>Terafik</string>
                </test>
                </edit>
        </match>
 
-       <match target="font">
+       <match target="scan">
                <test name="family">
                        <string>Titr</string>
                </test>
                </accept>
        </alias>
 
+       <!-- Persian fantasy fonts -->
+       <alias>
+               <family>fantasy</family>
+               <accept>
+                       <family>Homa</family>
+                       <family>Kamran</family>
+                       <family>Fantezi</family>
+                       <family>Tabassom</family>
+               </accept>
+       </alias>
+
+       <!-- Persian (and Urdu) Nastaliq/cursive fonts -->
+       <alias>
+               <family>cursive</family>
+               <accept>
+                       <family>IranNastaliq</family>
+                       <family>Nafees Nastaleeq</family>
+               </accept>
+       </alias>
 
 <!-- Use Titr in titles -->