Subject: Re: Cygwin Digest, Vol 12, Issue 25
From: Brian Inglis <[email-masked]>
To: [email-masked]
Date: Sat, 13 Feb 2021 10:17:11 -0700
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>

On 2021-02-13 07:53, Anuja Chanana via Cygwin wrote:
> On Fri, 12 Feb 2021 13:12:05 +0100, Marco Atzeri wrote: 
>> On 12.02.2021 08:22, Anuja Chanana via Cygwin wrote:
>>> Whenever I try to launch the Xserver on Cygwin using the command startx,
>>> the following error appears
>>> /usr/bin/twm: warning: font for charset ISO8859-5 is lacking.
>>> /usr/bin/twm: warning: font for charset KOI8-R is lacking.
>>> /usr/bin/twm: warning: font for charset ISO8859-7 is lacking.
>>> /usr/bin/twm: warning: font for charset JISX0208.1983-0 is lacking.
>>> /usr/bin/twm: warning: font for charset KSC5601.1987-0 is lacking.
>>> /usr/bin/twm: warning: font for charset GB2312.1980-0 is lacking.
>>> /usr/bin/twm: warning: font for charset JISX0201.1976-0 is lacking.
>>> How to solve it?

>> $ cygcheck -p ISO8859-5 |grep font
>> font-util-1.3.2-1 - font-util: X.Org font utilities and font maps
>> xorg-x11-fonts-misc-7.5-4 - xorg-x11-fonts-misc: X11 core fonts

> Thanks for the reply.
> I installed  font-util-1.3.2-1 and  xorg-x11-fonts-misc-7.5-4. Still, the
> warning pops up.
> Any idea why does that happen?

Somewhere in twm defaults or configuration, it seems to be expecting fonts that 
still support legacy SBCS and DBCS code pages rather than UTF-8.

Searching font package descriptions for code pages is likely to be futile, 
you'll have to look for background info on font packages and what code pages 
they support.

You should also ensure that setup fontconfig update scripts complete 
successfully by checking near the end of /var/log/setup.log.full.

If you have configured twm to use UTF-8 and installed UTF-8 fonts for the 
languages and scripts you use, you should be okay.

You could check for and re-/install X11 core font packages:

xorg-x11-fonts-cyrillic
xorg-x11-fonts-dpi100
xorg-x11-fonts-dpi75
xorg-x11-fonts-ethiopic
xorg-x11-fonts-misc
xorg-x11-fonts-Type1

You could check which fonts twm expects as base fonts, and re-/install those.

Otherwise don't worry about the messages if everything works and looks okay.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple