delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/05/21/03:19:14

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 571AA3857C44
Authentication-Results: sourceware.org;
dmarc=none (p=none dis=none) header.from=tlinx.org
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cygwin AT tlinx DOT org
Message-ID: <60A75EA6.9000004@tlinx.org>
Date: Fri, 21 May 2021 00:17:58 -0700
From: L A Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: problem opening/loading an X11 font.
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

If I use 'xlsfonts' to list my X server fonts, one of them
fonts I am trying to use is "lucidatypewriter-medium".

display xlsfonts and filtering on the family, I get tons:


-b&h-lucidatypewriter-medium-r-normal-sans-0-0-100-100-m-0-iso10646-1
-b&h-lucidatypewriter-medium-r-normal-sans-0-0-100-100-m-0-iso8859-1
...
-b&h-lucidatypewriter-medium-r-normal-sans-11-80-100-100-m-70-iso10646-1
-b&h-lucidatypewriter-medium-r-normal-sans-11-80-100-100-m-70-iso8859-1
...
-b&h-lucidatypewriter-medium-r-normal-sans-14-100-100-100-m-80-iso10646-1
160 matches of various sizes and encodings....

So in my "~/.Xdefaults", I have tried:

!XTerm*font: -*-lucidatypewriter-medium-*-*-*-*-*-*-*-*-*-*-*-
XTerm*font: lucidatypewriter
!XTerm*font: 
-b&h-lucidatypewriter-medium-r-normal-sans-11-80-100-100-m-70-iso10646-1

full and sparse specification, but no matter, when I run xterm, I get:

xterm: cannot load font 
'-b&h-lucidatypewriter-medium-r-normal-sans-11-80-100-100-m-70-iso10646-1'
xterm: cannot load font '-*-lucidatypewriter-medium-*-*-*-11-*-*-*-*-*-*-*-'
xterm: cannot load font '-*-lucidatypewriter-medium-*-*-*-*-*-*-*-*-*-*-*-'
xterm: cannot load font 'lucidatypewriter-medium'
xterm: cannot load font 'lucidatypewriter-medium'

etc.

How is this possible?  xlsfonts displays the font(s), but
an x-prog like xterm can't load any form

Have tried neutering locale as well to no effect.

(LC_ALL=C or POSIX)...

Can't figure out why the font is listed but not loadable??!

Ideas?

Thanks!




-- 
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

- Raw text -


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