Web lists-archives.com

Re: xterm 327-1 to 329-1 needs font dependency




On Mon, Jun 26, 2017 at 01:18:52AM -0700, Bryan Dongray wrote:
> On 06/21/2017 01:22 AM, Thomas Dickey wrote:
> > ----- Original Message -----
> > | From: "Bryan Dongray" <cygwin@xxxxxxxxxxxx>
> > | To: cygwin@xxxxxxxxxx
> > | Sent: Tuesday, June 20, 2017 6:52:38 PM
> > | Subject: xterm 327-1 to 329-1 needs font dependency
> > | 
> > | On an upgrade of xterm from 327-1 to 329-1 starting an xterm now
> > | complains:
> > | 	$ xterm
> > | 	/usr/bin/xterm: cannot load font
> > | 	"-Misc-Fixed-bold-R-*-*-10-100-75-75-C-60-ISO8859-1"
> > | 	/usr/bin/xterm: cannot load font
> > | 	"-Misc-Fixed-medium-R-*-*-10-100-75-75-C-120-ISO10646-1"
> > | 	/usr/bin/xterm: cannot load font
> > | 	"-Misc-Fixed-bold-R-*-*-10-100-75-75-C-120-ISO10646-1"
> > | 
> > | When I downgrade to 327-1 these messages do not show, so I assume the
> > | latest version requires specific fonts.

no - there's no new font requirements.  xterm has (for a long time)
provided a way to infer what bold font would correspond to the normal
fonts if there's no bold-font resource setting.  One of the changes
in #328 omitted a step in that process, making it fail to see that
a bold font was specified.  The warnings have been there for a few
years.  You simply got extra warnings due to the bug.

As far as I know, #330 fixes that issue.

> > | 
> > | I installed all the X11 fonts which were described as "core font"
> > | (surprisingly a reinstall of "xinit" did not install these),
> > | but still I get the above messages. However I assume xterm falls back
> > | on
> > | some other font, as everything displays ok (as far as I checked).
> > | 
> > | Q1. Can someone point me at which font I need to install to not get
> > | these
> > | 	warnings (I tried a few, but no luck, and there are hundreds to
> > | 	try)?
> > | 
> > | Q2. Shouldn't these fonts be a dependency of xterm?

Some packagers don't think so.

The ones that are used by default are the xorg "misc" fonts (though I don't
recall what the package name in cygwin is -- package names for X fonts differ
in every system that I've seen).

-- 
Thomas E. Dickey <dickey@xxxxxxxxxxxxxxxxxxxx>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature