unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: guix-devel@gnu.org
Subject: Re: Gtk+
Date: Thu, 15 Aug 2013 23:57:36 +0200	[thread overview]
Message-ID: <87r4du62i7.fsf@gnu.org> (raw)
In-Reply-To: <87sizfea6f.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 16 Jul 2013 00:21:44 +0200")

ludo@gnu.org (Ludovic Courtès) skribis:

> Andreas Enge <andreas@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’.

      parent reply	other threads:[~2013-08-15 22:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-15 20:54 Gtk+ Andreas Enge
2013-07-15 22:21 ` Gtk+ Ludovic Courtès
2013-07-16  8:30   ` Gtk+ Andreas Enge
2013-08-15 21:57   ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r4du62i7.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).