GNU bug report logs - #11075
24.0.94; Text shaping/Harfbuzz support on macOS

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Fri, 23 Mar 2012 16:42:02 UTC

Severity: wishlist

Found in version 24.0.94

Full log


View this message in rfc822 format

From: Joost Kremers <joostkremers <at> fastmail.fm>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 11075 <at> debbugs.gnu.org
Subject: bug#11075: 24.0.94; Arabic character composition
Date: Fri, 23 Mar 2012 19:23:11 +0100
On Fri, Mar 23, 2012 at 07:06:27PM +0200, Eli Zaretskii wrote:
> > Date: Fri, 23 Mar 2012 16:44:01 +0100
> > From: Joost Kremers <joostkremers <at> fastmail.fm>
> > 
> > Although Emacs 24 has bidi support (yay!), character composition for Arabic
> > does not work for me on OS X. (In the Arabic script, each character has
> > different forms depending on its position in the word: beginning, middle or
> > end. These shapes should be selected automatically by the software, but
> > they are not.)
> 
> Unless you build Emacs with a library that supports Arabic shaping,
> you won't be able to have it.  Does OS X offer such a library?

I don't know, but I suspect it does, because Arabic text is displayed
correctly in e.g. TextEdit. (Though interestingly, neither LibreOffice nor
MS Word do...)

> > On Linux, Emacs needs to be compiled with libotf in order to provide the
> > necessary character composition, which then works perfectly.
> 
> Can't libotf be compiled on OS X?

I haven't tried, but since it's part of both Fink and MacPorts, I suspect
it can.

I can try compiling libotf and then Emacs 24 and see if it works, but it'll
be a few days (perhaps even more) before I have an opportunity (and the
time...) to do so. (OTOH, since libotf isn't part of OS X, it may not be
preferable for Emacs to use it on OS X, especially if there is a native
library.)

Anyway, just let me know if I can help.

J.


-- 
Dr. Joost Kremers
Georg-August-Universität
Seminar für Deutsche Philologie
Käte-Hamburger-Weg 3
D-37073 Göttingen




This bug report was last modified 92 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.