[nafees-pakistani-web-naskh-fonts] Added initial version

anish anishpatil at fedoraproject.org
Thu Dec 8 08:24:22 UTC 2011


commit 2847490264ab82333c116992de7a4009fcf3d8e2
Author: anish <anish.developer at gmail.com>
Date:   Thu Dec 8 13:55:48 2011 +0530

    Added initial version

 67-nafees-pakistani-web-naskh.conf                 |   22 +++
 NafeesPakistaniWebNaskh(BTK2.0).pdf                |  Bin 0 -> 306479 bytes
 NafeesPakistaniWebNaskh(BTK2.0).ttf                |  Bin 0 -> 472508 bytes
 Nafees_Pakistani_Naskh_License.html                |  187 ++++++++++++++++++++
 nafees-pakistani-web-naskh-fonts.spec              |   58 ++++++
 ...-pakistani-web-naskh-update-preferred-family.pe |   11 ++
 6 files changed, 278 insertions(+), 0 deletions(-)
---
diff --git a/67-nafees-pakistani-web-naskh.conf b/67-nafees-pakistani-web-naskh.conf
new file mode 100644
index 0000000..47e5851
--- /dev/null
+++ b/67-nafees-pakistani-web-naskh.conf
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<match>
+  <test name="lang" compare="contains">
+    <string>ur</string>
+  </test>
+  <test name="family">
+    <string>serif</string>
+  </test>
+  <edit name="family" mode="prepend">
+    <string>Nafees Pakistani Web Naskh</string>
+  </edit>
+</match>
+<alias>
+  <family>Nafees Pakistani Web Naskh</family>
+  <default>
+    <family>serif</family>
+  </default>
+</alias>
+</fontconfig>
+
diff --git a/NafeesPakistaniWebNaskh(BTK2.0).pdf b/NafeesPakistaniWebNaskh(BTK2.0).pdf
new file mode 100644
index 0000000..dce9ddc
Binary files /dev/null and b/NafeesPakistaniWebNaskh(BTK2.0).pdf differ
diff --git a/NafeesPakistaniWebNaskh(BTK2.0).ttf b/NafeesPakistaniWebNaskh(BTK2.0).ttf
new file mode 100644
index 0000000..d7ddac2
Binary files /dev/null and b/NafeesPakistaniWebNaskh(BTK2.0).ttf differ
diff --git a/Nafees_Pakistani_Naskh_License.html b/Nafees_Pakistani_Naskh_License.html
new file mode 100644
index 0000000..116820a
--- /dev/null
+++ b/Nafees_Pakistani_Naskh_License.html
@@ -0,0 +1,187 @@
+<html>
+
+<!-- #BeginTemplate "../../index.dwt" -->
+
+<head>
+
+<!-- #BeginEditable "doctitle" -->
+<title>License Agreement</title>
+<script type="text/javascript" language="JavaScript1.2" src="http://www.crulp.org/software/js/stmenu.js"></script>
+<!-- #EndEditable -->
+
+<LINK href="../../style.css" rel=stylesheet>
+
+</head>
+
+<body topmargin="2" leftmargin="4" rightmargin="3" >
+
+		<table border="0" cellpadding="0" cellspacing="0" width="950" height="558">
+			<!-- MSTableType="layout" -->
+			<tr>
+				<td valign="top">
+				<!-- MSCellType="DecArea" -->
+																				
+		<a target="_self" href="../../index.htm">
+		<img border="0" src="../../images/crulp_logo.gif" width="125" height="108"></a></td>
+				<td valign="top" height="108">
+				<!-- MSCellType="ContentHead" -->
+																				
+		<p align="center">&nbsp;<table border="0" cellpadding="0" style="border-collapse: collapse" width="100%" id="table4">
+					<tr>
+						<td>&nbsp;</td>
+						<td>
+						<p align="center">
+						<font color="#000080" face="Arial" size="5">
+						<span style="letter-spacing: 1pt; font-variant:small-caps">
+						<b>Center for Research 
+		in<br>
+		Urdu Language Processing</b></span></font></td>
+						<td width="57">&nbsp;</td>
+					</tr>
+					<tr>
+						<td>&nbsp;</td>
+						<td>
+						<p align="center"><br>
+		<img border="0" src="../../images/index.1.gif" width="751" height="3"></td>
+						<td width="57">&nbsp;</td>
+					</tr>
+				</table>
+				</td>
+			</tr>
+			<tr>
+				<td valign="top" width="125">
+				<!-- MSCellType="NavBody" -->
+				<p>&nbsp;<br>
+        		<p>&nbsp;<!-- #BeginEditable "menu" --><p>
+
+				<p align="center">
+        		
+<script type="text/javascript" language="JavaScript1.2" src="http://www.crulp.org/software/js/menu.js"></script>
+
+<!-- #EndEditable -->
+				<p>
+        		<br>
+        		</td>
+				<td valign="top" height="450" width="1020">
+				<!-- MSCellType="ContentBody" -->
+				<table border="0" width="100%" id="table3">
+	<tr>
+		<td width="23">&nbsp;</td>
+		<td><!-- #BeginEditable "body" -->
+
+						
+<table border="0" width="100%" id="table1">
+  <tr> 
+    <td width="55">&nbsp;</td>
+    <td width="728">
+						<p align="center"><font size="2">[ 
+						<a href="../localization.htm">Localization</a> ] [ 
+						</font><strong style="font-weight: 400"><font size="2">
+						<a href="../langproc.htm">Language Processing</a></font></strong><font size="2"> ] 
+						[
+						<a href="../ling_resources.htm">Linguistic Resources</a> ]</font></td>
+    <td width="197">&nbsp;</td>
+  </tr>
+  <tr> 
+    <td width="55">&nbsp;</td>
+    <td width="728">
+						<img border="0" src="../../images/index.2.gif" width="717" height="12"></td>
+    <td width="197">&nbsp;</td>
+  </tr>
+  <tr> 
+    <td width="55">&nbsp;</td>
+    <td width="728"><font size="4"><b>License Agreement</b></font></td>
+    <td width="197">&nbsp;</td>
+  </tr>
+  <tr> 
+    <td width="55">&nbsp; </td>
+    <td width="728">
+	<p align="center">&nbsp;</td>
+    <td width="197">&nbsp; </td>
+  </tr>
+  <tr> 
+    <td width="55">&nbsp;</td>
+    <td width="728">
+	<font face="Arial" size="2">
+	<p class="MsoNormal" align="justify">Copyright (c) 2004 by Center for 
+	Research in Urdu Language Processing (<a target="_top" href="http://www.crulp.org/">CRULP</a>), 
+	National University of Computer and Emerging Sciences, Lahore, Pakistan. 
+	All Rights Reserved.</p>
+	<p class="MsoNormal" align="justify">Permission is hereby granted, free of charge, to any person obtaining a copy 
+	of the font accompanying this license (“Font”) and associated documentation 
+	files (the “Font Software”), to reproduce and distribute the Font Software, 
+	including without limitation the rights to use, copy, merge, publish, 
+	distribute, and/or sell copies of the Font Software, and to permit persons 
+	to whom the Font Software is furnished to do so, subject to the following 
+	conditions: </p>
+	<p class="MsoNormal" align="justify">1.
+	The above copyright and trademark notices and this permission notice shall 
+	be included in all copies of one or more of the Font Software typefaces.</p>
+	<p class="MsoNormal" align="justify">2.
+	The Font Software may be modified, altered, or added to, and in particular 
+	the designs of glyphs or characters in the Fonts may be modified and 
+	additional glyphs or characters may be added to the Fonts, only if the font 
+	is renamed to names not containing either the words “Nafees” or the word “CRULP”.</p>
+	<p class="MsoNormal" align="justify">3. This License becomes null and void 
+	to the extent applicable to Font or Font Software that has been modified and 
+	is distributed under the “Nafees Pakistani Naskh” names.</p>
+	<p class="MsoNormal" align="justify">4.
+	The Font Software may be sold as part of a larger software package but no 
+	copy of one or more of the Font Software typefaces may be sold by itself.</p>
+	<p class="MsoNormal" align="justify">5. <span style="letter-spacing: 1.0pt">The font software is provided &quot;as is&quot;, 
+	without warranty of any kind, express or implied, including but not limited 
+	to any warranties of merchantability, fitness for a particular purpose and 
+	noninfringement of copyright, patent, trademark, or other right. In no event 
+	shall CRULP or NUCES be liable for any claim, damages or other liability, 
+	including any general, special, indirect, incidental, or consequential 
+	damages, whether in an action of contract, or otherwise, arising from, out 
+	of the use or inability to use the font software or from other dealings in 
+	the font software.</span></p>
+	<p class="MsoNormal" align="justify">6. Except as contained in this notice, the names of &quot;CRULP&quot; or &quot;Nafees&quot; shall 
+	not be used in advertising or otherwise to promote the sale, use or other 
+	dealings in this Font Software without prior written authorization from 
+	CRULP.</p>
+	<p class="MsoNormal" align="justify">7.
+	</font><font size="2">As a special exception, if you create a 
+	document which uses this font, and embed this font or unaltered portions of 
+	this font into the document, this font does not by itself cause the 
+	resulting document to&nbsp; be covered by the GNU General Public License. 
+	This exception does not however invalidate any other reasons why the 
+	document might be covered by the GNU General Public License. If you modify 
+	this font, you may extend this exception to your version of the font, but 
+	you are not obligated to do so. If you do not wish to do so, delete this 
+	exception statement from your version.</font></p>
+	</td>
+    <td width="197">&nbsp;</td>
+  </tr>
+  <tr> 
+    <td width="55">&nbsp;</td>
+    <td width="728">&nbsp;</td>
+    <td width="197">&nbsp;</td>
+  </tr>
+  </table>
+				
+						<!-- #EndEditable --></td>
+		<td width="223"><!-- #BeginEditable "qlink" -->&nbsp;<!-- #EndEditable --></td>
+	</tr>
+				</table>
+				</td>
+			</tr>
+		</table>
+
+</font></p>
+<p align=center> 
+<a href="mailto:webmaster at crulp.org"><font size="1pt" > webmaster at crulp.org</font></a>
+<font size=1 >
+<SCRIPT LANGUAGE="JavaScript">
+var m = "This Page was last updated on " + document.lastModified;
+var p = m.length-8;
+document.writeln ("<center>");
+document.write(m.substring(p,0)); 
+document.writeln ("</center>");
+</SCRIPT>
+</p></body>
+
+<!-- #EndTemplate -->
+
+</html>
\ No newline at end of file
diff --git a/nafees-pakistani-web-naskh-fonts.spec b/nafees-pakistani-web-naskh-fonts.spec
new file mode 100644
index 0000000..2165bd4
--- /dev/null
+++ b/nafees-pakistani-web-naskh-fonts.spec
@@ -0,0 +1,58 @@
+%global fontname   nafees-pakistani-web-naskh
+%global fontconf   67-%{fontname}.conf 
+Name:		%{fontname}-fonts
+Version:	2.0
+Release:	2%{?dist}
+Summary:	Nafees pakistani web naskh font for writing Urdu 
+
+Group:		User Interface/X	
+License:	Bitstream Vera
+URL:		http://www.crulp.org/index.htm		
+Source0:	http://www.crulp.org/Downloads/NafeesPakistaniWebNaskh(BTK2.0).ttf
+Source1:	%{fontname}-update-preferred-family.pe
+Source2:	%{fontconf}
+Source3:	http://www.crulp.org/Downloads/NafeesPakistaniWebNaskh(BTK2.0).pdf
+Source4:	http://www.crulp.org/software/license/Nafees_Pakistani_Naskh_License.html
+BuildArch:	noarch
+BuildRequires:	fontpackages-devel
+BuildRequires:	fontforge	
+Requires:	fontpackages-filesystem
+
+%description
+This font is developed on Unicode standard and is based \
+ on Naskh writing style. \
+Guidance and calligraphy of basic glyph s for the font \
+has been provided by Syed Jameel-ur- Rehman. 
+
+%prep
+
+%build
+%{_bindir}/fontforge %{SOURCE1} '%{SOURCE0}'
+
+%install
+
+
+#fonts
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+	%{buildroot}%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE2} \
+	%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+%_font_pkg -f %{fontconf} *.ttf
+
+%doc  '%{SOURCE3}' '%{SOURCE4}'
+
+
+%changelog
+* Fri Sep 09 2011 Anish Patil <apatil at redhat.com> 2.0-2 
+- Added review comments
+* Fri Aug 25 2011 Anish Patil <apatil at redhat.com> 2.0-1 
+- Initial packaging
+
diff --git a/nafees-pakistani-web-naskh-update-preferred-family.pe b/nafees-pakistani-web-naskh-update-preferred-family.pe
new file mode 100644
index 0000000..59b9050
--- /dev/null
+++ b/nafees-pakistani-web-naskh-update-preferred-family.pe
@@ -0,0 +1,11 @@
+#!/usr/bin/fontforge 
+
+
+fontfile = $1
+Open(fontfile)
+
+SetTTFName(0x409, 16, 'Nafees Pakistani Web Naskh')
+
+Generate('NafeesPakistaniWebNaskh.ttf')
+Close()
+


More information about the scm-commits mailing list