public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* changing font
@ 2010-07-20 16:00 matias kaukonen
  2010-07-20 16:10 ` Reid Thompson
  2010-07-20 17:44 ` Thomas Dickey
  0 siblings, 2 replies; 20+ messages in thread
From: matias kaukonen @ 2010-07-20 16:00 UTC (permalink / raw)
  To: cygwin-xfree

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


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-20 16:00 changing font matias kaukonen
@ 2010-07-20 16:10 ` Reid Thompson
  2010-07-20 17:06   ` matias kaukonen
  2010-07-20 17:44 ` Thomas Dickey
  1 sibling, 1 reply; 20+ messages in thread
From: Reid Thompson @ 2010-07-20 16:10 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Reid Thompson

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-20 16:10 ` Reid Thompson
@ 2010-07-20 17:06   ` matias kaukonen
  0 siblings, 0 replies; 20+ messages in thread
From: matias kaukonen @ 2010-07-20 17:06 UTC (permalink / raw)
  To: Reid Thompson, cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-20 16:00 changing font matias kaukonen
  2010-07-20 16:10 ` Reid Thompson
@ 2010-07-20 17:44 ` Thomas Dickey
  2010-07-20 18:59   ` matias kaukonen
  1 sibling, 1 reply; 20+ messages in thread
From: Thomas Dickey @ 2010-07-20 17:44 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-20 17:44 ` Thomas Dickey
@ 2010-07-20 18:59   ` matias kaukonen
  2010-08-30 20:23     ` matias kaukonen
  0 siblings, 1 reply; 20+ messages in thread
From: matias kaukonen @ 2010-07-20 18:59 UTC (permalink / raw)
  To: cygwin-xfree

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 <dickey@his.com> 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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-20 18:59   ` matias kaukonen
@ 2010-08-30 20:23     ` matias kaukonen
  2010-08-31 12:34       ` Thomas Dickey
  0 siblings, 1 reply; 20+ messages in thread
From: matias kaukonen @ 2010-08-30 20:23 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-08-30 20:23     ` matias kaukonen
@ 2010-08-31 12:34       ` Thomas Dickey
  2010-08-31 17:00         ` matias kaukonen
  0 siblings, 1 reply; 20+ messages in thread
From: Thomas Dickey @ 2010-08-31 12:34 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-08-31 12:34       ` Thomas Dickey
@ 2010-08-31 17:00         ` matias kaukonen
  2010-09-01  9:07           ` Thomas Dickey
  0 siblings, 1 reply; 20+ messages in thread
From: matias kaukonen @ 2010-08-31 17:00 UTC (permalink / raw)
  To: cygwin-xfree

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 <dickey@his.com> 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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-08-31 17:00         ` matias kaukonen
@ 2010-09-01  9:07           ` Thomas Dickey
  2010-09-01 14:33             ` matias kaukonen
  0 siblings, 1 reply; 20+ messages in thread
From: Thomas Dickey @ 2010-09-01  9:07 UTC (permalink / raw)
  To: cygwin-xfree

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1446 bytes --]

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 <dickey@his.com> 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

[-- Attachment #2: Type: text/plain, Size: 223 bytes --]

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-09-01  9:07           ` Thomas Dickey
@ 2010-09-01 14:33             ` matias kaukonen
  0 siblings, 0 replies; 20+ messages in thread
From: matias kaukonen @ 2010-09-01 14:33 UTC (permalink / raw)
  To: cygwin-xfree

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 <dickey@his.com> 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 <dickey@his.com> 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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-13 14:33 ` Reid Thompson
@ 2010-07-13 14:44   ` Reid Thompson
  0 siblings, 0 replies; 20+ messages in thread
From: Reid Thompson @ 2010-07-13 14:44 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-12 20:59 matias kaukonen
  2010-07-12 21:28 ` Thomas Dickey
@ 2010-07-13 14:33 ` Reid Thompson
  2010-07-13 14:44   ` Reid Thompson
  1 sibling, 1 reply; 20+ messages in thread
From: Reid Thompson @ 2010-07-13 14:33 UTC (permalink / raw)
  To: cygwin-xfree; +Cc: Reid Thompson

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-13 13:09 matias kaukonen
@ 2010-07-13 13:12 ` Thomas Dickey
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Dickey @ 2010-07-13 13:12 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
@ 2010-07-13 13:09 matias kaukonen
  2010-07-13 13:12 ` Thomas Dickey
  0 siblings, 1 reply; 20+ messages in thread
From: matias kaukonen @ 2010-07-13 13:09 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-07-12 20:59 matias kaukonen
@ 2010-07-12 21:28 ` Thomas Dickey
  2010-07-13 14:33 ` Reid Thompson
  1 sibling, 0 replies; 20+ messages in thread
From: Thomas Dickey @ 2010-07-12 21:28 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* changing font
@ 2010-07-12 20:59 matias kaukonen
  2010-07-12 21:28 ` Thomas Dickey
  2010-07-13 14:33 ` Reid Thompson
  0 siblings, 2 replies; 20+ messages in thread
From: matias kaukonen @ 2010-07-12 20:59 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: changing font
  2010-06-27  1:03 matias kaukonen
@ 2010-06-27  1:21 ` Thomas Dickey
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Dickey @ 2010-06-27  1:21 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* changing font
@ 2010-06-27  1:03 matias kaukonen
  2010-06-27  1:21 ` Thomas Dickey
  0 siblings, 1 reply; 20+ messages in thread
From: matias kaukonen @ 2010-06-27  1:03 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

* RE: changing font
  2010-06-22 13:11 matias kaukonen
@ 2010-06-22 17:21 ` Mike Ayers
  0 siblings, 0 replies; 20+ messages in thread
From: Mike Ayers @ 2010-06-22 17:21 UTC (permalink / raw)
  To: cygwin-xfree

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain;	charset="UTF-8", Size: 1221 bytes --]

> From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-
> owner@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.

\x16º&s(0Š|_­ç«zÛ«Ÿoyç©b²Ö«r\x172ƒ\b§ÅúÞ

^ permalink raw reply	[flat|nested] 20+ messages in thread

* changing font
@ 2010-06-22 13:11 matias kaukonen
  2010-06-22 17:21 ` Mike Ayers
  0 siblings, 1 reply; 20+ messages in thread
From: matias kaukonen @ 2010-06-22 13:11 UTC (permalink / raw)
  To: cygwin-xfree

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/


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2010-09-01 14:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-20 16:00 changing font matias kaukonen
2010-07-20 16:10 ` Reid Thompson
2010-07-20 17:06   ` matias kaukonen
2010-07-20 17:44 ` Thomas Dickey
2010-07-20 18:59   ` matias kaukonen
2010-08-30 20:23     ` matias kaukonen
2010-08-31 12:34       ` Thomas Dickey
2010-08-31 17:00         ` matias kaukonen
2010-09-01  9:07           ` Thomas Dickey
2010-09-01 14:33             ` matias kaukonen
  -- strict thread matches above, loose matches on Subject: below --
2010-07-13 13:09 matias kaukonen
2010-07-13 13:12 ` Thomas Dickey
2010-07-12 20:59 matias kaukonen
2010-07-12 21:28 ` Thomas Dickey
2010-07-13 14:33 ` Reid Thompson
2010-07-13 14:44   ` Reid Thompson
2010-06-27  1:03 matias kaukonen
2010-06-27  1:21 ` Thomas Dickey
2010-06-22 13:11 matias kaukonen
2010-06-22 17:21 ` Mike Ayers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).