GNU bug report logs - #41241
xfce4 default font display broken after guix pull; sudo guix system reconfigure /etc/config.scm

Previous Next

Package: guix;

Reported by: W Knight <whk <at> umbisag.org>

Date: Wed, 13 May 2020 18:45:02 UTC

Severity: normal

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 41241 in the body.
You can then email your comments to 41241 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#41241; Package guix. (Wed, 13 May 2020 18:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to W Knight <whk <at> umbisag.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 13 May 2020 18:45:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: W Knight <whk <at> umbisag.org>
To: bug-guix <at> gnu.org
Subject: xfce4 default font display broken after guix pull; sudo guix system
 reconfigure /etc/config.scm
Date: Wed, 13 May 2020 17:57:44 +0000 (GMT+00:00)
[Message part 1 (text/plain, inline)]
Summary: 
After doing a guix pull; sudo guix system reconfigure /etc/config.scm on a fresh 1.1.0 install via iso the default font for all xfce displays breaks. Each character in menu, applications, and terminals is a box with four dots (no character available). 
If I switch from generation 2 (reconfigure) to generation 1 (iso) fonts work again. 

Workaround: manually adding fonts-dejavu to /etc/config.scm packages and reconfiguring fixes issue 




Comments: 


gdm font on login screen is ok through all generations 


Test Environment: 


Fresh install of iso using: 


# Create vm 

cd /data//vms 
mkdir guixFirst 
cd guixFirst 
qemu-img create -f qcow2 guix-system.img 50G 
qemu-system-x86_64 -m 4096 -smp 2 -enable-kvm \ 
-net nic,model=virtio -net user -boot menu=on,order=d \ 
-device virtio-blk,drive=myhd \ 
-drive if=none,file=guix-system.img,id=myhd \ 
-drive media=cdrom,file=/data/isos/guix/guix-system-install-1.1.0.x86_64-linux.iso 

# Run the vm 
qemu-system-x86_64 -m 4096 -smp 2 -enable-kvm -boot menu=on,order=c \ 
-net nic,model=virtio -net user,hostfwd=tcp::60022-:22 \ 
-device virtio-blk,drive=myhd \ 
-drive if=none,file=guix-system.img,id=myhd 





Update from account testuser using: 

<blockquote>

guix pull 
sudo guix system reconfigure /etc/config.scm 

</blockquote>



Produced Generations: 



<blockquote>
$ guix system list-generations 
Generation 1 May 12 2020 23:33:42 
file name: /var/guix/profiles/system-1-link 
canonical file name: /gnu/store/ysjw622hn9va5kfhba4yr662ng91mkxk-system 
label: GNU with Linux-Libre 5.4.31 
bootloader: grub 
root device: /dev/mapper/cryptroot 
kernel: /gnu/store/g56i8savnfr7981fil03idkjl0syj29d-linux-libre-5.4.31/bzImage 
configuration file: /gnu/store/rmg71s4nryann43phyalbrxvpyfal2nw-configuration.scm 
Generation 2 May 13 2020 00:25:05 (current) 
file name: /var/guix/profiles/system-2-link 
canonical file name: /gnu/store/lv7bz7f5gmcwwilx7jzvf757rvymqj0c-system 
label: GNU with Linux-Libre 5.4.40 
bootloader: grub 
root device: /dev/mapper/cryptroot 
kernel: /gnu/store/am92pydjrby5wv2hpvsqara203jrna2c-linux-libre-5.4.40/bzImage 
channels: 
guix: 
repository URL: https://git.savannah.gnu.org/git/guix.git 
branch: master 
commit: 1a75fc8442cb2c9fa644d52f600e608279c87698 
configuration file: /gnu/store/rmg71s4nryann43phyalbrxvpyfal2nw-configuration.scm 

</blockquote>



Generation 1 config: 

<blockquote>
testuser <at> guixFirst /var/guix/profiles/system-1-link$ cat /var/guix/profiles/system-1-link/configuration.scm 
;; This is an operating system configuration generated 
;; by the graphical installer. 

(use-modules (gnu)) 
(use-service-modules desktop networking ssh xorg) 

(operating-system 
(locale "en_US.utf8") 
(timezone "America/Chicago") 
(keyboard-layout (keyboard-layout "us")) 
(host-name "guixFirst") 
(users (cons* (user-account 
(name "testuser") 
(comment "Testuser") 
(group "users") 
(home-directory "/home/testuser") 
(supplementary-groups 
'("wheel" "netdev" "audio" "video"))) 
%base-user-accounts)) 
(packages 
(append 
(list (specification->package "nss-certs")) 
%base-packages)) 
(services 
(append 
(list (service xfce-desktop-service-type) 
(service openssh-service-type) 
(set-xorg-configuration 
(xorg-configuration 
(keyboard-layout keyboard-layout)))) 
%desktop-services)) 
(bootloader 
(bootloader-configuration 
(bootloader grub-bootloader) 
(target "/dev/vda") 
(keyboard-layout keyboard-layout))) 
(mapped-devices 
(list (mapped-device 
(source 
(uuid "46603b23-6499-4022-96ac-59ff0fc8d161")) 
(target "cryptroot") 
(type luks-device-mapping)))) 
(file-systems 
(cons* (file-system 
(mount-point "/") 
(device "/dev/mapper/cryptroot") 
(type "ext4") 
(dependencies mapped-devices)) 
%base-file-systems))) 

</blockquote>
Generation 1 installed packages: 


<blockquote>
testuser <at> guixFirst /var/guix/profiles/system-1-link$ guix package --list-installed --profile=/var/guix/profiles/system-1-link/profile 
mcron 1.1.3 out /gnu/store/ymi776ygpc0r334gxjznf6xdlbw7zc0q-mcron-1.1.3 
localed 241 out /gnu/store/kcp43mnxbcxhqvafvqg2qpi0vqh00fn6-localed-241 
xfce 4.14.0 out /gnu/store/pbm66bg6qcj54vv946drs2rdkvys0bsj-xfce-4.14.0 
openssh 8.2p1 out /gnu/store/fmk31g91ljr88n1rbdsyab9l4z8kw04c-openssh-8.2p1 
font-abattis-cantarell 0.111 out /gnu/store/l0h8n4jn0xhj942gdh28i3rvbbywi613-font-abattis-cantarell-0.111 
adwaita-icon-theme 3.32.0 out /gnu/store/j1dnxq4fs64gg4cnfqq5slsmkff7v7pa-adwaita-icon-theme-3.32.0 
network-manager 1.18.4 out /gnu/store/5jj8jj4lcjaf177j7h5iqwrrc191ivi1-network-manager-1.18.4 
wpa-supplicant 2.9 out /gnu/store/la4k8q7nfhgiksw9l6xnyv42gpcad24g-wpa-supplicant-2.9 
network-manager-applet 1.8.24 out /gnu/store/8lx761bxhcp8wjahy656fxgkng3nx8bq-network-manager-applet-1.8.24 
avahi 0.7 out /gnu/store/f7zmq1hffs9lrwkyyn88k5r399a7f8xh-avahi-0.7 
udisks 2.7.7 out /gnu/store/0wnmr8l97v50cd5nphdslby3zm0b8h8n-udisks-2.7.7 
upower 0.99.11 out /gnu/store/jadx75c489ry1as2sh1mvjgd7in3jrsr-upower-0.99.11 
elogind 243.4 out /gnu/store/lmmfg2mnkcdfz3rc7655zynr4jjld890-elogind-243.4 
guix 1.1.0 out /gnu/store/5mz80gshvf3rj44gwaqki08bqmrwzp2h-guix-1.1.0 
rottlog 0.72.2 out /gnu/store/77ah7yxgz838m7sq7wcgn325gimibjq6-rottlog-0.72.2 
shepherd 0.7.0 out /gnu/store/8gndzq1gbgxs8zk5j4bnzc8zqcrmbi5z-shepherd-0.7.0 
lzip 1.21 out /gnu/store/bbr7slf7a1vkp0an17w8rs095aipfmy3-lzip-1.21 
xz 5.2.4 out /gnu/store/lbip9isk25isymvnb159l115xnacb5j8-xz-5.2.4 
bzip2 1.0.6 out /gnu/store/l86azr7r3p5631wj3kk329jl1y1mpjgy-bzip2-1.0.6 
gzip 1.10 out /gnu/store/py3k9zla9fj3z7430v4crqj5pyrsd3qj-gzip-1.10 
tar 1.32 out /gnu/store/cnqpra8vr2l5fz00rr4yj4bp3hr00cfw-tar-1.32 
gawk 5.0.1 out /gnu/store/2z9hsww76aag37p40671l9niq5pvvasx-gawk-5.0.1 
patch 2.7.6 out /gnu/store/v76scv4n63ip08g119rczh2mrw31zwpd-patch-2.7.6 
diffutils 3.7 out /gnu/store/58sq8iabw3jkv0fvf95hd7sq2g4xcsnz-diffutils-3.7 
sed 4.7 out /gnu/store/afmvfw1yhfal48n1kjq6bk6kcw8sc3db-sed-4.7 
grep 3.3 out /gnu/store/7iyvxhp2g3v3655zqwr6biz2h0lqv7pr-grep-3.3 
findutils 4.6.0 out /gnu/store/g9d3wv1d68iflx57yp3mcp3k3sv8spsl-findutils-4.6.0 
coreutils 8.31 out /gnu/store/9kzrrccpzl6i1sfwb0drb00gi2gwk0x0-coreutils-8.31 
bash 5.0.7 out /gnu/store/n1c9jiv2njnvdfz58v71fvzq0hkgivz1-bash-5.0.7 
guile-colorized 0.1 out /gnu/store/pf1cipqlqqrhybqvipjg6pynbmmm3lww-guile-colorized-0.1 
guile-readline 2.2.6 out /gnu/store/dqwcbqyj7hsvniskhq6vv6c0whlnrzp4-guile-readline-2.2.6 
guile 2.2.6 out /gnu/store/1mkkv2caiqbdbbd256c4dirfi4kwsacv-guile-2.2.6 
bash-completion 2.8 out /gnu/store/9i5d4dsxip5mfrrda0z2mypjg77ypm27-bash-completion-2.8 
kbd 2.0.4 out /gnu/store/122h6251143lh1g9xipggd331q5vqd3k-kbd-2.0.4 
e2fsprogs 1.45.5 out /gnu/store/6lqcz57c2r06p3ggjr81c9h88afddgzq-e2fsprogs-1.45.5 
eudev 3.2.9 out /gnu/store/d92fv6s63hmn9ny806j9s758bpwbbh85-eudev-3.2.9 
kmod 26 out /gnu/store/d064bv2b1hrb07j2zj78i608db7qldx9-kmod-26 
sudo 1.8.31p1 out /gnu/store/l320ig872ny66d1yi6v7n4zb93iz50dx-sudo-1.8.31p1 
info-reader 6.6 out /gnu/store/hk454lb6ssv0gj677b2ycis881yjx5sw-info-reader-6.6 
man-db 2.9.1 out /gnu/store/lf0hv4a4x0k4scj3fy3v50y4hgzxz6bj-man-db-2.9.1 
iproute2 5.5.0 out /gnu/store/30n1w6vd2c45fvipib0hrafhsgssb9lw-iproute2-5.5.0 
wireless-tools 30.pre9 out /gnu/store/z4jwx3v0dfx2gixmvvjrn93cw3s78jks-wireless-tools-30.pre9 
iw 4.14 out /gnu/store/l41s0qa1xr21l4na3fscjkdy1w5lnb1h-iw-4.14 
shadow 4.8.1 out /gnu/store/324r5cjvfr5jdxdghmpl2gk1d29q3q7z-shadow-4.8.1 
isc-dhcp 4.4.2 out /gnu/store/y9zrf9pa7dxx7ivkd8xlcs03gmf0g1ba-isc-dhcp-4.4.2 
inetutils 1.9.4 out /gnu/store/ljwvyw48n2j28q0w96qykr04wcgwzcnh-inetutils-1.9.4 
util-linux-with-udev 2.34 out /gnu/store/0xq0f13zm6wc8jdl5qgmx4zg7narv893-util-linux-with-udev-2.34 
usbutils 012 out /gnu/store/n3bj919h6f1ndcn2d85lkmv4y28phjl3-usbutils-012 
pciutils 3.6.4 out /gnu/store/7b3v93b9gba77z7fwrh4s1g5d6yckbnc-pciutils-3.6.4 
nano 4.9 out /gnu/store/2naak5n1qssgj3qhv1h9msac4bdmi2gn-nano-4.9 
zile 2.4.14 out /gnu/store/9n7rz7pxc5wl66d4bmkrlww28nw7pw1v-zile-2.4.14 
less 551 out /gnu/store/m9hr79gprslx3d8lag2887607jx639dc-less-551 
which 2.21 out /gnu/store/4izp5ih15pdr3q2hax2c6fmjqsw4vcrv-which-2.21 
psmisc 23.3 out /gnu/store/619x3nsk248sli24jz3xd07fh91d6nrv-psmisc-23.3 
procps 3.3.16 out /gnu/store/qi3a81szwaki6769jjnrp7vz1svavnrg-procps-3.3.16 
nss-certs 3.50 out /gnu/store/0y63pfqi2626nwsjbksrci1jyd62cxx8-nss-certs-3.50 

</blockquote>


Generation 2 config: 

<blockquote>
testuser <at> guixFirst /var/guix/profiles/system-2-link$ cat /var/guix/profiles/system-2-link/configuration.scm 
;; This is an operating system configuration generated 
;; by the graphical installer. 

(use-modules (gnu)) 
(use-service-modules desktop networking ssh xorg) 

(operating-system 
(locale "en_US.utf8") 
(timezone "America/Chicago") 
(keyboard-layout (keyboard-layout "us")) 
(host-name "guixFirst") 
(users (cons* (user-account 
(name "testuser") 
(comment "Testuser") 
(group "users") 
(home-directory "/home/testuser") 
(supplementary-groups 
'("wheel" "netdev" "audio" "video"))) 
%base-user-accounts)) 
(packages 
(append 
(list (specification->package "nss-certs")) 
%base-packages)) 
(services 
(append 
(list (service xfce-desktop-service-type) 
(service openssh-service-type) 
(set-xorg-configuration 
(xorg-configuration 
(keyboard-layout keyboard-layout)))) 
%desktop-services)) 
(bootloader 
(bootloader-configuration 
(bootloader grub-bootloader) 
(target "/dev/vda") 
(keyboard-layout keyboard-layout))) 
(mapped-devices 
(list (mapped-device 
(source 
(uuid "46603b23-6499-4022-96ac-59ff0fc8d161")) 
(target "cryptroot") 
(type luks-device-mapping)))) 
(file-systems 
(cons* (file-system 
(mount-point "/") 
(device "/dev/mapper/cryptroot") 
(type "ext4") 
(dependencies mapped-devices)) 
%base-file-systems))) 

</blockquote>
Generation 2 installed packages: 



<blockquote>
testuser <at> guixFirst /var/guix/profiles/system-2-link$ guix package --list-installed --profile=/var/guix/profiles/system-2-link/profile 
guile: warning: failed to install locale 
mcron 1.1.4 out /gnu/store/izm3zy5vqh3r5wjz364hxnpl9wq0kd5v-mcron-1.1.4 
localed 241 out /gnu/store/mnzcp2rrv143impzpjwhf22wmyxwba10-localed-241 
xfce 4.14.2 out /gnu/store/79bax5fyz3gym6xvlav5ywhr59g3k2ff-xfce-4.14.2 
openssh 8.2p1 out /gnu/store/397a8xjw5psr31h4wiwj2dr3ln31w1hq-openssh-8.2p1 
font-abattis-cantarell 0.111 out /gnu/store/iahd565pyyamqsb4cz32lw793di15lkc-font-abattis-cantarell-0.111 
adwaita-icon-theme 3.34.3 out /gnu/store/l8hgdxvz2nqlfnsk6p7x0g6j1awh94lk-adwaita-icon-theme-3.34.3 
network-manager 1.18.4 out /gnu/store/78krscsvac029g2kpb9pfyzbg81la7mi-network-manager-1.18.4 
wpa-supplicant 2.9 out /gnu/store/252hmwsr7dbbnmxwcp51sck6rxy0ki0w-wpa-supplicant-2.9 
network-manager-applet 1.8.24 out /gnu/store/qd0ics4z8khiclllv5nnz8cs1hd271yz-network-manager-applet-1.8.24 
avahi 0.8 out /gnu/store/awni95mcqnjydafq6rv1b67jsgndbi8i-avahi-0.8 
udisks 2.7.7 out /gnu/store/63dnwg38xl3xrm83k425ddl3b54y87zp-udisks-2.7.7 
upower 0.99.11 out /gnu/store/rwzi032j54k415rix180n9mygx0cqfkf-upower-0.99.11 
elogind 243.4 out /gnu/store/44il8dnl5qc6ryb3v0lp5374hg3h7vx5-elogind-243.4 
guix 1.1.0-4.bdc801e out /gnu/store/9qs1v87rv4ch7x07adbx8pfnkjxm39d1-guix-1.1.0-4.bdc801e 
rottlog 0.72.2 out /gnu/store/nxx2wpgnjv4hn9js54n2mnrj0rdv0ahs-rottlog-0.72.2 
shepherd 0.8.0 out /gnu/store/277md04f98aaacqlcwpwd9xrw3skb4za-shepherd-0.8.0 
lzip 1.21 out /gnu/store/q54f2b7qz4vhwbmxww0i19z8mayabmpg-lzip-1.21 
xz 5.2.4 out /gnu/store/r7k859hmcnkazf492fasqvk25jflnfk6-xz-5.2.4 
bzip2 1.0.8 out /gnu/store/a9f7wmc75hbpg520phw9z4l9asm3qvsw-bzip2-1.0.8 
gzip 1.10 out /gnu/store/378zjf2kgajcfd7mfr98jn5xyc5wa3qv-gzip-1.10 
tar 1.32 out /gnu/store/sf3rbvb6iqcphgm1afbplcs72hsywg25-tar-1.32 
gawk 5.0.1 out /gnu/store/alfmgg03i759f8ppzkbbad82lbdpv22h-gawk-5.0.1 
patch 2.7.6 out /gnu/store/jzyji08gv4lshpyddl5897iiapyac6vn-patch-2.7.6 
diffutils 3.7 out /gnu/store/qq4fl5wsxi0jv9w33sw5a6wvbxw8yxs4-diffutils-3.7 
sed 4.8 out /gnu/store/hzx0iyg1a637zywcbhv3l9lk9fkyihgs-sed-4.8 
grep 3.4 out /gnu/store/yhqc5imq7sn2sf9f48dj4gk12y4kw4s4-grep-3.4 
findutils 4.7.0 out /gnu/store/jyxv85scwbplisx6xrwfr94k70m1ynhn-findutils-4.7.0 
coreutils 8.32 out /gnu/store/n8awazyldv9hbzb7pjcw76hiifmvrpvd-coreutils-8.32 
bash 5.0.16 out /gnu/store/87kif0bpf0anwbsaw0jvg8fyciw4sz67-bash-5.0.16 
guile 3.0.2 out /gnu/store/18hp7flyb3yid3yp49i6qcdq0sbi5l1n-guile-3.0.2 
shadow 4.8.1 out /gnu/store/r4hd5nnhbmhi7fvbl4cwcmb71schv27f-shadow-4.8.1 
which 2.21 out /gnu/store/k30a2pgmc6b3ifmq3rn0dr5ng9gr8w81-which-2.21 
psmisc 23.3 out /gnu/store/4i4z85hr32bwl9r6z05ln3ybasqzpc7z-psmisc-23.3 
procps 3.3.16 out /gnu/store/x765119mh28gwp62iwxjfxfwab78r129-procps-3.3.16 
wireless-tools 30.pre9 out /gnu/store/zlsm2b3r377nxq4f522d99pg45hv6mvr-wireless-tools-30.pre9 
iw 4.14 out /gnu/store/bkr47jzdwiaaq2nxfv016ipbq7912kcg-iw-4.14 
iproute2 5.5.0 out /gnu/store/q3bd6v4595pqfnnb6m9sxfilj1hhvw0j-iproute2-5.5.0 
isc-dhcp 4.4.2 out /gnu/store/9ll5am5kglqbddikxbxh0r0j9f5xmf8m-isc-dhcp-4.4.2 
inetutils 1.9.4 out /gnu/store/lgdqnib88jsdp57gp129qxdvzsyzlg2j-inetutils-1.9.4 
eudev 3.2.9 out /gnu/store/bjp2vcbdsmckv2b4f69bci1z9n0i43b6-eudev-3.2.9 
kmod 26 out /gnu/store/9rvf68qxkq14sxajdp4gf8qqa026bjj2-kmod-26 
util-linux-with-udev 2.35.1 out /gnu/store/7l93yjckm2pz5n24g1sypgfv703m1j56-util-linux-with-udev-2.35.1 
usbutils 012 out /gnu/store/3hqcaxdrnkij40pgqr278is6w2sx6h9k-usbutils-012 
pciutils 3.6.4 out /gnu/store/vzl9c4ydac53jcrb51jvgk0djdrnv7j2-pciutils-3.6.4 
guile-colorized 0.1 out /gnu/store/8csi6009nb762gy43adzmlazzy1j9ikn-guile-colorized-0.1 
guile-readline 3.0.2 out /gnu/store/va6l1ivclww22fi38w5h99pb4ndn99hg-guile-readline-3.0.2 
sudo 1.9.0 out /gnu/store/x8bs3djqc4wx333dqjnglhk5k1ag0sv7-sudo-1.9.0 
kbd 2.0.4 out /gnu/store/ymc5xgz2xrn8ixay4xjkixchirbg9xsh-kbd-2.0.4 
bash-completion 2.8 out /gnu/store/h1k1lng1h4khr07h4y6hsw2xz5x6x1kb-bash-completion-2.8 
info-reader 6.7 out /gnu/store/wx15gmccrk0gb3qgj17gski0c03ndgdh-info-reader-6.7 
man-db 2.9.1 out /gnu/store/xpjfq928jjxc4f9k8xcjna1wnf4l2sm2-man-db-2.9.1 
nano 4.9.2 out /gnu/store/39jnz8899sc4l92q53wxwqhb2n2pgcc9-nano-4.9.2 
zile 2.4.14 out /gnu/store/2q5ksz7xaxg0ns1hrjkx7v7yip138khr-zile-2.4.14 
less 551 out /gnu/store/042bb9wz1ig20y16dl6ssa85d12w5c98-less-551 
e2fsprogs 1.45.6 out /gnu/store/swwd2i26pqx1jyfg81lrnrw1hq7adn05-e2fsprogs-1.45.6 
nss-certs 3.50 out /gnu/store/24yvi2yyknfrpyb7linxd09dkpc560xp-nss-certs-3.50 

</blockquote>

[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41241; Package guix. (Wed, 13 May 2020 19:38:02 GMT) Full text and rfc822 format available.

Message #8 received at 41241 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: W Knight <whk <at> umbisag.org>, 41241 <at> debbugs.gnu.org
Subject: Re: bug#41241: xfce4 default font display broken after guix pull;
 sudo guix system reconfigure /etc/config.scm
Date: Wed, 13 May 2020 21:37:41 +0200
[Message part 1 (text/plain, inline)]
W Knight <whk <at> umbisag.org> writes:

> Summary: 
> After doing a guix pull; sudo guix system reconfigure /etc/config.scm on a fresh 1.1.0 install via iso the default font for all xfce displays breaks. Each character in menu, applications, and terminals is a box with four dots (no character available). 
> If I switch from generation 2 (reconfigure) to generation 1 (iso) fonts work again. 
>
> Workaround: manually adding fonts-dejavu to /etc/config.scm packages and reconfiguring fixes issue 

This roots in the fact that Pango (the font rendering library used by
GTK+) no longer supports bitmap fonts:

  https://gitlab.gnome.org/GNOME/pango/issues/386

We should probably provide a default font in %base-packages to work
around this problem, or graft TrueType/OpenType fonts onto the
'gs-fonts' package which is available to most applications (but
unfortunately only contains bitmap fonts..).

I don't have a clear idea of what a proper solution here would be,
feedback wanted.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#41241; Package guix. (Wed, 13 May 2020 19:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 41241 <at> debbugs.gnu.org (full text, mbox):

From: W Knight <whk <at> umbisag.org>
To: 41241 <at> debbugs.gnu.org
Subject: Re: bug#41241: example snapshots
Date: Wed, 13 May 2020 19:05:03 +0000 (GMT+00:00)
[Message part 1 (text/plain, inline)]
Generation 1 (working image): 




Generation 2 (broken image): 


[Message part 2 (text/html, inline)]
[generation1.png (image/png, attachment)]
[generation2.png (image/png, attachment)]

Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Wed, 20 May 2020 22:02:02 GMT) Full text and rfc822 format available.

Notification sent to W Knight <whk <at> umbisag.org>:
bug acknowledged by developer. (Wed, 20 May 2020 22:02:02 GMT) Full text and rfc822 format available.

Message #16 received at 41241-done <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Leo Famulari <leo <at> famulari.name>
Cc: guix-devel <at> gnu.org
Subject: Re: [PATCH] gnu: fontconfig: Add replacement with font-dejavu instead
 of gs-fonts.
Date: Thu, 21 May 2020 00:00:39 +0200
[Message part 1 (text/plain, inline)]
Leo Famulari <leo <at> famulari.name> writes:

> On Sun, May 17, 2020 at 04:50:12PM +0200, Marius Bakke wrote:
>> This is a hack to make (some) fonts working when users don't have fonts
>> specified in their system configuration, and (crucially) places where
>> the fontconfig cache may be unavailable such as 'guix pack's.
>> 
>> I'm not sure whether font-dejavu is a good replacement here.  Another
>> approach could be to convert gs-fonts to TrueType or OpenType format.
>> 
>> Thoughts?  I don't know much about fonts and would appreciate feedback.
>
> I think you should push right away, assuming that it helps and doesn't
> rebuild the world.

I pushed the patch as ab9de8cfb0525ef43668712ac898707f97f9a620.

I verified that it fixes the immediate problem with fonts in the Guix
manual (#41282) as well as 'guix pack' (#41344).  It should also provide
a decent fallback for cases where the user did not explicitly install
any fonts such as in #41241.

Hoping for angry reports now about why such a poor replacement font was
chosen.  ;-)
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 Jun 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.