title 267433 "defoma .hints file broken due to spaces in font names"
tags 267433 +patch
tags 267433 -unreproducible
quit

I have investigated this issue while setting up a chroot with almost all the
font packages installed.  It turns out that defoma fails if the .hints file
for a font specifies a font name with spaces in the name.

Also the file name of the Negham font was misspelled in the hints file,
causing defoma to use a non-existing font file.

The following patch corrects both issues:

diff -Naur old/ttf-arabeyes.hints new/ttf-arabeyes.hints
--- old/ttf-arabeyes.hints      2005-08-21 20:41:57.000000000 +0200
+++ new/ttf-arabeyes.hints      2005-08-21 20:42:17.000000000 +0200
@@ -12,7 +12,7 @@
   Foundry = Arabeyes
   Priority = 20
 end
-begin /usr/share/fonts/truetype/ttf-arabeyes/ae_Negham.ttf
+begin /usr/share/fonts/truetype/ttf-arabeyes/ae_Nagham.ttf
   Family = AAHS
   FontName = Negham
   Encoding = Unicode
@@ -105,7 +105,7 @@
 end
 begin /usr/share/fonts/truetype/ttf-arabeyes/ae_Mash_bold.ttf
   Family = AGA
-  FontName = Mashq Bold
+  FontName = Mashq-Bold
   Encoding = Unicode
   Location = English
   Charset = ISO10646-1 ISO8859-6
@@ -144,7 +144,7 @@
 end
 begin /usr/share/fonts/truetype/ttf-arabeyes/ae_Rasheeq_bold.ttf
   Family = AGA
-  FontName = Rasheeq Bold
+  FontName = Rasheeq-Bold
   Encoding = Unicode
   Location = English
   Charset = ISO10646-1 ISO8859-6
@@ -352,7 +352,7 @@
 end
 begin /usr/share/fonts/truetype/ttf-arabeyes/ae_AlMothnna_bold.ttf
   Family = Kasr
-  FontName = AlMothnna Bold
+  FontName = AlMothnna-Bold
   Encoding = Unicode
   Location = English
   Charset = ISO10646-1 ISO8859-6



-- 
This message is hastily written, please ignore any unpleasant wordings,
do not consider it a binding commitment, even if its phrasing may
indicate so. Its contents may be deliberately or accidentally untrue.
Trademarks and other things belong to their owners, if any.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to