[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fonts.alias



Hi,

I prepared new package with ISO-8859-2 fonts (BIZNET).
I put my fonts to /usr/X11R6/lib/X11/fonts/(misc|100dpi|75dpi) directories.
The reason is the fonts are aviailable without configuration XF86Config or
font server config.

The problem is fonts.alias file. BIZNET needs own aliases but standard
aliases are owned by xfonts-*.deb packages. 

I think fonts.alias file is some kind of configuration file, then
it should be aviailable for user modifications.

My suggestion: ..../fonts.alias file should be generated from other files
in postinst, postrm scripts. Some users would like to include own aliases
but reinstalation or upgrading xfonts-*.deb package destroys it.

Solution - packages should install ..../fonts.<package>.alias file.
Then some tool reads all *.alias files, seds s/$/ # <package/, and
appends to global fonts.alias. Removing aliases is quite simple - 
grep -v " # package"

By the way, I named my package "xfonts-latin2-biznet" and I splitted
into *-misc, *-100dpi and *-75dpi. I hope the name isn't too long...

-- 

Piotr "Dexter" Roszatycki
mailto:dexter@fnet.pl


Reply to: