Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

rubix nem indul #25

Closed
attuska opened this issue Nov 11, 2018 · 6 comments
Closed

rubix nem indul #25

attuska opened this issue Nov 11, 2018 · 6 comments

Comments

@attuska
Copy link
Contributor

attuska commented Nov 11, 2018

attila@attila-pc:$ rubix
cannot load font 7x13 !!
Error with initing the screen.
attila@attila-pc:

Hasonló mint #25

@attuska attuska mentioned this issue Nov 11, 2018
@attuska
Copy link
Contributor Author

attuska commented Nov 14, 2018

Ezt az üzenetet a screen.c forráskódban az alábbi részlet írja ki:

s->font = XLoadQueryFont(s->d, FONT);
if (!s->font) {
fprintf(stderr, "cannot load font %s !!\n", FONT);
return -1;
}

Azaz a XLoadQueryFont() függvény nem leli, amely függvény a libX11 -ben van.

Rendben van a libX11, meg mindaz, mely ennek a függvénynek kell ??

@attuska
Copy link
Contributor Author

attuska commented Nov 14, 2018

UBK1 és UBK3 esetén az xset -q kimenete más font útvonalat tartalmaz.

UBK1:

Font Path:
/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/truetype,/usr/share/fonts/Type1,/usr/share/fonts/freefont,built-ins

UBK3:

Font Path:
built-ins

Naná, hogy nem lelik az alkalmazások az x-org fontokat!

Hova tűntek az útvonalak?

Ha lesznek újra, akkor ezek is mind megjavulnak szerintem:
#19
#23
#26

Nekem a leggyanúsabb a fontconfig csomagunk!

@attuska
Copy link
Contributor Author

attuska commented Nov 14, 2018

Az x.org nem lel font útvonalat a logja szerint.

[ 31.626] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/misc".
[ 31.626] Entry deleted from font path.
[ 31.626] (Run 'mkfontdir' on "/usr/share/fonts/X11/misc").
[ 31.626] (WW) The directory "/usr/share/fonts/X11/TTF" does not exist.
[ 31.626] Entry deleted from font path.
[ 31.626] (WW) The directory "/usr/share/fonts/X11/OTF" does not exist.
[ 31.626] Entry deleted from font path.
[ 31.626] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 31.626] Entry deleted from font path.
[ 31.626] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 31.626] Entry deleted from font path.
[ 31.626] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 31.626] Entry deleted from font path.
[ 31.626] (==) FontPath set to:

@attuska
Copy link
Contributor Author

attuska commented Nov 14, 2018

Ez a parancs valamennyi alkalmazás font hibáját megoldja:

xset fp+ /usr/share/fonts/100dpi,/usr/share/fonts/75dpi,/usr/share/fonts/freefont,/usr/share/fonts/truetype,/usr/share/fonts/Type1,/usr/share/fonts/misc

A twm-hez ez az xorg init előtt kellene.

@attuska
Copy link
Contributor Author

attuska commented Nov 14, 2018

Mintha az x.org-server csomagunk compile szkriptjében ez a meson opció hatástalan lenne....

-Ddefault-font-path="/usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/truetype,/usr/share/fonts/Type1,/usr/share/fonts/ghostscript,/usr/share/fonts/unifont,/usr/share/fonts/freefont"

És valóban, a build-logban van egy ilyen:

WARNING: Unknown options: "builder-addr, default-font-path"

@attuska
Copy link
Contributor Author

attuska commented Nov 14, 2018

x.org-server hiba volt.
53b9c7a

@attuska attuska closed this as completed Nov 14, 2018
@attuska attuska mentioned this issue Oct 30, 2019
@attuska attuska mentioned this issue Nov 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant