FS#55224 - [imagemagick] Enable support for complex text

Attached to Project: Arch Linux
Opened by Khaled Hosny (khaledhosny) - Monday, 21 August 2017, 17:31 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 23 August 2017, 09:03 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Imagemagick is not built with complex text support (needed for languages like Arabic, Hebrew, Hindi, etc.). Upstream has support for complex text layout but it needs to be enabled at build time.

Additional info:
* requires passing --with-raqm to configure script.
* depends on libraqm (available on AUR: https://aur.archlinux.org/packages/libraqm/).


Steps to reproduce:
The text should be connected and from right to left (as seen in the browser), but it isn’t currently:
$ convert -font /usr/share/fonts/TTF/DejaVuSans.ttf -pointsize 72 label:عربي label.png
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 23 August 2017, 09:03 GMT
Reason for closing:  Implemented
Additional comments about closing:  imagemagick 6.9.9.9-3
Comment by Khaled Hosny (khaledhosny) - Wednesday, 23 August 2017, 08:55 GMT
  • Field changed: Percent Complete (100% → 0%)
This still does not seem to work, I still get Arabic disconnected and from left to right. Locally built ImageMagick 6.9.9-9 from source works fine.
Comment by Khaled Hosny (khaledhosny) - Wednesday, 23 August 2017, 09:02 GMT
I don’t know how package building works, but it seems that libMagickCore-6.Q16HDRI.so.5 does not link with libraqm. I guess because it is missing from makedepends and thus not available at build time.
Comment by Antonio Rojas (arojas) - Wednesday, 23 August 2017, 09:03 GMT
Dependencies are hard... really fixed now

Loading...