delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/18/12:54:15

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 967863955698
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1592499207;
bh=7Kv0LXxHYZX3WcHR9Py7MrWoXMt6Re4PYk5YlXnqIEA=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=RKf3v9oTSWFk19IuahFWW+tjou9O/h5nHd9QchYkirCRkLg+cExjnQAK07iFYMiVg
wzcHyWhrR89KQVOgrjg7QePXYxSkI0jrofZmWaOiukbS0dCxVj1PW9Wezl6+gG+W3y
rztgsnoonH9gS2j2f6ob9/P0jD+wrL743ma0uZtM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1262A3870852
X-Authentication-Warning: ecclerig.inf.ed.ac.uk: ht set sender to
ht AT inf DOT ed DOT ac DOT uk using -f
To: cygwin AT cygwin DOT com
Subject: Fonts: Cygwin/X, ssh -Y, TigerVNC -- who's in charge?
Date: Thu, 18 Jun 2020 17:53:22 +0100
Message-ID: <f5b8sgkqprx.fsf@ecclerig.inf.ed.ac.uk>
User-Agent: Gnus/5.1012 (Gnus v5.10.12) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at seine.is.ed.ac.uk
with MIMEDefang 2.84, Sophie, Sophos Anti-Virus, Clam AntiVirus
X-Scanned-By: MIMEDefang 2.84 on 129.215.17.202
X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Henry S. Thompson via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Henry S. Thompson" <ht AT inf DOT ed DOT ac DOT uk>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

[Warning, gnarly X-windows issues below, read at your own risk]

I run XEmacs on several Linux servers, and sometimes (always for the
time being) access them via (Cygwin) ssh -Y and/or (Windows)TigerVNC.

XEmacs and fonts are problematic in their own right, but I'm struggling
to understand the X-windows-as-such issues of this configuration, to try
to isolate my problem, which is that I'm not seeing things displayed in
the fonts I want.

In particular, I'm trying to understand as between the X servers running
on my remote servers (there has to be one, however simple, whichever way
I connect, because that's where my XEmacs instances are running, right?) 
and the Cygwin/X server on my machine at home.

Configuration 1)

I _think_ I understand that if I launch XEmacs inside an Xvnc instance
on a server, viewed using a vncviewer instance on my home machine, the
fonts available to it are determined by what fonts are available within
the remote Xvnc instance, in whatever form.

Am I also right in thinking that it does _not_ matter what fonts
TigerVNC-for-Windows finds on my Cygwin box at home?

Configuration 2)

If OTOH I launch Cygwin/XWin, and ssh -Y from a local xterm to a remote
server, where I launch XEmacs, I really don't know what happens.  Does
the sshd X server include a font server, or search for font.dirs, or???
Or does _all_ font-related activity depend on the Cygwin/X server?

Configuration 3)

Unfortunately, the configuration I like best is a mixture.  I launch
XEmacs inside an Xvnc instance on a server, viewed using a vncviewer
instance on my home machine, and fire up gnuserv inside it.  I close the
viewer, and ssh -Y back to the server from home, then run gnuclient from
the resulting shell, which brings up a separate window on the original
XEmacs instance.  I have no idea whose fonts matter in this case, can
anyone explain?

A related question: when running setup and looking at font packages, how
can I tell whether they contain new-style (fc-list will will list them,
they have names such as "DejaVu Sans Mono", or old-style (xlsfonts will
list them, they have names such as "-b&h-lucidatypewriter-medium-r...")?

Thanks,

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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