guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] gnu: emacs: Use libotf.


From: Ludovic Courtès
Subject: Re: [PATCH] gnu: emacs: Use libotf.
Date: Tue, 15 Mar 2016 17:01:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Roel Janssen <address@hidden> skribis:

> Ludovic Courtès writes:
>
>> Roel Janssen <address@hidden> skribis:
>>
>>> Here's a very small patch to compile Emacs with libotf support.
>>> Unfortunately for me, it hasn't given me better font rendering.
>>
>> Does the resulting Emacs refer to libotf, as per:
>>
>>   guix gc --references $(./pre-inst-env guix build emacs) | grep libotf
>>
>> ?
>
> Yes, here's the output:
> address@hidden guix]$ guix gc --references $(./pre-inst-env guix build emacs) 
> | grep libotf
> /gnu/store/kzc2zkdl3aadrs3iiml7vva80fgsd2b9-libotf-0.9.13
>
> You can also see "Does Emacs use libotf?" turn to "yes" with my patch in
> the overview at the end of the configure phase.
>
>> If it does, could you check how it’s supposed to use it?  I don’t see
>> how it would be used, but I guess this has nothing to do with rendering.
>
> It seems that Emacs can use it for complex font rendering of OTF fonts:
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Low_002dLevel-Font.html
>
> (search for "libotf").

Oh, interesting, glad to be proved wrong!  ;-)

Well that seems like a useful addition, so feel free to add it to
‘emacs’ (and to make sure it is removed from ‘emacs-no-x’.)

>> How “wrong” is font rendering for you?
>
> I attached two screenshots, emacs-from-guix.png and
> emacs-from-fedora.png.  Both are compiled with libotf support.  Besides
> the missing Fira font, the text on the Emacs from Guix looks stretched
> and not properly anti-aliased to me.

Right, but it’s a different font.  You’re probably right that something
is wrong, but it’s hard to tell with a different font.

Thanks!

Ludo’.



reply via email to

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