DrRacket fonts issue

DoneSubmitted by Jack Hill.
Details
2 participants
  • Jack Hill
  • Philip McGrath
Owner
unassigned
Severity
normal
J
J
Jack Hill wrote on 17 Mar 2021 04:09
(address . bug-guix@gnu.org)(name . Philip McGrath)(address . philip@philipmcgrath.com)
alpine.DEB.2.21.2103162303450.8138@marsh.hcoop.net
Hi Guix,

DrRacket, both 7.9 and the fixed [0] 8.0 seem to have a fonts issue
resulting in attatched screenshot with boxes where I expect readable
characters. I have many fonts installed and recently ran `fc-cache -rvf`.


I'm running Guix System. Extra information:

jackhill@alperton ~$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
jackhill@alperton ~$ guix package -I |grep font-
font-awesome 4.7.0 out /gnu/store/gknn01i1nr80apmcx42w36cqcz3zzri2-font-awesome-4.7.0
font-public-sans 1.008 out /gnu/store/5agg754wp87z09ski6l0zvs3px81ppfq-font-public-sans-1.008
font-anonymous-pro-minus 1.003 out /gnu/store/ywm6jrfsz5iw6n9nzgkh5x3igiq3793k-font-anonymous-pro-minus-1.003
font-opendyslexic 0.91.12 out /gnu/store/sdv4a8p6cqf2sg5qqf8ksw73h03lmkny-font-opendyslexic-0.91.12
font-sil-andika 5.000 out /gnu/store/da0zg8d9ybh6j11n0imx6fknxv9xnab4-font-sil-andika-5.000
font-vazir 22.1.0 out /gnu/store/bb8inx1zfncy4jhm0w889bvhpyja5ws0-font-vazir-22.1.0
font-fontna-yasashisa-antique 0 out /gnu/store/7fyrxqq1prdgkc6sajw19pp7c0k7ch17-font-fontna-yasashisa-antique-0
font-blackfoundry-inria 1.200 out /gnu/store/wam1cyqfx0ria7m75n5vvja00zbkm935-font-blackfoundry-inria-1.200
font-lohit 20140220 out /gnu/store/v01qkwv5yw0dma3pan2qally7dyg2wwk-font-lohit-20140220
font-dejavu 2.37 out /gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37
font-cns11643 98.1.20180605 out /gnu/store/a9kjz5q78klwnbf90jjlp09wfnxs0gpf-font-cns11643-98.1.20180605
font-sil-charis 5.000 out /gnu/store/q65i5vvin72zjpdqil91ih9wpd610mad-font-sil-charis-5.000
font-adobe-source-han-sans 1.004 out /gnu/store/vravfg76hqm27lrylhc2y44zs1y9zyn2-font-adobe-source-han-sans-1.004
font-tamzen 1.11.5 out /gnu/store/ndh77a0698x7f5l72iphl2328mqa7jms-font-tamzen-1.11.5
font-inconsolata 3.000 out /gnu/store/8vq65z92r51ghnxbgdss9irk23df9s5f-font-inconsolata-3.000
font-ubuntu 0.83 out /gnu/store/dkmg1zagg7zjq05zql4y3daahvdwj40x-font-ubuntu-0.83
font-rachana 7.0.3 out /gnu/store/r4qf4yljwkpp01p4d3djdw1qx2wvnarb-font-rachana-7.0.3
font-cns11643-swjz 1 out /gnu/store/58gxg3npp9g3c3pggh3kkcb5s8rd62ga-font-cns11643-swjz-1
font-opendyslexic 0.91.12 out /gnu/store/sdv4a8p6cqf2sg5qqf8ksw73h03lmkny-font-opendyslexic-0.91.12
font-lato 2.015 out /gnu/store/k6rsaqb1mqq47i4mj8cdj1lwpfi6bxh0-font-lato-2.015
font-bitstream-vera 1.10 out /gnu/store/1y1v30gm3h073xlybx0442gc6kr1kqh8-font-bitstream-vera-1.10
font-google-noto 20171025 out /gnu/store/g2szydnbvs7qqy2nf7qylba0rapajmd8-font-google-noto-20171025
font-sil-gentium 5.000 out /gnu/store/5hkxi9ph5zk7lnqm1iq24hdnflcpm5jr-font-sil-gentium-5.000
font-anonymous-pro 1.002 out /gnu/store/a2pdlzvk0ywnyfx7666qngas7f8779hx-font-anonymous-pro-1.002
font-un 1.0.2-080608 out /gnu/store/v6yfj82i40z6ca125qqahbxigprm67bq-font-un-1.0.2-080608
font-go 20170330-1.f03a046 out /gnu/store/5422g1r53gjviyhqlagwwsbzggybyr25-font-go-20170330-1.f03a046
font-google-roboto 2.136 out /gnu/store/3mv6bxcvdds1npbg2wf10901xh9y3x03-font-google-roboto-2.136
font-ipa-mj-mincho 006.01 out /gnu/store/mg4k1g4v1mb57f6vdmgb2nhr8axkz9jg-font-ipa-mj-mincho-006.01
font-wqy-microhei 0.2.0-beta out /gnu/store/k3my3hqrgs9c6mbjkyxvbhlypqb5ll32-font-wqy-microhei-0.2.0-beta
font-fira-mono 3.206 out /gnu/store/3bb6j1bi4yam4fj27k3jf2wcci0jns5q-font-fira-mono-3.206
font-dosis 1.7 out /gnu/store/jp5bl864rqlw1v5fp8cchhvl96vhalr0-font-dosis-1.7
font-mplus-testflight 063a out /gnu/store/scf2li4kzxv5f84p994d7pg3xm8zjx91-font-mplus-testflight-063a
font-fira-sans 4.202 out /gnu/store/mmkpalfwk9arl9cm0a92kvspfrfbsmg6-font-fira-sans-4.202
font-hermit 2.0 out /gnu/store/lk9yi94cwriwz9y4kflr5rpf59ady7vs-font-hermit-2.0
font-adobe-source-code-pro 2.030R-ro-1.050R-it out /gnu/store/l5m74158njcan3p784gqhkir6zyk0bcp-font-adobe-source-code-pro-2.030R-ro-1.050R-it
font-google-material-design-icons 3.0.1 out /gnu/store/3yyzsgvagf7rw5lmkx70j5nmwa4qwd0y-font-google-material-design-icons-3.0.1
font-wqy-zenhei 0.9.45 out /gnu/store/4666sykl746p9vf4k2vh0nkiw12zjhs5-font-wqy-zenhei-0.9.45
font-hack 3.003 out /gnu/store/52r8anazd4rnkq9m3vxk700jga5h0i74-font-hack-3.003
font-tex-gyre 2.005 out /gnu/store/pyw1h9gh77b1k8wm26vb9qfbk083qkhf-font-tex-gyre-2.005
font-mathjax 2.7.2 out /gnu/store/bf582s56ldb3y34pql3fd583wyn49x2a-font-mathjax-2.7.2
font-util 1.3.2 out /gnu/store/ki4315lhld2sajarx1psgxzvm83v67d4-font-util-1.3.2
font-google-noto 20171025 out /gnu/store/g2szydnbvs7qqy2nf7qylba0rapajmd8-font-google-noto-20171025
font-dejavu 2.37 out /gnu/store/7y3lvk3xf4im8n44337mc6y0ccysvfia-font-dejavu-2.37
font-alias 1.0.4 out /gnu/store/wblhdadbl726jfbc40096pjgr38kmipk-font-alias-1.0.4
font-adobe-source-sans-pro 3.028R out /gnu/store/kzgf9zlj3qzyagfspk1m3jilibv3wz61-font-adobe-source-sans-pro-3.028R
font-adobe-source-serif-pro 3.001R out /gnu/store/hmw41c0izwmahbla1lxi62h2gk79sj66-font-adobe-source-serif-pro-3.001R
font-comic-neue 2.51 out /gnu/store/iw03c5dlv5a7338cwdbnmmx6w8yi80c9-font-comic-neue-2.51
font-fira-code 5.2 out /gnu/store/k0jya8b6adxymjxpcc2yr4590rwpr1dn-font-fira-code-5.2
font-iosevka-etoile 4.0.3 out /gnu/store/dl1dgqh1r0z1krryd52bg08z3gzkh42w-font-iosevka-etoile-4.0.3
font-iosevka 4.0.3 out /gnu/store/mi0n9b53iiwn6qlzndvmgl9fj5dc8njb-font-iosevka-4.0.3
font-iosevka-term-slab 4.0.3 out /gnu/store/gy70an44sx72xv1bd0b0hsd1fjs6mk75-font-iosevka-term-slab-4.0.3
font-iosevka-term 4.0.3 out /gnu/store/7i4laryl5b9kcl238p7lfg1w7j4rm42w-font-iosevka-term-4.0.3
font-iosevka-slab 4.0.3 out /gnu/store/h01wmnpcqpdhk7i7lqnn663spgc2y3ci-font-iosevka-slab-4.0.3
font-iosevka-aile 4.0.3 out /gnu/store/vi5m5zlvz5rag6iniyszlw2nc5rwvvp9-font-iosevka-aile-4.0.3
font-iosevka-sparkle 4.0.3 out /gnu/store/hhg8xriy3g6j5hh97cb7im4p4xgdva8p-font-iosevka-sparkle-4.0.3
font-jetbrains-mono 2.221 out /gnu/store/xia519s86lj818q2fg2kvss85zzkyygx-font-jetbrains-mono-2.221
font-sarasa-gothic 0.12.7 out /gnu/store/yg477azcp249yn35jxkh0xms63k5f7si-font-sarasa-gothic-0.12.7
font-screen-cyrillic 1.0.4 out /gnu/store/wn406rxy436ay3sqvg30vhzxwi1ngg5x-font-screen-cyrillic-1.0.4
font-misc-cyrillic 1.0.3 out /gnu/store/f9dbxlp9sg9kxvyfg6lwh2hkllwg1qm5-font-misc-cyrillic-1.0.3
font-cronyx-cyrillic 1.0.3 out /gnu/store/4gvnryzr2l848hj3rbyykkpg9i7b9ks0-font-cronyx-cyrillic-1.0.3
font-mutt-misc 1.0.3 out /gnu/store/ckyvajrcnlasqky9j7mnv6qk10hi9zap-font-mutt-misc-1.0.3
font-adobe75dpi 1.0.3 out /gnu/store/gypnv4gfdbp44f9zcg2gsij6qlijm3kd-font-adobe75dpi-1.0.3
font-schumacher-misc 1.1.2 out /gnu/store/fmj5km1s08gb8a49pimx2hbfi0p8kyb4-font-schumacher-misc-1.1.2
font-dec-misc 1.0.3 out /gnu/store/9kyan8pzyhpz3iad8gcgnwdhsa8214da-font-dec-misc-1.0.3
font-micro-misc 1.0.3 out /gnu/store/jshbb7h46q9162vhd05jzrn2x1yx678i-font-micro-misc-1.0.3
font-xfree86-type1 1.0.4 out /gnu/store/cimsn3s4mzynjmv93gjj41w3x7ny0cyc-font-xfree86-type1-1.0.4
font-sony-misc 1.0.3 out /gnu/store/2w0hbb2igacbs4w6k6g83vrc2ws02c5v-font-sony-misc-1.0.3
font-adobe100dpi 1.0.3 out /gnu/store/nhq03m9x7armfdpyj63hq1lqw82vzxzi-font-adobe100dpi-1.0.3
font-misc-misc 1.1.2 out /gnu/store/jh5yhsmnrdkqag8bl73jzjwpaa7av2k8-font-misc-misc-1.1.2
font-arabic-misc 1.0.3 out /gnu/store/34srnm258lc83vv4cmzpm3w92c8k3nld-font-arabic-misc-1.0.3
font-isas-misc 1.0.3 out /gnu/store/5grkr79mkcjacxwvdip3ff3i246kif5d-font-isas-misc-1.0.3
font-winitzki-cyrillic 1.0.3 out /gnu/store/12b4yx5gp3pw9b508npg5fww2rmm21qx-font-winitzki-cyrillic-1.0.3
font-sun-misc 1.0.3 out /gnu/store/1in1sjxailxb9dglxklahmr7p3dn02y2-font-sun-misc-1.0.3
font-misc-ethiopic 1.0.4 out /gnu/store/5lzy2iwkf7j710zckjdgsjv0k7j2lbmi-font-misc-ethiopic-1.0.4
font-linuxlibertine 5.3.0 out /gnu/store/h2icav0dfls08qxz16r7pjkvalgwdgr5-font-linuxlibertine-5.3.0
font-meera-inimai 2.0 out /gnu/store/dsrm38ra35dqmkl809bp7mpf248wvcsr-font-meera-inimai-2.0
font-culmus 0.133 out /gnu/store/c1nqns8393vfgxmkd4pgffs67b6blr8x-font-culmus-0.133
font-gnu-freefont 20120503 out /gnu/store/pdjwv5vh2b6n10x8nx0dvakikg4smf2r-font-gnu-freefont-20120503
font-fantasque-sans 1.8.0 out /gnu/store/q7nvsqjbln2yr9sxdr7brcx93ik46q09-font-fantasque-sans-1.8.0
font-dseg 0.46 out /gnu/store/mphd831lq7890jdspq2lmn8zz5lyrkl0-font-dseg-0.46
font-terminus 4.48 out /gnu/store/srsgrqpvg096c6hp44jl5bk13w6ifjk2-font-terminus-4.48
font-gnu-unifont 13.0.06 out /gnu/store/gs3li4m0ydajm57r0qn1wvsdyfsa68p7-font-gnu-unifont-13.0.06
font-mononoki 1.3 out /gnu/store/skvhbbr7xypv2fgm7nfvrpc5l95md4m4-font-mononoki-1.3
font-liberation 2.1.3 out /gnu/store/xyha77arf67lvvx1lxkf929wsr1c6p2i-font-liberation-2.1.3
font-ibm-plex 5.1.3 out /gnu/store/f4xxsgskw53czb120myq0lxgxa0c0il3-font-ibm-plex-5.1.3
font-libertinus 7.040 out /gnu/store/mdxmizd56857np0jdxzbkmqy5qpng0zp-font-libertinus-7.040
font-abattis-cantarell 0.301 out /gnu/store/gz9x9qqnjifj86pnml43n8qk33nvgbxn-font-abattis-cantarell-0.301
jackhill@alperton ~$ guix describe
Generation 112 Mar 14 2021 16:30:34 (current)
guix d4e29f3
branch: master
commit: d4e29f3628ad0c7576d7cab659d7fcc19d21999a

Best,
Jack
Attachment: drracket-fonts.png
P
P
Philip McGrath wrote on 27 Mar 2021 04:01
(address . 47204@debbugs.gnu.org)
31846af7-997e-ae9f-cf93-193167e49f64@philipmcgrath.com
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

[3]:
J
J
Jack Hill wrote on 18 Feb 23:46 +0100
Re: bug#47204: DrRacket fonts issue
(name . Philip McGrath)(address . philip@philipmcgrath.com)(address . 47204-done@debbugs.gnu.org)
alpine.DEB.2.21.2202181744460.9433@marsh.hcoop.net
On Fri, 26 Mar 2021, Philip McGrath wrote:

Toggle quote (8 lines)
> 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:

Hi, I tested again today with Guix commit
27a91b2f57bd0bf7efab77eaeb4b920f162bf8c8 and I don't observe a font issue
anymore, so I'm closing this issue.

Thanks for all the work you do to improve Racket in Guix,
Jack
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 47204@debbugs.gnu.org