Bug 11326 - /usr/share/X11/fonts/encodings/encodings.dir refers to nonexistent files
Summary: /usr/share/X11/fonts/encodings/encodings.dir refers to nonexistent files
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: xorg-x11-font-utils (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Valery Inozemtsev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 14:13 MSD by Sergey Vlasov
Modified: 2007-04-06 15:30 MSD (History)
0 users

See Also:


Attachments
xorg-x11-font-utils-1.0.1-alt5.src.rpm.diff (1.07 KB, patch)
2007-04-03 14:24 MSD, Sergey Vlasov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2007-04-03 14:13:30 MSD
xorg-x11-font-utils-1.0.1-alt4

В encodings.dir есть большое количество ссылок на несжатые файлы *.enc:

$ grep -Fv .gz /usr/share/X11/fonts/encodings/encodings.dir | wc -l
65

В результате, например, описание кодировки dec-special оказывается недоступным
(оно необходимо luit для правильной поддержки символов псевдографики):

$ grep -F dec-special /usr/share/X11/fonts/encodings/encodings.dir      
dec-special ./dec-special.enc
dec-special ./dec-special.enc.gz

libfontenc использует только первую запись, обнаруживает отсутствие файла
./dec-special.enc и не пытается загружать ./dec-special.enc.gz.
Comment 1 Sergey Vlasov 2007-04-03 14:24:35 MSD
Created attachment 1883 [details]
xorg-x11-font-utils-1.0.1-alt5.src.rpm.diff

* Tue Apr 03 2007 Sergey Vlasov <vsu @ altlinux> 1:1.0.1-alt5 
- Use separate build directory for encodings to fix filenames in encodings.dir 

  (otherwise mkfontscale picks up non-gzipped files, #11326).
Comment 2 Valery Inozemtsev 2007-04-03 22:42:32 MSD
исправлено в xorg-x11-font-encodings-1.0.2-alt1