delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/07/03/12:41:57

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.4.1 sourceware.org B48A03857025
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=e4PD9Yl/ c=1 sm=1 tr=0 ts=60e0932c
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=71IC4DcLRxU6RkXx2LkA:9 a=QEXdDO2ut3YA:10
To: cygwin AT cygwin DOT com
References: <537310537 DOT 2884061 DOT 1625260886292 DOT ref AT mail DOT yahoo DOT com>
<537310537 DOT 2884061 DOT 1625260886292 AT mail DOT yahoo DOT com>
<2250cc92-7e4a-bc10-05f2-d7ec90ce6870 AT SystematicSw DOT ab DOT ca>
<f1c2423a-e3db-7b74-d60f-a870ad24469b AT bellsouth DOT net>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Subject: Re: Font problems in cygwinx
Message-ID: <11b9afa8-3fd4-9c71-1473-928b80ca4571@SystematicSw.ab.ca>
Date: Sat, 3 Jul 2021 10:41:15 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <f1c2423a-e3db-7b74-d60f-a870ad24469b@bellsouth.net>
X-CMAE-Envelope: MS4xfPvuNdkNnLXX2AvBp3P6dbvmzb1+jHUHDBZ+BTl7+h4mZc2bcPIxNXAMDpcCIfgT692vuD46qKToM4dzIAwyW3sZMHnmzJ5pHoA4ggB/B+bT8J1rzGPl
Ps7Fj0d0jqrEk8xN/zJDFnmmK6+IwDh4P1Mu34UzoX1n2hFGOi3r1SJnr0jPvi5cklEH6MWaFn9hQZEpx9uUlHHihMHWEk001As=
X-Spam-Status: No, score=-1161.2 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_BARRACUDACENTRAL,
SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 2021-07-02 22:33, Robert McBroom wrote:
> On 7/2/21 5:58 PM, Brian Inglis wrote:
>> On 2021-07-02 15:21, mcforum wrote:
>>> The legends in the heading for emacs have turned into boxes. the text 
>>> in buffers is normal.
>>> What interaction is causing this? The X11 emacs is unusable emacs 
>>> -w32 works.
>>
>> If you were using Windows fonts in Emacs, that could be caused by 
>> Windows packages that decide it's a good idea to replace your existing 
>> installed versions of Windows fonts by theirs e.g. LibreOffice updates 
>> mess up the appearance of all my Windows, X, and Cygwin apps until I 
>> reboot.
>>
>> It seems to be caused by their ancient installer approach and 
>> aggressive font replacement policy.
>>
>> If something like that could be a cause of your problem, try rebooting 
>> to see if that clears up the problem.

You could try restarting Windows, then rerunning setup to rerun the 
postinstall scripts, to see if that fixes the font configuration.

> Used "Courier New" for years. Just a monospace font for data entry.

Do you know if that is the Windows Courier New, one of the MS TT Core 
Fonts package, or one of the X aliases Liberation Mono, Cousine, 
Cumberland, Cumberland AMT?

See:

$ cd /usr/share/fonts/
$ ls -glo {truetype/msttcore,win-}fonts/Cour*.ttf | cut -c35-
truetype/msttcorefonts/cour.ttf -> Courier_New.ttf
truetype/msttcorefonts/courb.ttf -> Courier_New_Bold.ttf
truetype/msttcorefonts/courbd.ttf -> Courier_New_Bold.ttf
truetype/msttcorefonts/courbi.ttf -> Courier_New_Bold_Italic.ttf
truetype/msttcorefonts/couri.ttf -> Courier_New_Italic.ttf
truetype/msttcorefonts/courz.ttf -> Courier_New_Bold_Italic.ttf
truetype/msttcorefonts/Courier_New.ttf
truetype/msttcorefonts/Courier_New_Bold.ttf
truetype/msttcorefonts/Courier_New_Bold_Italic.ttf
truetype/msttcorefonts/Courier_New_Italic.ttf
win-fonts/cour.ttf
win-fonts/courbd.ttf
win-fonts/courbi.ttf
win-fonts/couri.ttf

also /usr/share/fontconfig/conf.avail/30-metric-aliases.conf:
<!--
Alias similar/metric-compatible families from various sources:
...
Microsoft...  Liberation fonts:  Google...  StarOff...  AMT fonts:
============  =================  =========  ==========  ==============
...
Courier New   Liberation Mono    Cousine    Cumberland  Cumberland AMT
...
-->
...
         <alias binding="same">
           <family>Cousine</family>
           <default>
             <family>Courier New</family>
           </default>
         </alias>
...
         <alias binding="same">
           <family>Liberation Mono</family>
           <default>
           <family>Courier New</family>
           </default>
         </alias>
...
         <alias binding="same">
           <family>Cumberland</family>
           <default>
           <family>Courier New</family>
           </default>
         </alias>
...
         <alias binding="same">
           <family>Cumberland AMT</family>
           <default>
           <family>Courier New</family>
           </default>
         </alias>
...
         <alias>
           <family>Courier</family>
           <default>
           <family>Courier New</family>
           </default>
         </alias>
...
         <alias>
           <family>Courier New</family>
           <default>
           <family>Courier</family>
           </default>
         </alias>
...
         <alias binding="same">
           <family>Courier New</family>
           <accept>
             <family>Cousine</family>
             <family>Liberation Mono</family>
             <family>Cumberland</family>
             <family>Cumberland AMT</family>
           </accept>
         </alias>
...

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

- Raw text -


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