TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: MIKE SCOTT
from: LEW PITCHER
date: 2019-10-15 09:31:00
subject: Re: X11 font installation

Mike Scott wrote:

> I'm having trouble getting fonts recognised.
>
> I've installed the base edition of the current raspbian, plus sundry
> extra packages including the X11 base fonts. The intent is to run
> headless with (realvnc's) vncserver active, and that's what I'm using to
> test.
>
> Unfortunately, xterm only shows one font size available, and the vnc log
> shows lookup failures on the font files:
> Warning: Cannot convert string
> "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-*" to type
> FontStruct xterm: cannot load font
> "-misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1"
> /usr/bin/xterm: cannot load font
> "-Misc-Fixed-medium-R-*-*-13-120-75-75-C-120-ISO10646-1"
> /usr/bin/xterm: cannot load font
> "-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1"
> xterm: cannot load font
> "-misc-fixed-medium-r-normal--13-120-75-75-c-80-iso10646-1"
>
> xlsfonts shows only a few fonts:
> -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
> -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
> cursor
> fixed
>
> yet fc-list shows a whole slew of fonts including:
> /usr/share/fonts/type1/gsfonts/c059013l.pfb: Century Schoolbook
> L:style=Roman
> /usr/share/fonts/type1/gsfonts/d050000l.pfb: Dingbats:style=Regular
> /usr/share/fonts/type1/gsfonts/n021023l.pfb: Nimbus Roman No9
> L:style=Regular Italic
> /usr/share/fonts/type1/gsfonts/n019063l.pfb: Nimbus Sans L:style=Regular
> Condensed Italic
> /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: DejaVu
> Sans:style=Bold /usr/share/fonts/type1/gsfonts/a010013l.pfb: URW Gothic
> L:style=Book
>
> I've run fontconfig as well as mkfontdir, to no avail. I confess to a
> certain uncertainty about how all the font stuff fits together :-}
>
> I'm at a loss. I've obviously missed/misunderstood something
> fundamental, but can anyone suggest what please?

Try running fc-cache


--
Lew Pitcher
"In Skills, We Trust"

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.