On 2014-03-17 10:00, Imran Rauf wrote:
> I tried the attached xml from #31 and modify the following lines.
> <edit name="family" mode="prepend" binding="strong">
> <string>Jameel Noori Nastaleeq</string>
> </edit>
So far we have been working with Nafees Nastaleeq. Switching to e.g. Jameel Noori Nastaleeq would require the creation of a new package in Debian and Ubuntu, and there is not enough time left for that before the release of Ubuntu 14.04.
However, the attributes 'mode="prepend"' and 'binding="strong"' may well be it as regards making fontconfig pick Nafees Nastaleeq at first hand. Thanks a lot for the tip!
I have prepared a package which includes a modified XML file plus the NafeesNastaleeq.ttf file. The package (fonts-nafees) is available in my PPA at https://launchpad.net/~gunnarhj/+archive/misc
I ask you all to please download and install the fonts-nafees package in the PPA, and let us know if it gives the desired result. If you do this quickly, there is a good chance that Ubuntu 14.04 can be shipped with a decent default font setup for Urdu. :)
On 2014-03-17 10:00, Imran Rauf wrote:
> I tried the attached xml from #31 and modify the following lines.
> <edit name="family" mode="prepend" binding="strong">
> <string>Jameel Noori Nastaleeq</string>
> </edit>
So far we have been working with Nafees Nastaleeq. Switching to e.g. Jameel Noori Nastaleeq would require the creation of a new package in Debian and Ubuntu, and there is not enough time left for that before the release of Ubuntu 14.04.
However, the attributes 'mode="prepend"' and 'binding="strong"' may well be it as regards making fontconfig pick Nafees Nastaleeq at first hand. Thanks a lot for the tip!
I have prepared a package which includes a modified XML file plus the NafeesNastaleeq.ttf file. The package (fonts-nafees) is available in my PPA at https:/ /launchpad. net/~gunnarhj/ +archive/ misc
I ask you all to please download and install the fonts-nafees package in the PPA, and let us know if it gives the desired result. If you do this quickly, there is a good chance that Ubuntu 14.04 can be shipped with a decent default font setup for Urdu. :)
My own test was successful:
$ LANG=ur_PK fc-match 'sans-serif' .ttf: "Nafees" "Regular"
NafeesNastaleeq