fonts and symbolic links

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Thu Aug 26 10:07:00 GMT 2004


On Wed, 25 Aug 2004, Igor Pechtchanski wrote:

> How about
> 
> ENCODINGS=`(
> cd /usr/X11R6/lib/X11/fonts/encodings && ls microsoft-cp* | sed -e 's/.enc$//'
> test -r "$ENC_FILE" && sed -e 's/#.*$//' -e '/^ *$/d' "$ENC_FILE"
> ) | sed -e 's/^/-a /'`

seams reasonable. 

> Again, what about something like
> 
> (
> ls -d /usr/X11R6/lib/X11/fonts/*
> test -r "$DIR_FILE" && sed -e 's/#.*$//' -e '/^ *$/d' "$DIR_FILE"
> ) | while read fontdir; do

this too.

> I'm sure there's a way to make the above shorter, but if it works, why 
> bother?  Looks reasonable.

I'll think I'll add this to xorg-x11-bin in the next release and adjust the 
post-install scripts for the font packages

bye
	ago 
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list