Re: changing font
based on the result of 'appres XTerm', i changed .Xdefaults to: *VT100.utf8Fonts.font:lucidasanstypewriter-10 This worked -- thanks. On Wed, Sep 1, 2010 at 5:06 AM, Thomas Dickey wrote: > On Tue, 31 Aug 2010, matias kaukonen wrote: > >> Yes, it displays the font but it does not set the font. Only the >> 'quit' button works. > > I was asking about the result with xfd to be sure that the font itself is > recognized. I don't see anything wrong with the description of your changes > to the X resources. > > Another place to check is whether there are conflicting font resources > shown, e.g., using "appres XTerm". > > Beyond that, I generally just compile xterm with its debugging trace > enabled and see what resource value is actually used. It's also possible > to get the nominal value of the font using an escape sequence in a script > or program such as xtermset. > >> >> On Mon, Aug 30, 2010 at 4:22 PM, Thomas Dickey wrote: >>> >>> On Mon, 30 Aug 2010, matias kaukonen wrote: >>> The above worked on my previous computer, but now it does not work with my current computer. This is what I tried: 1. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xdefaults b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources next, 2. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xresources b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources But neither one affected the xterm font. >>> >>> does >>> xfd -fn lucidasanstypewriter-10 >>> >>> display the font you asked for? > > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net > > -- > 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/ > -- 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: changing font
On Tue, 31 Aug 2010, matias kaukonen wrote: Yes, it displays the font but it does not set the font. Only the 'quit' button works. I was asking about the result with xfd to be sure that the font itself is recognized. I don't see anything wrong with the description of your changes to the X resources. Another place to check is whether there are conflicting font resources shown, e.g., using "appres XTerm". Beyond that, I generally just compile xterm with its debugging trace enabled and see what resource value is actually used. It's also possible to get the nominal value of the font using an escape sequence in a script or program such as xtermset. On Mon, Aug 30, 2010 at 4:22 PM, Thomas Dickey wrote: On Mon, 30 Aug 2010, matias kaukonen wrote: The above worked on my previous computer, but now it does not work with my current computer. This is what I tried: 1. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xdefaults b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources next, 2. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xresources b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources But neither one affected the xterm font. does xfd -fn lucidasanstypewriter-10 display the font you asked for? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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: changing font
Yes, it displays the font but it does not set the font. Only the 'quit' button works. On Mon, Aug 30, 2010 at 4:22 PM, Thomas Dickey wrote: > On Mon, 30 Aug 2010, matias kaukonen wrote: > >> The above worked on my previous computer, but now it does not work with my >> current computer. This is what I tried: >> 1. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xdefaults >> b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources >> >> next, >> 2. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xresources >> b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources >> >> But neither one affected the xterm font. > > does > xfd -fn lucidasanstypewriter-10 > > display the font you asked for? > > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net > > -- > 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/ > > -- 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: changing font
On Mon, 30 Aug 2010, matias kaukonen wrote: The above worked on my previous computer, but now it does not work with my current computer. This is what I tried: 1. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xdefaults b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources next, 2. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xresources b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources But neither one affected the xterm font. does xfd -fn lucidasanstypewriter-10 display the font you asked for? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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: changing font
The above worked on my previous computer, but now it does not work with my current computer. This is what I tried: 1. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xdefaults b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources next, 2. a) Added XTerm[.*]vt100.font:lucidasanstypewriter-10 to .Xresources b) typed: xrdb ~/.Xdefaults; xrdb ~/.Xresources But neither one affected the xterm font. -M. -- 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: changing font
Success!! And, I know a little more about how the system works. thanks, --matias On Tue, Jul 20, 2010 at 1:44 PM, Thomas Dickey wrote: > On Tue, 20 Jul 2010, matias kaukonen wrote: > >> >> - >> Then I changed .Xdefaults to >> >> - >> aterm*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 >> XTerm.font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 >> urxvt*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 > > Only the second has the potential for affecting xterm. > But there's no match for "XTerm.font". > Depending on how it is compiled, these can match: > > XTerm.vt100.font > XTerm*vt100.font > > (the latter can match an intermediate level, which is used in the > configuration that provides the toolbar/menubar). > > -- > Thomas E. Dickey > http://invisible-island.net > ftp://invisible-island.net > > -- > 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/ > > -- 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: changing font
On Tue, 20 Jul 2010, matias kaukonen wrote: - Then I changed .Xdefaults to - aterm*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 XTerm.font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 urxvt*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 Only the second has the potential for affecting xterm. But there's no match for "XTerm.font". Depending on how it is compiled, these can match: XTerm.vt100.font XTerm*vt100.font (the latter can match an intermediate level, which is used in the configuration that provides the toolbar/menubar). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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: changing font
I tried both methods and neither one produced the new font. -- 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: changing font
On Tue, Jul 20, 2010 at 12:00:21PM -0400, matias kaukonen wrote: > - > xlsfonts > - > . . . > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso10646-1 > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-10 > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-13 > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-14 > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-15 > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-2 > -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-3 > > - > Then I changed .Xdefaults to > - > aterm*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 > XTerm.font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 > urxvt*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 > - > Next, I selected the font with xfontsel, and then started > up an xterm > - > result: the font did not change > Is something incorrect or out of order? > > matt. > > -- > 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/ did you restart X after modifying Xdefaults? this page http://sgenomics.org/~jtang/blog/posts/Reloading_Xdefaults_without_restarting_X/ notes that To reread your .Xresources file, and throw away your old resources, you can type: xrdb ~/.Xdefaults -- 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/
changing font
- xlsfonts - . . . -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso10646-1 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-1 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-10 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-13 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-14 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-15 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-2 -adobe-courier-bold-r-normal--14-140-75-75-m-90-iso8859-3 - Then I changed .Xdefaults to - aterm*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 XTerm.font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 urxvt*font:-adobe-courier-bold-r-normal--17-120-100-100-m-100-iso10646-1 - Next, I selected the font with xfontsel, and then started up an xterm - result: the font did not change Is something incorrect or out of order? matt. -- 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: changing font
On Tue, Jul 13, 2010 at 10:33:14AM -0400, Reid Thompson wrote: > On Mon, Jul 12, 2010 at 04:59:11PM -0400, matias kaukonen wrote: > > 1. Could someone pls post instructions about how to reply to an existing > > post. a starting point would be to google mailing list netiquette some pointers in general, before you hit send, look at To: Cc: Bcc: etc and make sure that you're sending to who you want to addresss. Generally, this will be the mailing list address only. In rare/some cases, it may be directly to the poster -- but that is generally *rare* don't reply to digests trim the original email text to what is pertinent to your response don't top post -- either bottom post or inline post -- 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: changing font
On Mon, Jul 12, 2010 at 04:59:11PM -0400, matias kaukonen wrote: > 1. Could someone pls post instructions about how to reply to an existing post. > 2. I have a font I'd like to use and its located at > /usr/X11R6/lib/X11/fonts/TTF with > administrator permissions. > 3. How can I make this font the default for an xterm? Do I have to > set the path in > some manner? lookup the xlsfonts and xfontsel packages and how to use them to get a font. i.e. $ xlsfonts |grep -i terminus|grep medium -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso10646-1 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-1 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-13 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-15 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-16 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-2 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-5 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-7 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-iso8859-9 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-koi8-r -xos4-terminus-medium-r-normal--0-0-72-72-c-0-koi8-u -xos4-terminus-medium-r-normal--0-0-72-72-c-0-microsoft-cp1251 -xos4-terminus-medium-r-normal--0-0-72-72-c-0-paratype-pt154 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-1 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-13 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-15 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-16 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-2 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-5 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-7 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso8859-9 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-koi8-r -xos4-terminus-medium-r-normal--12-120-72-72-c-60-koi8-u -xos4-terminus-medium-r-normal--12-120-72-72-c-60-microsoft-cp1251 -xos4-terminus-medium-r-normal--12-120-72-72-c-60-paratype-pt154 -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso8859-1 snip $ grep -i termin .Xdefaults aterm*font: -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso10646-1 Xterm.font: -xos4-terminus-medium-r-normal-*-12-120-72-72-c-60-iso10646-1 urxvt*font: -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1 -- 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: changing font
On Tue, 13 Jul 2010, matias kaukonen wrote: Based on a previous suggestion: fc-list | less - Luxi Serif:style=Regular LucidaBright:style=Italic Utopia:style=Bold Italic Bitstream Vera Sans Mono:style=Bold Luxi Serif:style=Bold LucidaTypewriter:style=Sans Bold Fixed:style=Bold .. . . - So I setup my .Xdefaults to: - XTerm.VT100.scrollBar: True XTerm.VT100.visualBell: True XTerm.VT100.loginShell: True XTerm*scrollbar:True XTerm*background: Wheat XTerm*foreground: Black XTerm*font: Luxi Serif:style=Bold This might work: XTerm*font: Luxi Serif *renderFont:true --- The result, when I started up an xterm, was: --- Warning: Color name "Wheat " is not defined Warning: Color name "Black " is not defined xterm: unable to open font "Luxi Serif ", trying "fixed" xterm is only looking for the face-name (making it handle the modifiers in the pattern is something that's been recently suggested). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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: changing font
Based on a previous suggestion: fc-list | less - Luxi Serif:style=Regular LucidaBright:style=Italic Utopia:style=Bold Italic Bitstream Vera Sans Mono:style=Bold Luxi Serif:style=Bold LucidaTypewriter:style=Sans Bold Fixed:style=Bold . . . - So I setup my .Xdefaults to: - XTerm.VT100.scrollBar: True XTerm.VT100.visualBell: True XTerm.VT100.loginShell: True XTerm*scrollbar:True XTerm*background: Wheat XTerm*foreground: Black XTerm*font: Luxi Serif:style=Bold *renderFont:true --- The result, when I started up an xterm, was: --- Warning: Color name "Wheat " is not defined Warning: Color name "Black " is not defined xterm: unable to open font "Luxi Serif ", trying "fixed" What would you suggest for this case? matt -- 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: changing font
On Mon, 12 Jul 2010, matias kaukonen wrote: 1. Could someone pls post instructions about how to reply to an existing post. 2. I have a font I'd like to use and its located at /usr/X11R6/lib/X11/fonts/TTF with administrator permissions. 3. How can I make this font the default for an xterm? Do I have to set the path in some manner? You have to tell xterm to use the font by setting some resource values. One is the name of the font, which you may be able to find using fc-list (that would be the "faceName" resource), and the other is the renderFont resource, set that to true to tell xterm to use TTF's rather than bitmap fonts by default. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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/
changing font
1. Could someone pls post instructions about how to reply to an existing post. 2. I have a font I'd like to use and its located at /usr/X11R6/lib/X11/fonts/TTF with administrator permissions. 3. How can I make this font the default for an xterm? Do I have to set the path in some manner? thanks, matt -- 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: changing font
On Sat, 26 Jun 2010, matias kaukonen wrote: xfontsel seems to work (to change the font). Thanks. A related question is, given an xterm, how can I find out what the current font in use is? there's an escape sequence... and a demo in current xterm sources (a script named query-fonts.pl). vttest also has a test-screen. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net -- 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/
changing font
xfontsel seems to work (to change the font). Thanks. A related question is, given an xterm, how can I find out what the current font in use is? matias -- 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: changing font
> From: cygwin-xfree-ow...@cygwin.com [mailto:cygwin-xfree- > ow...@cygwin.com] On Behalf Of matias kaukonen > Sent: Tuesday, June 22, 2010 6:06 AM > I'm new to cygwin/xfree and I'm trying to change my xterm font. What > I did was, typed 'xlsfonts' at > the command prompt. Then I selected a font name and added it to my > .Xdefaults, for example > 'XTerm*font: -*-courier-bold-r-normal-*-*-180-*-*-*-*-iso8859-1'. > This produced the following message: > xterm: unable to open font "*", trying "fixed" I repeat this > procedure about 10 times and > got the same message each time. Is this fixable? If so, what would > you suggest? The old trick is to spark up xfontsel, which can help you narrow down to the font you want. Then push the "select" button, which copies the (oft-mistyped) font spec onto the clipboard. Next, in an xterm, type "xterm -fn '", dump the clipboard, close the single quote and hit return to verify that the font is usable. If that works, then you get to double check your .XDefaults grammar. HTH, Mike P.S. I got my setup to use that massive font as a test, and I envy your monitor, weak soul that I am.
changing font
Hello, I'm new to cygwin/xfree and I'm trying to change my xterm font. What I did was, typed 'xlsfonts' at the command prompt. Then I selected a font name and added it to my .Xdefaults, for example 'XTerm*font: -*-courier-bold-r-normal-*-*-180-*-*-*-*-iso8859-1'. This produced the following message: xterm: unable to open font "*", trying "fixed" I repeat this procedure about 10 times and got the same message each time. Is this fixable? If so, what would you suggest? thx., matias -- 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/