bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47204: DrRacket fonts issue


From: Philip McGrath
Subject: bug#47204: DrRacket fonts issue
Date: Fri, 26 Mar 2021 23:01:41 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

Hi Jack,

I haven't been able to reproduce this yet, but I'm on a foreign distro, and I don't have any fonts explicitly installed via Guix. (For that matter, I don't have a monitor connected, just now: I've done this with X forwarding.) I do have a few debugging ideas you could try and see if they turn up anything interesting:

  - Setting the FC_DEBUG environment variable while running can cause
    fontconfig to emit debugging information to standard output.[1]

  - The command `racket -e "(require racket/draw)" -e "(get-face-list)"`
    should print the list of font family names Racket was able to
    discover.

  - If you start DrRacket at the command line, foreign libraries
    have been known to write useful information to standard out/error.
    Similarly, if, rather than using the `drracket` launcher, you use a
    command like `racket -l drracket`, then you can add additional flags
    like "-W" to control Racket's logging system.[2] Racket converts
    glib "log domains"[3] to "topics" in Racket's logging system, which
    might help get information from some of the related libraries.[4]
    (You can also view Racket logging within DrRacket, but it might be
    too late to help with this issue.)

  - You can try changing the font in DrRacket: if you use the
    "Edit|Preferences…" menu item, the "Font" tab is the first one,
    conveniently.

Hope some of this helps!

-Philip

[1]: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
[2]: https://docs.racket-lang.org/reference/logging.html
[3]: https://developer.gnome.org/glib/stable/glib-Message-Logging.html#log-domains
[4]: https://docs.racket-lang.org/draw/libs.html





reply via email to

[Prev in Thread] Current Thread [Next in Thread]