delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/16/16:33:58

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 208C5394FC2E
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=frTP2X0f c=1 sm=1 tr=0 ts=623249a2
a=oHm12aVswOWz6TMtn9zYKg==:117 a=oHm12aVswOWz6TMtn9zYKg==:17
a=IkcTkHD0fZMA:10 a=OA1qW9qFQ1t5Ki1SDR4A:9 a=QEXdDO2ut3YA:10
Message-ID: <07f0d359-fe7d-f955-c7c9-d4bd71b13b94@SystematicSw.ab.ca>
Date: Wed, 16 Mar 2022 14:33:37 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.7.0
Subject: Re: fonts and .xinitrc
To: cygwin AT cygwin DOT com
References: <584581456 DOT 837826 DOT 1647347225697 AT yahoo DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
In-Reply-To: <584581456.837826.1647347225697@yahoo.com>
X-CMAE-Envelope: MS4xfCeVeTKVlIHERqW/eNoPKloCT5Fz3j8iubpQfjeMk6TgwJkgwH2GkGZn735l3ifEETv066afRU97wADIjZH3pIQSw343zJ71/ItxBTq+zBy9/4M9uBBq
I64KA1TZVfBzQ2qTKcGFvOMKbIKWvca3RBD4Mj3TUZR+7rweV0kmOmfPufnlkMFYV9AQL6VW0hr34+lftGMtTExxgjGcqiJU0Fw=
X-Spam-Status: No, score=-1164.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,
SPF_HELO_NONE, SPF_NONE, TXREP,
T_SCC_BODY_TEXT_LINE 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>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 22GKXwse004005

On 2022-03-15 06:27, send junk wrote:
> I hope I am using this list as it is intended to be used.  My name is Mark, and I have been using Cygwin for as long as I can remember (maybe 20 years now?).   I have only used X11 in Cygwin sporadically, and am having trouble getting a few things to work that I think should be fairly common.  I’ve been researching the FAQs and docs and stacks and forums and Googles and so on, and progress has been quite slow.
> 
> For example, when I run xinit and include a .xinitrc file in my home directory, it seems to immediately crash.    Also, fonts seem to be an issue for me now, requiring an xft: prefix to get working (which took me most of the day yesterday to finally hack back to some level of functionality).
> 
> When I try to run cfg.py (which is just a program to create a visual control flow graph for a given Python program), all the text is “blanked out” with boxes.    I am theorizing that this is related to the graphviz library not being compatible with the new definitions of fonts.
> 
> Trying to debug this, I ran a “hello world”  for tkinter, and the default font was basically just a few pixels high (very small on my 4K monitor).   Also, the default font is unreadably small.   I have to choose enormous in the default window manager to see anything.
> 
> I’ve looked at the docs on initialization and configuration for both Cygwin and Linux in general (which I’m also quite rusty on), but cannot seem to get anything to work.   My next plan is to revert to older versions to see what worked in the past.   (I think the last time I really used X in Cygwin rxvt could run without launching X which from the docs seems to be maybe a decade or two ago? Lol.)  I have a string of laptops starting from when I designed graphics chips for Compaq  in the 80’s, so I have a bit of history all set up to easily remember how I worked with startup files, etc., previously.

Install package xinit and some packages matching "fonts" from:

	unifont-fonts urw-base35-fonts{,-legacy}
	ghostscript-fonts-other gnu-free-fonts
	{liberation,linux-libertine}-fonts
	{alef,bitstream-vera,dejavu,fontawesome,inconsolata,tinos}-fonts
	{caladea,cantarell,carlito,cousine,culmus}-fonts
	{overpass,oxygen,sj,symbola}-fonts
	noto-fonts-common
	adobe-source-{code,sans,serif}-pro-font

I just execute a shortcut (at Windows login) which runs:

C:\...\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l \
				-c "cd; exec /usr/bin/startxwin"
[split for clarity]

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