delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/30/13:23:11

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:message-id:from:to:subject
:content-type:date; q=dns; s=default; b=BrE/eNdNbXGPj95tvUfunqCv
f0ycG0YbwLCVJkKXxgrb4S13W3Z5Ge8Tv8zVV0pmrUIJD4mElOaBgBJGEcfgqNps
Rgw6mrRX5d/499QGUBZ1rEnFi1QNpP1CE1+pJdZuv6BHSUuRAak9SE9zuOno+lZV
O/0KlywS304czYniCKY=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:message-id:from:to:subject
:content-type:date; s=default; bh=cTi0h864JW+VmHiFZ8G33yU462E=; b=
xYcPH9m6/PRYxQLK610NbJiAnt0ZHZ5m3yQfW2K9fXawBrjWEqvDEJyAaom7Sara
GUmESfdsS293arlPn2PmzG4SZWvMQWlFXEPdVXN6v9OxYVlDpi5U2uE1eg1cukGv
EmUmxOTAVVFOktY4zdC/VcNpmmJ00bK3dD6bjV4V3IE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,XPRIO autolearn=no version=3.3.2 spammy=H*MI:gmx, helvetica, font
X-HELO: mout.gmx.net
MIME-Version: 1.0
Message-ID: <trinity-6dec4e6c-7ad2-4a4a-b753-55692357748a-1467307357097@3capp-gmx-bs40>
From: "Rainer Blome" <rainer DOT blome AT gmx DOT de>
To: cygwin AT cygwin DOT com
Subject: /etc/X11/app-defaults/XTerm refers to font "helvetica"
Date: Thu, 30 Jun 2016 19:22:37 +0200
Sensitivity: Normal
X-UI-Out-Filterresults: notjunk:1;V01:K0:6HWnblqTqGQ=:F8EsaVGbDqJgHYcB+9Fa3t T9xOnK+fof0COQWRX6y3C9TMP8lw+gwW2btG4AbtUYH7i08cDOD13kXZRcHVhdFyOxUjaCZlU E+y7ri6mj8nVNDtuKv5/xL3d1ugAVGvEDTggletALzwaytWoIUfIr0/ke8QGQSyIIt5ZsEEvp 6i532ZifwEef3McigkJvyL+EC5TdlUpin8mcfvUr6pd7CjKGDnWZRr7rsTtXHgcuHeFu2GbQF WhtyNOQkgxyHqIVELxO6yhC5tH76o31qT0rznXX3U3/ONRoLxYWmyASkc8wF7UYdbRE9UiD4r m65JjlUFQ8SDoz9/xsuqSJ+tQh3jdDBLB0A5R5pCuqn6UjnIrjaWvCkc+SP1KImT7HzsM3qk+ 1ZkPzd2fZrVdN/uul8bZN0YmmOTHXjTtBOW/qI7ZuljEgeyNbdGyChf/g/1jeNcUCU4+hLRyr U0UETthGXw==
X-IsSubscribed: yes

Since many months (and probably several Cygwin and X11 releases),
starting `xterm` triggers the following annoying warning (xterm starts fine otherwise):

 xterm &
 Warning: Cannot convert string "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type FontStruct

I have grepped for "helvetica" through my own config files (`.Xdefaults` etc.) and not found such a font reference.

The mailing list archives show that at least one other Cygwin user has encountered the same issue,
and got no answer regarding this specific issue (just for another font issue).
https://sourceware.org/ml/cygwin/2015-09/msg00184.html
https://sourceware.org/cgi-bin/search.cgi?wm=wrd&form=extended&m=all&s=D&ul=%2Fml%2Fcygwin%2F%25&q=helvetica
At first glance, internet search provides only less relevant hits.

It looks like the cause is in file `/etc/X11/app-defaults/XTerm`, in the following line:

 *SimpleMenu*menuLabel.font: -adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*

When I comment out that line (using "!"), xterm starts without any warnings.

I do not recall having added that line myself, so I assume that it is part of its default content.
Are users expected to maintain that file?

Regards, Rainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019