Open parjanya opened 5 years ago
just a bump on this -- still happening now
I don’t remember anymore having this problem, but have you tried installing that font, @compufox ?
I installed the font package listed in the README and I also installed microsoft fonts (for the proper 'courier' font) and it still caused this issue.
I'm on manjaro, if that helps
Hi @compufox!
Thanks for creating an issue and sorry for ignoring you so long. Because Garnet still uses xfonts, font installation continues to be problematic. One thing to try is to restart your xserver, if you haven't. I don't believe the Ubuntu package manager can install xfonts dynamically. Let me know if that doesn't work and I'll investigate this in more detail.
Thanks for the response!
I installed every xfonts package that my distro (manjaro) has and ive rebooted and also restarted the X server and it still runs into this issue.
Edit: I'm running on the latest version of SBCL (2.0.10) and i've got the latest quicklisp distribution listing
Hi @compufox! One thing I forgot to suggest was to delete the sbcl fasl cache. The standard location for that under Ubuntu is ~/.cache/sbcl-2.0.1.debian-linux-x64
Where sbcl-2.0.1.debian-linux-x64
is the version of SBCL that you're running.
The reason is that Garnet compiles many objects into fasl' files as an optimisation, and if required fonts are missing at compile time the build machinery isn't intelligent enough to recompile them if they become available later, e.g. after being installed by synaptic.
Unfortunately that also doesn't work. It compiles all of the lisp files until it gets stuck looping, searching for the font.
Hmmmmm...
Are you able to you install xfontsel
and search for the font it's searching for?
This is a screen shot of searching for the courier medium font Garnet was outputting above. Note, the tool shows the first font that matches the pattern. If nothing matches then the font display in the center is empty.
Yeah so it seems that my issue is just that i dont have the font installed.
both xfontsel and xlsfonts dont show it being installed and i cant find it in my distro's repos.
I'll keep looking and see if i can install it, (or change that line in the source)
Sorry for the hassle, and thank you for the help!
@compufox I'm not familiar with Manjaro but since it's Arch-based you may be able to get the Courier xfont by installing xorg-fonts-type1
. It doesn't come with a fonts.dir
so you'll need to create one by doing sudo mkfontdir
in the /usr/share/fonts/Type1/
directory. mkfontdir
is part of the xorg-mkfontscale
package. Once you've generated the fonts.dir
you can do xset +fp /usr/share/fonts/Type1
and then xset fp rehash
. Then xfontsel
should show Courier as an option under "fmly", and with luck Garnet will compile successfully for you as it did for me.
@defaultxr oh my god that worked!!!!
i never would have ever gotten that on my own lol thank you!
Tried to
(ql:quickload)
it but the repl spilled many megabytes of the same line:A new attempt gave
; Evaluation aborted on #<ASDF/ACTION:CIRCULAR-DEPENDENCY {1004A2BB73}>.
Perhaps this can help?