public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] Please explain X fonts?
@ 2015-03-27  2:15 99% Walter Dnes
  0 siblings, 0 replies; 1+ results
From: Walter Dnes @ 2015-03-27  2:15 UTC (permalink / raw
  To: Gentoo Users List

  I ran into this issue just now setting up X on my ancient netbook that
I've just re-installed on.  It's been an ongoing issue of mine that I've
solved with an ugly hack.  I'd like to know "the right way" of doing it.
I have a ~/.xinitrc file like so...

#!/bin/bash
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources /usr/bin/xterm -bg black -fg cyan -geometry 50x9+0+0 -fn lucidasanstypewriter-12 &
/usr/bin/xterm -bg black -fg cyan -geometry +0+0 -fn lucidasanstypewriter-12 &
exec /usr/bin/icewm > ~/.icewm.log 2>&1

  Some time ago, somebody decided to deprecate iso8859-1 fonts.  And
when I run startx, the text console comes up with

========================================================================
/usr/bin/xterm: cannot load font 'lucidasanstypewriter'
/usr/bin/xterm: cannot load font 'lucidasanstypewriter'
Warning: Cannot convert string "lucidasanstypewriter" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Error: Aborting: no font found

Warning: Cannot convert string "lucidasanstypewriter" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Error: Aborting: no font found
========================================================================

  xterms come up with some dinky little font.  It's bad enough on a 24
in 1920x1080 monitor.  On an 11" 1366x768 netbook, it's unreadable.
When I do a control-right-click on an xterm to manipulate fonts, the
xterm crashes.

  One of the nice things about having multiple machines, is that I still
had another machine with the old fonts.  For a few years, I've preserved
a copy of /usr/share/fonts from that machine as fonts_do_not_delete.  So
each time fonts are "updated" on my machines, I rename /usr/share/fonts
to /usr/share/fonts.borken and copy the fonts_do_not_delete directory as
/usr/share/fonts.

  OK, so whats supposed to be "the right way" to get working xterms with
lucidasanstypewriter-12?

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-03-27  2:15 99% [gentoo-user] Please explain X fonts? Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox