public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Font problems in cygwinx
Date: Sat, 3 Jul 2021 10:41:15 -0600	[thread overview]
Message-ID: <11b9afa8-3fd4-9c71-1473-928b80ca4571@SystematicSw.ab.ca> (raw)
In-Reply-To: <f1c2423a-e3db-7b74-d60f-a870ad24469b@bellsouth.net>

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

      reply	other threads:[~2021-07-03 16:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <537310537.2884061.1625260886292.ref@mail.yahoo.com>
2021-07-02 21:21 ` mcforum
2021-07-02 21:46   ` Ken Brown
2021-07-03  4:28     ` Robert McBroom
2021-07-03 15:53       ` Ken Brown
2021-07-02 21:58   ` Brian Inglis
2021-07-03  4:33     ` Robert McBroom
2021-07-03 16:41       ` Brian Inglis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11b9afa8-3fd4-9c71-1473-928b80ca4571@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).