Bug 11326

Summary: /usr/share/X11/fonts/encodings/encodings.dir refers to nonexistent files
Product: Sisyphus Reporter: Sergey Vlasov <vsu>
Component: xorg-x11-font-utilsAssignee: Valery Inozemtsev <shrek>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2    
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
xorg-x11-font-utils-1.0.1-alt5.src.rpm.diff none

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