This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fonts and symbolic links


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]