Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X11 fonts #5

Closed
blippy opened this issue Feb 14, 2017 · 2 comments
Closed

X11 fonts #5

blippy opened this issue Feb 14, 2017 · 2 comments

Comments

@blippy
Copy link
Owner

blippy commented Feb 14, 2017

When configuring using
./configure --without-motif
running neoleo gives:

(warning) Font 8x13 could not be loaded.
neoleo 4.0.1:Default font 8x13 could not be loaded.
@blippy
Copy link
Owner Author

blippy commented Feb 14, 2017

Mistake. Just because I configure without motif, it does not imply that it should configure it without X.

The font warning still needs to cleared up, though.

Problem appears to be at io-x11.c:2118 in function reasonable_font() where it calls the function XLoadQueryFont() with name = "8x13"

Running fc-match -s mono provides a list of fonts. DejaVuSansMono is common to both Arch and Ubuntu. On Arch:

$locate DejaVuSansMono.ttf
/usr/share/fonts/TTF/DejaVuSansMono.ttf
$pacman -Qo `locate DejaVuSansMono.ttf`
/usr/share/fonts/TTF/DejaVuSansMono.ttf is owned by ttf-dejavu 2.37-1

So it is a good idea to include ttf-dejavu as a PKGBUILD dependency when I work out how to specify the font. Alternatively, and possibly better for Arch but more complicated for Ubuntu, xorg-fonts-misc contains /usr/share/fonts/misc/8x13.pcf.gz which appears to be a default installation font. It is unclear how to use it, though.

@blippy
Copy link
Owner Author

blippy commented Feb 14, 2017

Fixed in commit 00b6b87

io-x11.c now uses a font of "fixed".

@blippy blippy changed the title Compiling without motif X11 fonts Feb 14, 2017
@blippy blippy closed this as completed Feb 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant