Package: ttf-indic-fonts
Version: 1:0.4.5
Severity: important
Tags: patch

After ttf-indic-fonts was split into multiple packages, defoma fails to
correctly register some of the fonts (this is a silent failure, there is no
error message but all the generated symlinks are dangling).  This is not the
same as bug #318854, which you recently fixed, thank you.

This happens because ttf-*-fonts.hints in some but not all the binary
packages from this source still say the fonts are in
/usr/share/fonts/truetype/ttf-indic-fonts/ when they are really in the
new split off directories.

The following very lightly tested patch should correct this (it also
corrects the one font still affected by 318854):

diff -Naur old/ttf-gujarati-fonts.hints new/ttf-gujarati-fonts.hints
--- old/ttf-gujarati-fonts.hints        2005-08-21 20:41:57.000000000 +0200
+++ new/ttf-gujarati-fonts.hints        2005-08-21 20:47:19.000000000 +0200
@@ -1,7 +1,7 @@
 category truetype
-begin /usr/share/fonts/truetype/ttf-indic-fonts/aakar-medium.ttf
+begin /usr/share/fonts/truetype/ttf-gujarati-fonts/aakar-medium.ttf
  Family = aakar
- FontName = aakar Medium
+ FontName = aakar-Medium
  Encoding = Unicode
  Location = English Gujarati
  Charset = ISO10646-1
@@ -11,7 +11,7 @@
  Shape = Upright
  Priority = 30
 end
-begin /usr/share/fonts/truetype/ttf-indic-fonts/lohit_gu.ttf
+begin /usr/share/fonts/truetype/ttf-gujarati-fonts/lohit_gu.ttf
  Family = Lohit-Gujarati
  FontName = Lohit-Gujarati
  Encoding = Unicode
@@ -23,7 +23,7 @@
  Shape = Upright
  Priority = 30
 end
-begin /usr/share/fonts/truetype/ttf-indic-fonts/padmaa-Bold-0.5.ttf
+begin /usr/share/fonts/truetype/ttf-gujarati-fonts/padmaa-Bold-0.5.ttf
  Family = Padmaa
  FontName = PadmaaBold
  Encoding = Unicode
@@ -35,7 +35,7 @@
  Shape = Upright
  Priority = 30
 end
-begin /usr/share/fonts/truetype/ttf-indic-fonts/padmaa-Medium-0.5.ttf
+begin /usr/share/fonts/truetype/ttf-gujarati-fonts/padmaa-Medium-0.5.ttf
  Family = Padmaa
  FontName = PadmaaMedium
  Encoding = Unicode
@@ -47,7 +47,7 @@
  Shape = Upright
  Priority = 60
 end
-begin /usr/share/fonts/truetype/ttf-indic-fonts/Rekha.ttf
+begin /usr/share/fonts/truetype/ttf-gujarati-fonts/Rekha.ttf
  Family = Rekha
  FontName = Rekha-medium
  Encoding = Unicode
diff -Naur old/ttf-kannada-fonts.hints new/ttf-kannada-fonts.hints
--- old/ttf-kannada-fonts.hints 2005-08-21 20:41:57.000000000 +0200
+++ new/ttf-kannada-fonts.hints 2005-08-21 20:47:19.000000000 +0200
@@ -1,5 +1,5 @@
 category truetype
-begin /usr/share/fonts/truetype/ttf-indic-fonts/Sampige.ttf
+begin /usr/share/fonts/truetype/ttf-kannada-fonts/Sampige.ttf
  Family = Sampige
  FontName = Sampige
  Encoding = Unicode
diff -Naur old/ttf-oriya-fonts.hints new/ttf-oriya-fonts.hints
--- old/ttf-oriya-fonts.hints   2005-08-21 20:41:57.000000000 +0200
+++ new/ttf-oriya-fonts.hints   2005-08-21 20:47:19.000000000 +0200
@@ -1,5 +1,5 @@
 category truetype
-begin /usr/share/fonts/truetype/ttf-indic-fonts/utkal.ttf
+begin /usr/share/fonts/truetype/ttf-oriya-fonts/utkal.ttf
  Family = utkal
  FontName = utkal
  Encoding = Unicode
diff -Naur old/ttf-punjabi-fonts.hints new/ttf-punjabi-fonts.hints
--- old/ttf-punjabi-fonts.hints 2005-08-21 20:41:57.000000000 +0200
+++ new/ttf-punjabi-fonts.hints 2005-08-21 20:47:19.000000000 +0200
@@ -1,5 +1,5 @@
 category truetype
-begin /usr/share/fonts/truetype/ttf-indic-fonts/lohit_pa.ttf
+begin /usr/share/fonts/truetype/ttf-punjabi-fonts/lohit_pa.ttf
  Family = Lohit-Punjabi
  FontName = Lohit-Punjabi
  Encoding = Unicode
@@ -11,7 +11,7 @@
  Shape = Upright
  Priority = 30
 end
-begin /usr/share/fonts/truetype/ttf-indic-fonts/Saab.ttf
+begin /usr/share/fonts/truetype/ttf-punjabi-fonts/Saab.ttf
  Family = Saab
  FontName = Saab
  Encoding = Unicode
diff -Naur old/ttf-telugu-fonts.hints new/ttf-telugu-fonts.hints
--- old/ttf-telugu-fonts.hints  2005-08-21 20:41:57.000000000 +0200
+++ new/ttf-telugu-fonts.hints  2005-08-21 20:47:19.000000000 +0200
@@ -1,5 +1,5 @@
 category truetype
-begin /usr/share/fonts/truetype/ttf-indic-fonts/Pothana2000.ttf
+begin /usr/share/fonts/truetype/ttf-telugu-fonts/Pothana2000.ttf
  Family = Pothana2000
  FontName = Pothana2000
  Encoding = Unicode
@@ -11,7 +11,7 @@
  Shape = Upright
  Priority = 60
 end
-begin /usr/share/fonts/truetype/ttf-indic-fonts/Vemana.ttf
+begin /usr/share/fonts/truetype/ttf-telugu-fonts/Vemana.ttf
  Family = Vemana2000
  FontName = Vemana2000
  Encoding = Unicode



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11jbj3.2.10
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)

Versions of packages ttf-indic-fonts depends on:
ii  ttf-bengali-fonts             1:0.4.5    Free TrueType fonts for the Bengal
ii  ttf-devanagari-fonts          1:0.4.5    Free TrueType fonts for languages 
ii  ttf-gujarati-fonts            1:0.4.5    Free TrueType fonts for the Gujara
ii  ttf-kannada-fonts             1:0.4.5    Free TrueType fonts for the Kannad
ii  ttf-malayalam-fonts           1:0.4.5    Free TrueType fonts for the Malaya
ii  ttf-oriya-fonts               1:0.4.5    Free TrueType fonts for the Oriya 
ii  ttf-punjabi-fonts             1:0.4.5    Free TrueType fonts for the Punjab
ii  ttf-tamil-fonts               1:0.4.5    Free TrueType fonts for the Tamil 
ii  ttf-telugu-fonts              1:0.4.5    Free TrueType fonts for the Telugu

ttf-indic-fonts recommends no packages.

-- debconf-show failed


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

Reply via email to