Re: [gentoo-user] Re: fonts mostly inaccessable to xterm
On Sunday 05 Mar 2017 19:52:18 Harry Putnam wrote: > Corbin Birdwrites: > > Have you tried : xterm -fa "9x15B-ISO8859-1"? > > I mentioned that the -fa switch was not working at all. > > I've since discovered that the xterms I had were compiled with useflag > truetype disabled .. so `-truetype' Which meant xterm was compiled > without support for -fa > > > Note : that works on XTerm v325 ( tested ). > > I've recompiled xterm with useflag truetype enabled and now I have the > -fa flag so I can run the command you mentioned above now. > > That is a nice looking font... a little big on my view but > > I see something a bit off here... trying to get a smaller font of the > same type I went clear down to 4x6... but those all look just like > the "9x15B-ISO8859-1" > > xterm -fa 4x6-ISO8859-1 > > Does not say anything by way of error or explanation just shows a > terminal with the same font displayed as "9x15B-ISO8859-1" > > That can't be a desirable outcome. > > It must just be displaying the same size from 9x 8x 7x 6x 5x 4x. and > doing so silently. Have you tried creating a ~/.Xresources file with something like: xterm*faceSize:12 xterm*faceSize1:6 xterm*faceSize2:8 xterm*faceSize3:10 xterm*faceSize4:12 xterm*faceSize5:14 xterm*faceSize6:16 This seems to work here, but I do not change font sizes in real time. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: fonts mostly inaccessable to xterm
On 03/05/2017 06:52 PM, Harry Putnam wrote: > Corbin Birdwrites: > >> >> Have you tried : xterm -fa "9x15B-ISO8859-1"? > > I mentioned that the -fa switch was not working at all. > > I've since discovered that the xterms I had were compiled with useflag > truetype disabled .. so `-truetype' Which meant xterm was compiled > without support for -fa > >> Note : that works on XTerm v325 ( tested ). > > I've recompiled xterm with useflag truetype enabled and now I have the > -fa flag so I can run the command you mentioned above now. > > That is a nice looking font... a little big on my view but > > I see something a bit off here... trying to get a smaller font of the > same type I went clear down to 4x6... but those all look just like > the "9x15B-ISO8859-1" > > xterm -fa 4x6-ISO8859-1 > > Does not say anything by way of error or explanation just shows a > terminal with the same font displayed as "9x15B-ISO8859-1" > > That can't be a desirable outcome. > > It must just be displaying the same size from 9x 8x 7x 6x 5x 4x. and > doing so silently. > > I'm not running a font server. > >> The Xorg Xft font server docs specifically show how to set the "default" >> font in Xterm. Look for the section 'Configuring applications' >> >> Reference Link : >> >>> https://www.x.org/releases/X11R7.7/doc/xorg-docs/fonts/fonts.html > > Thanks for the link... much as I been googling I'm surprised I did not > see that one already... it looks quite thorough. > > The Xft server is really 'fontconfig'. No daemon running at all. --- Compile with both USE flags "truetype unicode" and the local USE flag "toolbar". That will give you control of the font size. ( xterm -> VT Fonts, uxterm -> Unicode Fonts ) --- Reference Links : ( Use flags ) https://packages.gentoo.org/packages/x11-terms/xterm ( XTerm FAQ ) http://invisible-island.net/xterm/xterm.faq.html ( Frequent problems ) http://invisible-island.net/xterm/xterm.faq.html#frequent_problems ( Scaled Fonts ) http://invisible-island.net/xterm/xterm.faq.html#scaled_font Corbin
[gentoo-user] Re: fonts mostly inaccessable to xterm
Corbin Birdwrites: > > Have you tried : xterm -fa "9x15B-ISO8859-1"? I mentioned that the -fa switch was not working at all. I've since discovered that the xterms I had were compiled with useflag truetype disabled .. so `-truetype' Which meant xterm was compiled without support for -fa > Note : that works on XTerm v325 ( tested ). I've recompiled xterm with useflag truetype enabled and now I have the -fa flag so I can run the command you mentioned above now. That is a nice looking font... a little big on my view but I see something a bit off here... trying to get a smaller font of the same type I went clear down to 4x6... but those all look just like the "9x15B-ISO8859-1" xterm -fa 4x6-ISO8859-1 Does not say anything by way of error or explanation just shows a terminal with the same font displayed as "9x15B-ISO8859-1" That can't be a desirable outcome. It must just be displaying the same size from 9x 8x 7x 6x 5x 4x. and doing so silently. I'm not running a font server. > The Xorg Xft font server docs specifically show how to set the "default" > font in Xterm. Look for the section 'Configuring applications' > > Reference Link : > >> https://www.x.org/releases/X11R7.7/doc/xorg-docs/fonts/fonts.html Thanks for the link... much as I been googling I'm surprised I did not see that one already... it looks quite thorough.
[gentoo-user] Re: fonts mostly inaccessable to xterm
Corbin Birdwrites: [...] Harry wrote: [...] >> googling for hours on this I find xterm can understand a different >> switch `xterm -fa bla-bla' >> >> However, xterm as installed from portage does not understand that >> switch at all. >> >> Some of the googling mentioned that xterm has to have that ability >> compiled in, so I wondered if our xterm is compiled for that option? A very feeble light almost came on above... [...] Harry Putnam writes: > Corbin Bird writes: > > [...] > >> Please clarify ... >> ... if this is a console only boot ( in vm ), >> ... if this is a GUI Desktop ( in vm ), >> and/or specific xterm ( i.e "x11-terms/xterm" ). Harry responds: > This is a full X host running lxde for desktop > The xterm I speak of is the real McCoy .. the one Thomas Dickey has > maintained since mid to late 90s. > > In this case: x11-terms/xterm version 327 But I just noticed when > pretend emerge just now to see what the use flags were... I see it > defaults to -truetype use flag... which may be significant. > > I'm re-emerging with USE=truetype might make some difference. > > But still would not explain the fonts that are not true type failing > to load. > > Do you know if some EXTRA_ECONF or something is needed to make xterm > recognize its -fa switch? > > I've seen in several places that -fa font-name is used instead of -fn > font-name Hitting all around it ... finally I noticed that xterm compiles with Use flag `-truetype' That feeble light finally took on some strength, I set [...] package.use/xterm With contents: `x11-terms/xterm truetype' re-emerged xterm. And now I'm happily loading fonts with the -fa switch. xterm -fa Inconsolata-Regular.ttf [...] and away it goes .. and a fine looking font it is too.
Re: [gentoo-user] Re: fonts mostly inaccessable to xterm
On 03/05/2017 01:58 PM, Harry Putnam wrote: > Corbin Birdwrites: > > [...] > >> Please clarify ... ... if this is a console only boot ( in vm ), >> ... if this is a GUI Desktop ( in vm ), and/or specific xterm ( i.e >> "x11-terms/xterm" ). > > This is a full X host running lxde for desktop The xterm I speak of > is the real McCoy .. the one Thomas Dickey has maintained since mid > to late 90s. > > In this case: x11-terms/xterm version 327 But I just noticed when > pretend emerge just now to see what the use flags were... I see it > defaults to -truetype use flag... which may be significant. > > I'm re-emerging with USE=truetype might make some difference. > > But still would not explain the fonts that are not true type failing > to load. > > Do you know if some EXTRA_ECONF or something is needed to make xterm > recognize its -fa switch? > > I've seen in several places that -fa font-name is used instead of > -fn font-name > > Here xterm calls it a bad switch or something like and fails to load > the font. > > xterm -fa "9x15B-ISO8859-1.pcf" xterm: bad command line option "-fa" > > xterm -fn "9x15B-ISO8859-1.pcf" xterm: cannot load font > '9x15B-ISO8859-1.pcf' > > And without the quotes: > > xterm -fn 9x15B-ISO8859-1.pcf xterm: cannot load font > '9x15B-ISO8859-1.pcf' > > > Have you tried : xterm -fa "9x15B-ISO8859-1"? Note : that works on XTerm v325 ( tested ). The Xorg Xft font server docs specifically show how to set the "default" font in Xterm. Look for the section 'Configuring applications' Reference Link : > https://www.x.org/releases/X11R7.7/doc/xorg-docs/fonts/fonts.html Font Directory : /usr/share/fonts/misc/ Corbin
[gentoo-user] Re: fonts mostly inaccessable to xterm
Corbin Birdwrites: [...] > Please clarify ... > ... if this is a console only boot ( in vm ), > ... if this is a GUI Desktop ( in vm ), > and/or specific xterm ( i.e "x11-terms/xterm" ). This is a full X host running lxde for desktop The xterm I speak of is the real McCoy .. the one Thomas Dickey has maintained since mid to late 90s. In this case: x11-terms/xterm version 327 But I just noticed when pretend emerge just now to see what the use flags were... I see it defaults to -truetype use flag... which may be significant. I'm re-emerging with USE=truetype might make some difference. But still would not explain the fonts that are not true type failing to load. Do you know if some EXTRA_ECONF or something is needed to make xterm recognize its -fa switch? I've seen in several places that -fa font-name is used instead of -fn font-name Here xterm calls it a bad switch or something like and fails to load the font. xterm -fa "9x15B-ISO8859-1.pcf" xterm: bad command line option "-fa" xterm -fn "9x15B-ISO8859-1.pcf" xterm: cannot load font '9x15B-ISO8859-1.pcf' And without the quotes: xterm -fn 9x15B-ISO8859-1.pcf xterm: cannot load font '9x15B-ISO8859-1.pcf'