FS#67567 - [emacs] Adding support for Cairo drawing and HarfBuzz text shaping

Attached to Project: Arch Linux
Opened by pancho horrillo (pancho) - Thursday, 13 August 2020, 06:09 GMT
Last edited by Jürgen Hötzel (juergen) - Friday, 28 August 2020, 18:38 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 9
Private No

Details

Description:


Emacs 27.1 has introduced support¹ for Cairo drawing and text shaping with HarfBuzz.

Cairo replaces² ImageMagick for resizing and rotating images (alternatively implemented by the XRender extension to X11).

The HarfBuzz text shaping is preferred² to the previously supported drivers.

Both options are enabled by default, provided that the libraries are present ('harfbuzz', 'cairo').


I haven't found any issues while testing these options (for a few months). Could these be included in the package?

Thanks a bunch!


References:

[1]: https://lists.gnu.org/archive/html/emacs-devel/2020-08/msg00237.html
[2]: https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.27.1


See also:

- https://www.cairographics.org/
- https://harfbuzz.github.io/
This task depends upon

Closed by  Jürgen Hötzel (juergen)
Friday, 28 August 2020, 18:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in emacs-27.1-3-x86_64.pkg.tar.zst
Comment by pancho horrillo (pancho) - Thursday, 13 August 2020, 06:11 GMT
Oops, in order to enable Cairo, the --with-cairo option must be passed to ./configure; it's not on by default. HarfBuzz is enabled by default, though.
Comment by pancho horrillo (pancho) - Friday, 21 August 2020, 04:38 GMT
See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs27-git for reference. It's what I've been using for the last three months, without issues.

Loading...