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: 
* Re: [gentoo-user] Please explain X fonts?
  @ 2015-03-27  3:38 99% ` Matti Nykyri
  0 siblings, 0 replies; 1+ results
From: Matti Nykyri @ 2015-03-27  3:38 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 1656 bytes --]

> On Mar 27, 2015, at 4:15, "Walter Dnes" <waltdnes@waltdnes.org> wrote:
> 
> #!/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

Why not use some new TTF? Put the config to ~/Xdefaults:
XTerm*faceName: Liberation Mono XTerm*faceSize: 12

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

X server abjusts font sizes according to the DPI value. The DPI value it calculates might be wrong though: bad EDID most likely. Set the DPI value in you Xorg.conf file to make the fonts in constant size.

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

CONFIG_PROTECT the directory or make the fonts immutable so they don't get removed. chattr +i

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

-- 
-Matti

[-- Attachment #2: Type: text/html, Size: 3109 bytes --]

^ 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     [gentoo-user] Please explain X fonts? Walter Dnes
2015-03-27  3:38 99% ` Matti Nykyri

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