Re: fonts in Cygwin

2005-08-14 Thread Klaus Kassner

Michael Denk wrote (schrieb, a écrit):

On Mon, 1 Aug 2005, Klaus Kassner wrote:



 Actually I got Helvetica Narrow working. I don't know how Debian handles


Well, I did not, so far :-(.  I have not done everything *exactly* as 
you describe, because that was not possible, but I think I was close 
enough that it should have worked, unless I overlooked something important.



XXX.alias files as normally only files named fonts.alias are recognized as
aliases. I appended the content from this file to fonts.alias, did some


I just copied gsfonts-x11.alias to fonts.alias, because there was no 
previous fonts.alias in Type1.



renaming (e.g. medium vs. regular), copied the fonts from the ghostscript
fonts dir to the Type1 fonts dir and called font-update to rebuild
fonts.dir, fonts.scale and the font cache. 


I did that, too, except for the renaming, since I did not know which 
fonts to rename to what.  Incidentally, there is no man page of 
font-update and font-update -h does not give any information either. 
Is it usable only to rebuild fonts.dir and the other stuff in 
/usr/X11R6/lib/X11/fonts?


I had to remove some of the copied fonts, because font-update did not 
find font sizes and font weights for them.  These were all the fonts 
starting with hr.  But then font-update worked through the directory 
without error message, and I restarted the X server.  After calling 
xfig, I had to notice that now xfig did not even find the Times Roman 
fonts, not to speak of Helvetica Narrow...


Fortunately (or rather, cautiously), I had made a backup of the Type1 
directory and after removing the spoilt one and replacing it by the 
backup, everything worked as before - that is, most fonts were present, 
but Helvetica Narrow was not.  (But when starting xfig, I always get a 
warning: startup scroll not found, which I don't really understand and 
which does not seem to affect its functioning.)



After restarting the X server
this worked for some fonts in Xfig or xfontsel, others crashed the
applications.
 I found some information on the internet that Debian users who have
installed gsfonts-x11 experienced similar behavior to some extent. I wrote
some nifty installation script that does all the work in setting up the
mappings to the ghostscript fonts but as long as I don't know why some
fonts cause these crashes I prefer not to publish it. This could take a
while.


My question is then: did you use the ghostscript fonts from your cygwin 
installation (this is what I did) or those from some other Linux/Unix 
system?


What I'll probably try next is to get only Helvetica-Narrow running, 
i.e. copy only those few fonts, because they are actually the only ones 
I need in addition to those working already.  But I do not understand 
why the system lost the Times Roman fonts.  How does the fonts.alias 
mechanism work?  I read that you can have one fonts.alias for several 
directories.  But there was one in almost every font directory under 
/usr/X11R6/lib/X11/fonts.  And the Times fonts are not in Type1, 
apparently, so I don't understand how changing directory Type1 and none 
of the others can render them invisible...



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: fonts in Cygwin

2005-08-01 Thread Klaus Kassner

Michael Denk wrote:

On Sun, 24 Jul 2005, Klaus Kassner wrote:



I do get most fonts correctly, including, incidentally, the normal
Helvetica.  But some of the fonts are not there, in particular
Helvetica-Narrow.


 Ah, now I see your problem. Doesn't work for me either with
Helvetica-Narrow.



So I don't get Helvetica-Narrow, nor, I believe ZapfChancery.  In any
case there are several fonts missing, including Helvetica-Narrow.  Are
there people out there who have them in their default cygwin
installation?


 I did some research: The Postscript fonts that Ghostscript uses aren't
normally available to X programs, e.g. Xfig. This causes the error
messages about missing fonts you mentioned.
 You mentioned the Debian package gsfonts-x11. This package solves the
above problem by telling X of the existence of the Ghostscript fonts. I'm
currently working on a similar solution for Cygwin---stay tuned.


Sure, I will :-).  I am very interested in getting this to work, since I 
mostly use Helvetica Narrow in my slides.  I have tried to find out 
where these fonts are on my work computer, where everything is available 
under ubuntu, but I have not yet fully figured out how to use them on 
other computers.  It seems that Helvetica Narrow is actually some Nimbus 
Sans font and there is a file /etc/X11/fonts/Type1/gsfonts-x11.alias 
containing the mapping.  So maybe this is part of the way to tell X of 
the existence of the Ghostscript fonts, but I doubt it is the complete 
picture.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: fonts in Cygwin

2005-07-24 Thread Klaus Kassner

Michael Denk wrote (schrieb, a écrit):

On Fri, 22 Jul 2005, Klaus Kassner wrote:



I have xfig installed under cygwin.  The program runs fine, but if I try
to input text at size 30 in font Helvetica (which I often do for
transparencies), then it does not find the fonts and displays the text
as an ugly 12pt times roman.


 WJFFM. I have installed all font packages for the X Server, though. I'm
guessing the fonts you are lacking are in the package xorg-x11-fnts. You
can find it under the category X11 in the Cygwin setup program. If
installing this package doesn't help try installing the other font
packages as well.


I looked at my installation.  I have the xorg-x11-fnts (and I believe 
all other font packages), and reinstalling them did not change things. 
However, I noted that I did not completely realize the nature of the 
problem: I do get most fonts correctly, including, incidentally, the 
normal Helvetica.  But some of the fonts are not there, in particular 
Helvetica-Narrow.  This was just the first font problem I noticed, since 
Helvetica-Narrow is the font I most often use in transparencies, and I 
had taken some xfig-generated transparencies from my work computer to my 
home computer to modify them, which I could not do for lack of the font. 
 I then generalized the problem incorrectly, assuming that *all* larger 
fonts were missing, probably, because xfig does not replace a missing 
font by a similar one but just by Times-Roman, size 12.


So I don't get Helvetica-Narrow, nor, I believe ZapfChancery.  In any 
case there are several fonts missing, including Helvetica-Narrow.  Are 
there people out there who have them in their default cygwin installation?


Now I'm asking myself, whether the font files are different on different 
linux systems.  Since I have fonts in the same directories on my work 
computer (running under linux) as under cygwin on my home computer, and 
they seem to have the same names (I'll have to verify that in detail), I 
wonder whether the problem could be simply solved by copying the missing 
font files by hand from my work computer to my home computer...


--
Klaus Kassner


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



fonts in Cygwin

2005-07-22 Thread Klaus Kassner
I have xfig installed under cygwin.  The program runs fine, but if I try 
to input text at size 30 in font Helvetica (which I often do for 
transparencies), then it does not find the fonts and displays the text 
as an ugly 12pt times roman.


A similar problem on my work computer running under linux was solved by 
the administrator doing an atp-get to install gsfonts-X11.  How do I do 
 a similar thing with cygwin?  (Ghostscript and ghostview are 
installed, but apparently that does not automatically provide the fonts 
mentioned.)


--
Klaus Kassner


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Initial run of BASH doesn't initialize home directory

2005-07-13 Thread Klaus Kassner

Tom Smith schrieb:

With all due respect, Igor, I think you missed my point.

The point is this:

1) I ran the Cygwin setup.exe and the Cygwin/X setup.exe (a distinction
made by the cygwin.com web site itself) on the same computer.


This distinction is apparently confusing.  The two files setup.exe are 
identical.



2) The Cygwin/X installation gave me grief as mentioned in my initial post.
3) The Cygwin installation gave me no grief and worked perfectly.