Re: fonts and symbolic links

2004-08-26 Thread Alexander Gottwald
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 (

Re: new font support (was: fonts and symbolic links)

2004-08-26 Thread Igor Pechtchanski
On Thu, 26 Aug 2004, Jack Tanner wrote: Ago and Igor, If I understand your recent work correctly, Cygwin/X will (as of the next release) support using TTF fonts and will automatically have access to the fonts installed under Windows. This is exciting... I think. But can you explain the

Re: fonts and symbolic links

2004-08-25 Thread Boaz Harrosh
Igor Pechtchanski wrote: Shouldn't this be fonts.dir (note the s)? Sorry, Its a typo, all these missing ss and the wrong case. I did not paste my actual script Just re-typed it in the mail. The actual code is exactly as you said. Do you Google: http://google.com/search?q=ttmkfdir+cygwin? The

Re: fonts and symbolic links

2004-08-25 Thread Alexander Gottwald
On Wed, 25 Aug 2004, Boaz Harrosh wrote: There is a sourceforge project for ttmkfdir. They only have ELF binaries for download. It was easier to find it on the net than to compile. I found it packaged with cygwin/XFree86 so I assumed it was a part of cygwin/XFree86. it was but recently

Re: fonts and symbolic links

2004-08-25 Thread Igor Pechtchanski
On Wed, 25 Aug 2004, Alexander Gottwald wrote: On Wed, 25 Aug 2004, Boaz Harrosh wrote: There is a sourceforge project for ttmkfdir. They only have ELF binaries for download. It was easier to find it on the net than to compile. I found it packaged with cygwin/XFree86 so I assumed it

Re: fonts and symbolic links

2004-08-25 Thread Alexander Gottwald
On Wed, 25 Aug 2004, Igor Pechtchanski wrote: mkdir -p /usr/X11R6/lib/X11/fonts/windows lndir `cygpath -W` /usr/X11R6/lib/X11/fonts/windows ^ Shouldn't this be lndir `cygpath -W`'\Fonts' /usr/X11R6/lib/X11/fonts/windows actually yes. missed that when copying the

Re: fonts and symbolic links

2004-08-25 Thread Igor Pechtchanski
On Wed, 25 Aug 2004, Alexander Gottwald wrote: On Wed, 25 Aug 2004, Igor Pechtchanski wrote: mkdir -p /usr/X11R6/lib/X11/fonts/windows lndir `cygpath -W` /usr/X11R6/lib/X11/fonts/windows ^ Shouldn't this be lndir `cygpath -W`'\Fonts'

Re: fonts and symbolic links

2004-08-25 Thread Alexander Gottwald
On Wed, 25 Aug 2004, Igor Pechtchanski wrote: Sorry for the mess-up above, that should have been `cygpath -W`/Fonts (but you still need the quotes). right. mkfontscale -b -l /usr/X11R6/lib/X11/fonts/windows Is ttmkfdir needed here too? no. mkfontscale (and mkfontdir which is

Re: fonts and symbolic links

2004-08-25 Thread Alexander Gottwald
On Wed, 25 Aug 2004, Alexander Gottwald wrote: On Wed, 25 Aug 2004, Igor Pechtchanski wrote: Ah, I see now. One more question: the above commands seem to ignore all of the microsoft-cp12* encodings except microsoft-cp1252. I found that I needed to add an explicit -a microsoft-cp1251

Re: fonts and symbolic links

2004-08-25 Thread Igor Pechtchanski
On Wed, 25 Aug 2004, Alexander Gottwald wrote: On Wed, 25 Aug 2004, Alexander Gottwald wrote: On Wed, 25 Aug 2004, Igor Pechtchanski wrote: Ah, I see now. One more question: the above commands seem to ignore all of the microsoft-cp12* encodings except microsoft-cp1252. I found

Re: fonts and symbolic links

2004-08-25 Thread Alexander Gottwald
On Wed, 25 Aug 2004, Igor Pechtchanski wrote: I think of adding a wrapper which reads directories and encodings from configfiles (+some builtins) and does the fontdir update for us. Yep, that'd be great. Thanks. check the attached script. bye ago -- [EMAIL PROTECTED]

Re: fonts and symbolic links

2004-08-25 Thread Igor Pechtchanski
On Wed, 25 Aug 2004, Alexander Gottwald wrote: On Wed, 25 Aug 2004, Igor Pechtchanski wrote: I think of adding a wrapper which reads directories and encodings from configfiles (+some builtins) and does the fontdir update for us. Yep, that'd be great. Thanks. check the attached

fonts and symbolic links

2004-08-24 Thread Boaz Harrosh
As I am trying to pack a minimum X installation (see:http://cygwin.com/ml/cygwin-xfree/2004-07/msg00207.html) I have played around with using windows fonts and only supplying the smallest possible fonts in download. I have done the following: 1) run mkfontdir - in the /cygdrive/c/windows/font/

Re: fonts and symbolic links

2004-08-24 Thread Boaz Harrosh
Boaz Harrosh wrote: As I am trying to pack a minimum X installation (see:http://cygwin.com/ml/cygwin-xfree/2004-07/msg00207.html) I have played around with using windows fonts and only supplying the smallest possible fonts in download. I have done the following: 1) run mkfontdir - in the

Re: fonts and symbolic links

2004-08-24 Thread Igor Pechtchanski
On Tue, 24 Aug 2004, Boaz Harrosh wrote: As I am trying to pack a minimum X installation (see:http://cygwin.com/ml/cygwin-xfree/2004-07/msg00207.html) I have played around with using windows fonts and only supplying the smallest possible fonts in download. I have done the following: 1)