l...@gnu.org (Ludovic Courtès) skribis: > Andreas Enge <andr...@enge.fr> skribis: > >> thanks to Ludovic's help, who noticed that the pango input harfbuzz should >> be propagated, and after disabling the X server related tests, I managed to >> compile gtk+. I just pushed the new package, but so far, I did not test it >> with any application, so it might not even work... > > Neat, in time for 0.3, thank you! :-) > > I just added it to Emacs:
[...] > Now, the widgets that use Pango for font rendering (I suppose), like > menus, display squares instead of actual characters, and the console is > filled with things like: > > Fontconfig error: line 139: invalid attribute 'xml:space' > Fontconfig error: line 140: invalid attribute 'xml:space' > Fontconfig error: line 146: invalid attribute 'xml:space' > Fontconfig warning: > "/nix/store/i7gz1hrlrpvaz0dr3qj8hhnqx3rg60rn-fontconfig-2.8.0/etc/fonts/conf.d/30-metric-aliases.conf", > line 84: Having multiple <family> in <alias> isn't supported and may not > work as expected > Fontconfig warning: > "/nix/store/i7gz1hrlrpvaz0dr3qj8hhnqx3rg60rn-fontconfig-2.8.0/etc/fonts/conf.d/30-metric-aliases.conf", > line 84: Having multiple <family> in <alias> isn't supported and may not > work as expected > Fontconfig warning: > "/nix/store/i7gz1hrlrpvaz0dr3qj8hhnqx3rg60rn-fontconfig-2.8.0/etc/fonts/conf.d/30-metric-aliases.conf", > line 93: Having multiple <family> in <alias> isn't supported and may not > work as expected I still get these. However, once gs-fonts is installed in the profile, everything displays correctly (thanks to commit 0ceea4f3edb6fd158613f2c46d18e037bc183f1a). My .emacs does this: (set-frame-font "Bitstream Vera Sans Mono-12" nil) So I packaged that font. Once it’s installed, it’s loaded and used as expected, and everything works beautifully! We should probably add a section “Installing and Using Fonts” under “GNU Distribution”, to explain that fonts are searched for in the user’s default profile. Any volunteer? :-) Thanks, Ludo’.