1
Description: Make Nafees Nastaleeq the preferred font for Urdu
2
Bug-Ubuntu: https://launchpad.net/bugs/1153188
3
Bug-Debian: https://bugs.debian.org/703456
4
That bug is not really a forward of this patch. So far it's rather a
5
discussion with Debian about adding the related .ttf file to begin with.
6
The plan is to sort things out with upstream after the 14.04 release.
7
Author: Gunnar Hjalmarsson <gunnarhj@ubuntu.com>
9
--- fonts-nafees-1.2.orig/90-fonts-nafees.conf 1970-01-01 01:00:00.000000000 +0100
10
+++ fonts-nafees-1.2/90-fonts-nafees.conf 2014-03-26 17:04:35.042119545 +0100
12
+<?xml version="1.0"?>
13
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
15
+ <match target="pattern">
16
+ <test name="lang" compare="contains">
19
+ <test qual="any" name="family">
20
+ <string>sans-serif</string>
22
+ <edit name="family" mode="prepend" binding="strong">
23
+ <string>Nafees Nastaleeq</string>
27
+ <match target="pattern">
28
+ <test name="lang" compare="contains">
31
+ <test qual="any" name="family">
32
+ <string>serif</string>
34
+ <edit name="family" mode="prepend" binding="strong">
35
+ <string>Nafees Nastaleeq</string>