Re: XTerm font resource

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 27 Feb 2020 at 13:52, Dave Close <dave@xxxxxxxxxxx> wrote:
Andras Simon wrote:

>Maybe this could help you locate the right font:
>
>xfontsel - point and click selection of X11 font names
>
>xfontsel is in the xorg-x11-apps package (at least on Fedora 30).

I have the program. But I've already discovered the font which XTerm
claims to be using. Using appres I can see that it claims to be using
"-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1" and xfontsel
does show that font exists. But if I specify that font using the Xterm
"-fa" option, it doesn't render the same as selecting the "Small" font
using CTRL-rightmouse.

I can make rendering appear *almost* the same by adding the "-fs 9.0"
option to the command line. At first glance that seems identical but
examing with xmag shows a difference. Selecting "Small" gets a crisp
font but using "-fa" and "-fs" gets one with lots of half-tones.

It appears that XTerm must be getting its font in some non-standard way.
Any XTerm experts here?

No experts here.  I abandonded xterm for whatever my current distro calls 
"terminal", in part due to the sort of font issues you encountered. I mostly
do my work in emacs shell buffers.   

My guess is that the rendering differences you observe are the difference 
between fontconfig and legacy X11 font support.   Fedora 31 xterm links 
to fontconfig.

xterm -report-fonts lists both "XftFonts" wirh fontconfig style names and 
"VTFonts" with legacy X11 style names.   If you look at e.g., 
/etc/fonts/conf.d/57-dejavu-sans-mono.conf you will see a comment:

<!-- /etc/fonts/conf.d/57-dejavu-sans-mono.conf

     Define aliasing and other fontconfig settings for
     DejaVu Sans Mono.

     © 2006-2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
-->

In the past, these files often needed tweaks to get things to look right for a
a particular resolution, but these days I find the defaults are generally good
enough.
 
--
George N. White III

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux