~ubuntu-branches/ubuntu/wily/fonts-nafees/wily

« back to all changes in this revision

Viewing changes to debian/patches/fontconfig-recipe.patch

  • Committer: Package Import Robot
  • Author(s): Gunnar Hjalmarsson, Gunnar Hjalmarsson, Iain Lane
  • Date: 2014-04-07 11:57:49 UTC
  • Revision ID: package-import@ubuntu.com-20140407115749-pvytv23tbxj6mxp0
Tags: 1.2-5ubuntu1
[ Gunnar Hjalmarsson ]
* debian/extras/NafeesNastaleeq.ttf:
  - Nafees Nastaleeq added.
* debian/patches/fontconfig-recipe.patch:
  - Make Nafees Nastaleeq the preferred font for Urdu (LP: #1153188).

[ Iain Lane ]
* Add Nastaleeq license to d/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>
 
8
 
 
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
 
11
@@ -0,0 +1,27 @@
 
12
+<?xml version="1.0"?>
 
13
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 
14
+<fontconfig>
 
15
+       <match target="pattern">
 
16
+               <test name="lang" compare="contains">
 
17
+                       <string>ur</string>
 
18
+               </test>
 
19
+               <test qual="any" name="family">
 
20
+                       <string>sans-serif</string>
 
21
+               </test>
 
22
+               <edit name="family" mode="prepend" binding="strong">
 
23
+                       <string>Nafees Nastaleeq</string>
 
24
+               </edit>
 
25
+       </match>
 
26
+
 
27
+       <match target="pattern">
 
28
+               <test name="lang" compare="contains">
 
29
+                       <string>ur</string>
 
30
+               </test>
 
31
+               <test qual="any" name="family">
 
32
+                       <string>serif</string>
 
33
+               </test>
 
34
+               <edit name="family" mode="prepend" binding="strong">
 
35
+                       <string>Nafees Nastaleeq</string>
 
36
+               </edit>
 
37
+       </match>
 
38
+</fontconfig>