How to display X fonts with a typographical font sample

2012-03-14 Thread Leo

Hi there

This is probably an X beginners question.

I want to see the fonts which are installed on my X system. I tried  
xlsfonts, but as a command line tool it only lists the *names* of the  
fonts not a *font sample*.


Hoe do I get a list of the fonts with some text written in that  
particular font? is there an X program for this?


Many thanks, Leo



--
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/



In an X app how can I access the window menu via a keyboard shortcut?

2012-03-14 Thread Leo
I'm trying to set up my X environment under MS Windows in a MS Windows  
kind of way.


So e.g. in an X application running rootless with the XWin Server, how  
can I access for the main window menu via keyboard shortcuts? I mean  
the standard menu wihich you get by clicking in the top left corner of  
the window.


In  normal Windows apps Alt-Space opens that menu and e.g. typing than  
n minimizes the window (very handy!).


How can I do this for an X app?



--
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 under X in Emacs' menus

2012-03-11 Thread Leo
Hi there

I made the switch to Cygwin/X Emacs and the font for the menus is very big  and 
(to my knowledge) not easily adjusted with emacs functions.

Is there a way via X to modify the menus and make the font smaller?

Many thanks, Leo

--
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 under X in Emacs' menus

2012-03-11 Thread Leo

On 12/03/2012, at 7:26 AM, Angelo Graziosi wrote:

 Leo wrote:
 
 I made the switch to Cygwin/X Emacs and the font for the menus is very big  
 and (to my knowledge) not easily adjusted with emacs functions.
 
 In my .Xdefaults I have
 
 Emacs.FontBackend:  xft
 Emacs.font: Bitstream Vera Sans Mono 11
 
 and Emacs in X looks just fine.

From my understanding, with these values in your .Xdefaults you set only the 
main font, but not the font in the menus.


--
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: rxvt fonts size setting problem for X/Cygwin

2005-11-24 Thread Leo
On 11/22/05, Igor Pechtchanski  wrote:
 On Tue, 22 Nov 2005, Leo wrote:

  On 11/22/05, Igor Pechtchanski wrote:
   On Tue, 22 Nov 2005, faif cn wrote:
  
Hello All,
   
I use rxvt in cygwin in dos shell without X. Font size is set on
.Xdefaults as
Rxvt*font: Lucida Console-14
   
But when I run rxvt in X, the fonts size of rxvt terminal is too
small. The same setting seems not affect rxvt in X? How can I keep
fonts as same as big in cygwin dos shell?
  
   First off, if you use rxvt, it's not a DOS shell.
  
   Secondly, X uses a different font selection scheme from W11 (the X
   interface wrapper around the native Windows calls that rxvt uses).  W11
   uses Windows font names.  For a list of available X fonts, run xlsfonts
   (or use xfontsel to select fonts visually).
 
  Thank you. If I understand you right, the fonts name shown by xlsfonts
  or xfontsel should be used for X.

 Yes.

  But I changed .Xdefaults font section by using name listed by xlsfonts,
  the native rxvt fonts changes, whereas X version rxvt doesn't. Am I
  missing your points?

 I don't think so.  When I do this, the font changes in both the Windows
 mode and the X mode (to different things, of course).  How do you invoke
 the X-mode rxvt?  Do you have a script or an alias that passes the -fn
 option to rxvt?

Yes, you are right. I did have script with -fn which messed up this. many thanks

--
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: rxvt fonts size setting problem for X/Cygwin

2005-11-24 Thread Leo
On 11/23/05, Charles Wilson  wrote:
 Igor Pechtchanski wrote:
  I don't know of an easy way to dispatch to a font name based on whether
  you're running X or native.  You could try playing with window names and
  using this as a selector in your .Xdefaults...
Igor

 Here's what I do:

 (1) ~/.Xdefaults has the following (if you ignore the silly mailer line
 wrapping):

 rxvt*background:#40
 rxvt*foreground:#bf
 rxvt*scrollBar: true
 rxvt*scrollBar_right:   true
 rxvt*font:  -bitstream-bitstream vera sans
 mono-medium-r-normal--*-120-*-*-m-*-iso8859-1
 rxvt*boldfont:  -bitstream-bitstream vera sans
 mono-bold-r-normal--*-120-*-*-m-*-iso8859-1
 rxvt*saveLines: 1
 rxvt*loginshell:true
 rxvt.backspacekey:  ^H

 (2) I have a shortcut to start rxvt-X with the following target (where
 'runrxvt.exe' is a copy of run.exe):

 C:\cygwin\bin\runrxvt.exe -display 127.0.0.1:0.0 -tn rxvt-cygwin -e
 /usr/bin/bash --login -i

 One thing I haven't worked out is, if I click this shortcut with no X
 server running, I get a gigantic rxvt-native window with absolutely huge
 font.  But that's my error; I just close the window, start the X server,
 and go again.  Problem solved.

 (3) I have a shortcut to start rxvt-native with the following target
 (ditto runrxvt.exe):

 C:\cygwin\bin\runrxvt.exe -display :0 -fn Bitstream Vera Sans Mono-16
 -tn rxvt-cygwin-native -e /usr/bin/bash --login -i

 The colors and other settings from the .Xdefaults file are actually used
 by both versions -- but the rxvt-native one uses the command line -fn
 font instead of the .Xdefaults value.

 (I also have 'rxvt' aliased depending on the current value of $TERM, so
 that subsidiary rxvt windows launched from the command line 'inherit'
 X-ness or Native-ness, but that's a different issue).

 --
 Chuck

Great! Thanks, I am using two shortcuts now and the native one has -fn
to overwrite value on .Xdefault. That works. Thank you all for your
response!

Leo

--
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: rxvt fonts size setting problem for X/Cygwin

2005-11-22 Thread Leo
On 11/22/05, Igor Pechtchanski wrote:
 On Tue, 22 Nov 2005, faif cn wrote:

  Hello All,
 
  I use rxvt in cygwin in dos shell without X. Font size is set on
  .Xdefaults as
  Rxvt*font: Lucida Console-14
 
  But when I run rxvt in X, the fonts size of rxvt terminal is too
  small. The same setting seems not affect rxvt in X? How can I keep
  fonts as same as big in cygwin dos shell?

 First off, if you use rxvt, it's not a DOS shell.

 Secondly, X uses a different font selection scheme from W11 (the X
 interface wrapper around the native Windows calls that rxvt uses).  W11
 uses Windows font names.  For a list of available X fonts, run xlsfonts
 (or use xfontsel to select fonts visually).
Thank you. If I understand you right, the fonts name shown by xlsfonts
or xfontsel should be used for X. But I changed .Xdefaults font
section by using name listed by xlsfonts, the native rxvt fonts
changes, whereas X version rxvt doesn't. Am I missing your points?

--
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/



Try to make minimal XServer

2005-04-03 Thread Leo
Hello.

I'd like to run X-apps on the remote Unix and see them on my notebook with 
CygWin XServer.
The simpliest installation gives workable X, but suffer almost 100M
I've got the xwin.exe itsef and added its libs (cygfreetype-6.dll cygwin1.dll 
cygX11-6.dll cygz.dll). Now it tries to start but cannot found fonts
***
Fatal server error:
could not open default font 'fixed'
***
What exactly it need? FAQ says reinstall X-fonts pakage, but it isn't a way 
in my case :)
Thanx!