GNU bug report logs -
#11075
24.0.94; Text shaping/Harfbuzz support on macOS
Previous Next
To reply to this bug, email your comments to 11075 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Fri, 23 Mar 2012 16:42:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Joost Kremers <joostkremers <at> fastmail.fm>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 23 Mar 2012 16:42:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug. If you can, give a recipe
starting from `emacs -Q':
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.)
On Linux, Emacs needs to be compiled with libotf in order to provide the
necessary character composition, which then works perfectly.
Joost Kremers
In GNU Emacs 24.0.94.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
of 2012-02-28 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1138
Configured using:
`configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
'--with-ns' 'build_alias=i686-apple-darwin'
'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: de_DE.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Text
Minor modes in effect:
diff-auto-refine-mode: t
yas/global-mode: t
yas/minor-mode: t
show-paren-mode: t
delete-selection-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<home> C-SPC <end> M-w C-c C-c n C-y C-SPC M-n C-w
<home> C-SPC M-n C-n C-w M-n M-n M-n M-n <next> C-x
C-c C-g C-c C-c n C-x C-f d r o <tab> w o <tab> s t
i <tab> a <tab> <return> M-x r e p o <tab> r <tab>
<return>
Recent messages:
Do you want to attach anything? (y or n) n
(No changes need to be saved)
Modification-flag cleared
When done with a buffer, type C-x #
Mark set [4 times]
Auto-saving...done
Quit
Do you want to attach anything? (y or n) n
Wrote /Users/joost/tmp/mutt-pc201-501-47762-811386051884762191
Making completion list...
Load-path shadows:
/Applications/Emacs.app/Contents/Resources/site-lisp/org hides /Applications/Emacs.app/Contents/Resources/lisp/org/org
/Applications/Emacs.app/Contents/Resources/site-lisp/org-xoxo hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-xoxo
/Applications/Emacs.app/Contents/Resources/site-lisp/org-wl hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-wl
/Applications/Emacs.app/Contents/Resources/site-lisp/org-w3m hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-w3m
/Applications/Emacs.app/Contents/Resources/site-lisp/org-vm hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-vm
/Applications/Emacs.app/Contents/Resources/site-lisp/org-timer hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-timer
/Applications/Emacs.app/Contents/Resources/site-lisp/org-taskjuggler hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-taskjuggler
/Applications/Emacs.app/Contents/Resources/site-lisp/org-table hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-table
/Applications/Emacs.app/Contents/Resources/site-lisp/org-src hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-src
/Applications/Emacs.app/Contents/Resources/site-lisp/org-special-blocks hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-special-blocks
/Applications/Emacs.app/Contents/Resources/site-lisp/org-rmail hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-rmail
/Applications/Emacs.app/Contents/Resources/site-lisp/org-remember hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-remember
/Applications/Emacs.app/Contents/Resources/site-lisp/org-publish hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-publish
/Applications/Emacs.app/Contents/Resources/site-lisp/org-protocol hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-protocol
/Applications/Emacs.app/Contents/Resources/site-lisp/org-plot hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-plot
/Applications/Emacs.app/Contents/Resources/site-lisp/org-pcomplete hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-pcomplete
/Applications/Emacs.app/Contents/Resources/site-lisp/org-odt hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-odt
/Applications/Emacs.app/Contents/Resources/site-lisp/org-mouse hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mouse
/Applications/Emacs.app/Contents/Resources/site-lisp/org-mobile hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mobile
/Applications/Emacs.app/Contents/Resources/site-lisp/org-mks hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mks
/Applications/Emacs.app/Contents/Resources/site-lisp/org-mhe hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mhe
/Applications/Emacs.app/Contents/Resources/site-lisp/org-mew hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mew
/Applications/Emacs.app/Contents/Resources/site-lisp/org-macs hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-macs
/Applications/Emacs.app/Contents/Resources/site-lisp/org-mac-message hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-mac-message
/Applications/Emacs.app/Contents/Resources/site-lisp/org-lparse hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-lparse
/Applications/Emacs.app/Contents/Resources/site-lisp/org-list hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-list
/Applications/Emacs.app/Contents/Resources/site-lisp/org-latex hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-latex
/Applications/Emacs.app/Contents/Resources/site-lisp/org-jsinfo hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-jsinfo
/Applications/Emacs.app/Contents/Resources/site-lisp/org-irc hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-irc
/Applications/Emacs.app/Contents/Resources/site-lisp/org-install hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-install
/Applications/Emacs.app/Contents/Resources/site-lisp/org-inlinetask hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-inlinetask
/Applications/Emacs.app/Contents/Resources/site-lisp/org-info hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-info
/Applications/Emacs.app/Contents/Resources/site-lisp/org-indent hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-indent
/Applications/Emacs.app/Contents/Resources/site-lisp/org-id hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-id
/Applications/Emacs.app/Contents/Resources/site-lisp/org-icalendar hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-icalendar
/Applications/Emacs.app/Contents/Resources/site-lisp/org-html hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-html
/Applications/Emacs.app/Contents/Resources/site-lisp/org-habit hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-habit
/Applications/Emacs.app/Contents/Resources/site-lisp/org-gnus hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-gnus
/Applications/Emacs.app/Contents/Resources/site-lisp/org-freemind hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-freemind
/Applications/Emacs.app/Contents/Resources/site-lisp/org-footnote hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-footnote
/Applications/Emacs.app/Contents/Resources/site-lisp/org-feed hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-feed
/Applications/Emacs.app/Contents/Resources/site-lisp/org-faces hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-faces
/Applications/Emacs.app/Contents/Resources/site-lisp/org-exp hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-exp
/Applications/Emacs.app/Contents/Resources/site-lisp/org-exp-blocks hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-exp-blocks
/Applications/Emacs.app/Contents/Resources/site-lisp/org-eshell hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-eshell
/Applications/Emacs.app/Contents/Resources/site-lisp/org-entities hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-entities
/Applications/Emacs.app/Contents/Resources/site-lisp/org-docview hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-docview
/Applications/Emacs.app/Contents/Resources/site-lisp/org-docbook hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-docbook
/Applications/Emacs.app/Contents/Resources/site-lisp/org-datetree hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-datetree
/Applications/Emacs.app/Contents/Resources/site-lisp/org-ctags hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-ctags
/Applications/Emacs.app/Contents/Resources/site-lisp/org-crypt hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-crypt
/Applications/Emacs.app/Contents/Resources/site-lisp/org-compat hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-compat
/Applications/Emacs.app/Contents/Resources/site-lisp/org-colview hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-colview
/Applications/Emacs.app/Contents/Resources/site-lisp/org-clock hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-clock
/Applications/Emacs.app/Contents/Resources/site-lisp/org-capture hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-capture
/Applications/Emacs.app/Contents/Resources/site-lisp/org-bibtex hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-bibtex
/Applications/Emacs.app/Contents/Resources/site-lisp/org-beamer hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-beamer
/Applications/Emacs.app/Contents/Resources/site-lisp/org-bbdb hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-bbdb
/Applications/Emacs.app/Contents/Resources/site-lisp/org-attach hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-attach
/Applications/Emacs.app/Contents/Resources/site-lisp/org-ascii hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-ascii
/Applications/Emacs.app/Contents/Resources/site-lisp/org-archive hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-archive
/Applications/Emacs.app/Contents/Resources/site-lisp/org-agenda hides /Applications/Emacs.app/Contents/Resources/lisp/org/org-agenda
/Applications/Emacs.app/Contents/Resources/site-lisp/ob hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-tangle hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-tangle
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-table hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-table
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-sqlite hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sqlite
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-sql hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sql
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-shen hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-shen
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-sh hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sh
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-screen hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-screen
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-scheme hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-scheme
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-sass hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-sass
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-ruby hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ruby
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-ref hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ref
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-R hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-R
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-python hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-python
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-plantuml hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-plantuml
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-picolisp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-picolisp
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-perl hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-perl
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-org hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-org
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-octave hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-octave
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-ocaml hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ocaml
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-mscgen hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-mscgen
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-maxima hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-maxima
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-matlab hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-matlab
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-lob hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lob
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-lisp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lisp
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-lilypond hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-lilypond
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-ledger hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ledger
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-latex hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-latex
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-keys hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-keys
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-js hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-js
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-java hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-java
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-haskell hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-haskell
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-gnuplot hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-gnuplot
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-fortran hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-fortran
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-exp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-exp
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-eval hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-eval
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-emacs-lisp hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-dot hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-dot
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-ditaa hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-ditaa
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-css hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-css
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-comint hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-comint
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-clojure hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-clojure
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-calc hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-calc
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-C hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-C
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-awk hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-awk
/Applications/Emacs.app/Contents/Resources/site-lisp/ob-asymptote hides /Applications/Emacs.app/Contents/Resources/lisp/org/ob-asymptote
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader quail ielm pp uniquify actr-mode magit-bisect
magit-key-mode magit diff-mode log-edit pcvs-util add-log pandoc-mode
org-drill org-learn org-id hi-lock org-inlinetask org byte-opt warnings
bytecomp byte-compile cconv macroexp ob-emacs-lisp ob-tangle ob-ref
ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval
org-pcomplete pcomplete comint ansi-color ring org-list org-faces
org-compat org-entities org-macs cal-menu calendar cal-loaddefs
org-install yasnippet dropdown-list help-mode view assoc markdown-mode
thingatpt noutline outline bm show-wspace windmove paren swbuff post
derived advice help-fns advice-preload ebib easy-mmode bibtex
preview-latex tex-site auto-loads zenburn color-theme edmacro kmacro
wid-edit cl sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils reporter easymenu server delsel time-date tooltip
ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)
--
Joost Kremers, PhD
University of Göttingen
Institute for German Philology
Käte-Hamburger-Weg 3
37073 Göttingen, Germany
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Fri, 23 Mar 2012 17:38:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 11075 <at> debbugs.gnu.org (full text, mbox):
> 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?
> 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?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Fri, 23 Mar 2012 18:54:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 11075 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Fri, 23 Mar 2012 19:12:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 11075 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 23 Mar 2012 19:23:11 +0100
> From: Joost Kremers <joostkremers <at> fastmail.fm>
> Cc: 11075 <at> debbugs.gnu.org
>
> > 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.
Well, maybe you can find out what that libraries are and how to link
against them, then we could include the necessary instructions in
Emacs.
> > 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.
If you try that, please be sure to build all the libraries mentioned
in INSTALL under "Complex Text Layout support libraries".
> Anyway, just let me know if I can help.
I don't have access to OS X, so if you could build libotf and the
other libraries mentioned in INSTALL and see if that gets you Arabic
shaping, that'd be nice. Thanks in advance.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs,ns
.
(Tue, 27 Mar 2012 15:06:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 11075 <at> debbugs.gnu.org (full text, mbox):
On Fri, Mar 23, 2012 at 08:39:41PM +0200, Eli Zaretskii wrote:
> > Date: Fri, 23 Mar 2012 19:23:11 +0100
> > From: Joost Kremers <joostkremers <at> fastmail.fm>
> > Cc: 11075 <at> debbugs.gnu.org
> >
> > > 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.
>
> Well, maybe you can find out what that libraries are and how to link
> against them, then we could include the necessary instructions in
> Emacs.
Since I'm not an Apple developer, I'm not really sure where to look for
such information. From what I've found through Google, it seems that the
relevant library is simply CoreText, but I may completely misunderstand how
OS X libraries work...
> I don't have access to OS X, so if you could build libotf and the
> other libraries mentioned in INSTALL and see if that gets you Arabic
> shaping, that'd be nice. Thanks in advance.
I've tried, but haven't been successful... m17n-db can be installed, though
it requires downloading the charmaps and installing GNU/gettext because the
program msgfmt isn't part of OS X. (It's part of GNU/gettext but not of the
gettext that comes with OS X, it seems.)
Then, however, configuring m17n-lib failed with the following message:
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/local/Cellar/autoconf/2.68/bin/autoconf --force
configure.ac:52: error: possibly undefined macro: AC_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/local/Cellar/autoconf/2.68/bin/autoconf failed with exit status: 1
Since I have no idea what this is about, I stopped my attempts at
installation.
--
Dr. Joost Kremers
Georg-August-Universität
Seminar für Deutsche Philologie
Käte-Hamburger-Weg 3
D-37073 Göttingen
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs,ns
.
(Tue, 27 Mar 2012 18:39:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 11075 <at> debbugs.gnu.org (full text, mbox):
> Date: Tue, 27 Mar 2012 16:33:37 +0200
> From: Joost Kremers <joostkremers <at> fastmail.fm>
> Cc: 11075 <at> debbugs.gnu.org
>
> I've tried, but haven't been successful... m17n-db can be installed, though
> it requires downloading the charmaps and installing GNU/gettext because the
> program msgfmt isn't part of OS X. (It's part of GNU/gettext but not of the
> gettext that comes with OS X, it seems.)
>
> Then, however, configuring m17n-lib failed with the following message:
>
> autoreconf: running: aclocal --force -I m4
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/local/Cellar/autoconf/2.68/bin/autoconf --force
> configure.ac:52: error: possibly undefined macro: AC_PROG_LIBTOOL
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> autoreconf: /usr/local/Cellar/autoconf/2.68/bin/autoconf failed with exit status: 1
>
> Since I have no idea what this is about, I stopped my attempts at
> installation.
Perhaps Handa-san (CC'ed) could help you out.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs,ns
.
(Mon, 02 Apr 2012 07:22:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 11075 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Fri, 23 Mar 2012 16:44:01 +0100, Joost Kremers <joostkremers <at> fastmail.fm> said:
> 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.)
The NS port doesn't support text shaping. The Mac port, which used to
support text shaping only for left-to-right, now also supports for
right-to-left:
http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00018.html
I'd appreciate it if you could accept its experimental/hackers-only
status and try it, because its right-to-left text shaping code is very
new and not fully tested.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs,ns
.
(Mon, 02 Apr 2012 07:45:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 11075 <at> debbugs.gnu.org (full text, mbox):
On Mon, Apr 02, 2012 at 04:21:28PM +0900, YAMAMOTO Mitsuharu wrote:
> The NS port doesn't support text shaping. The Mac port, which used to
> support text shaping only for left-to-right, now also supports for
> right-to-left:
>
> http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00018.html
>
> I'd appreciate it if you could accept its experimental/hackers-only
> status and try it, because its right-to-left text shaping code is very
> new and not fully tested.
I'd be happy to try it, but when I open the Emacs.app included in the mac/
folder, I get the following error:
joost <at> pc201:~/Desktop/emacs-24.0.95-mac-2.91/mac $ open Emacs.app/
LSOpenURLsWithRole() failed with error -10810 for the file /Users/joost/Desktop/emacs-24.0.95-mac-2.91/mac/Emacs.app.
(Same thing happens if I move Emacs.app to /Applications.)
J.
--
Dr. Joost Kremers
Georg-August-Universität
Seminar für Deutsche Philologie
Käte-Hamburger-Weg 3
D-37073 Göttingen
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs,ns
.
(Tue, 03 Apr 2012 02:38:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 11075 <at> debbugs.gnu.org (full text, mbox):
In article <E1SCamk-0006mV-UD <at> fencepost.gnu.org>, Eli Zaretskii <eliz <at> gnu.org> writes:
> > I've tried, but haven't been successful... m17n-db can be installed, though
> > it requires downloading the charmaps and installing GNU/gettext because the
> > program msgfmt isn't part of OS X. (It's part of GNU/gettext but not of the
> > gettext that comes with OS X, it seems.)
> >
> > Then, however, configuring m17n-lib failed with the following message:
> >
> > autoreconf: running: aclocal --force -I m4
> > autoreconf: configure.ac: tracing
> > autoreconf: configure.ac: not using Libtool
> > autoreconf: running: /usr/local/Cellar/autoconf/2.68/bin/autoconf --force
> > configure.ac:52: error: possibly undefined macro: AC_PROG_LIBTOOL
> > If this token and others are legitimate, please use m4_pattern_allow.
> > See the Autoconf documentation.
> > autoreconf: /usr/local/Cellar/autoconf/2.68/bin/autoconf failed with exit status: 1
> >
> > Since I have no idea what this is about, I stopped my attempts at
> > installation.
> Perhaps Handa-san (CC'ed) could help you out.
It seems that you don't have libtool.
By the way, as someone else wrote, the current OS X port
code doesn't support text shaping, which means, even if you
successfully installed m17n-lib and libotf, Emacs can't use
it.
---
Kenichi Handa
handa <at> m17n.org
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs,ns
.
(Tue, 03 Apr 2012 09:13:02 GMT)
Full text and
rfc822 format available.
Message #32 received at 11075 <at> debbugs.gnu.org (full text, mbox):
On Tue, Apr 03, 2012 at 11:27:37AM +0900, Kenichi Handa wrote:
> It seems that you don't have libtool.
Well, XCode (which I have installed) does have a program called libtool,
but it's not GNU libtool.
> By the way, as someone else wrote, the current OS X port
> code doesn't support text shaping, which means, even if you
> successfully installed m17n-lib and libotf, Emacs can't use
> it.
Ah ok... Thanks for pointing that out. I won't make any further attempts,
then.
--
Dr. Joost Kremers
Georg-August-Universität
Seminar für Deutsche Philologie
Käte-Hamburger-Weg 3
D-37073 Göttingen
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs,ns
.
(Wed, 04 Apr 2012 00:24:01 GMT)
Full text and
rfc822 format available.
Message #35 received at 11075 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Mon, 2 Apr 2012 09:44:03 +0200, Joost Kremers <joostkremers <at> fastmail.fm> said:
> On Mon, Apr 02, 2012 at 04:21:28PM +0900, YAMAMOTO Mitsuharu wrote:
>> The NS port doesn't support text shaping. The Mac port, which used to
>> support text shaping only for left-to-right, now also supports for
>> right-to-left:
>>
>> http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00018.html
>>
>> I'd appreciate it if you could accept its experimental/hackers-only
>> status and try it, because its right-to-left text shaping code is very
>> new and not fully tested.
> I'd be happy to try it, but when I open the Emacs.app included in the mac/
> folder, I get the following error:
> joost <at> pc201:~/Desktop/emacs-24.0.95-mac-2.91/mac $ open Emacs.app/
> LSOpenURLsWithRole() failed with error -10810 for the file /Users/joost/Desktop/emacs-24.0.95-mac-2.91/mac/Emacs.app.
> (Same thing happens if I move Emacs.app to /Applications.)
I've never heard of this. Please send me the compile log personally.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Mon, 25 Sep 2017 14:02:01 GMT)
Full text and
rfc822 format available.
Message #38 received at 11075 <at> debbugs.gnu.org (full text, mbox):
YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> writes:
>>>>>> On Fri, 23 Mar 2012 16:44:01 +0100, Joost Kremers <joostkremers <at> fastmail.fm> said:
>
>> 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.)
>
> The NS port doesn't support text shaping. The Mac port, which used to
> support text shaping only for left-to-right, now also supports for
> right-to-left:
Hi, does anyone know if this bug was resolved? I assume if it worked in
the Mac port it will now work in the NS port?
Thanks!
--
Alan Third
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Mon, 25 Sep 2017 14:20:01 GMT)
Full text and
rfc822 format available.
Message #41 received at 11075 <at> debbugs.gnu.org (full text, mbox):
>>>>> "AT" == Alan Third <alan <at> idiocy.org> writes:
AT> Hi, does anyone know if this bug was resolved? I assume if it worked in
AT> the Mac port it will now work in the NS port?
Why can that assumption be made now?
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Mon, 25 Sep 2017 16:52:01 GMT)
Full text and
rfc822 format available.
Message #44 received at 11075 <at> debbugs.gnu.org (full text, mbox):
On Mon, Sep 25, 2017 at 07:17:21AM -0700, John Wiegley wrote:
> >>>>> "AT" == Alan Third <alan <at> idiocy.org> writes:
>
> AT> Hi, does anyone know if this bug was resolved? I assume if it worked in
> AT> the Mac port it will now work in the NS port?
>
> Why can that assumption be made now?
In the seven or eight years since this bug report was made, we
switched over to the mac port font backend.
It might still be an issue on GNUstep, though. I think it still uses
nsfont.m.
--
Alan Third
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Fri, 20 Sep 2019 22:46:01 GMT)
Full text and
rfc822 format available.
Message #47 received at 11075 <at> debbugs.gnu.org (full text, mbox):
Joost Kremers <joostkremers <at> fastmail.fm> writes:
> 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.)
It looks to me like this works on macOS now. At least the Arabic
characters compose differently depending on where they are in the
word. Admittedly, my knowledge here is superficial at best, having done
only a brief foray into learning beginner Persian.
So, I can't say for sure if they compose correctly, just that they
compose differently.
Alan Third <alan <at> idiocy.org> writes:
> On Mon, Sep 25, 2017 at 07:17:21AM -0700, John Wiegley wrote:
>> >>>>> "AT" == Alan Third <alan <at> idiocy.org> writes:
>>
>> AT> Hi, does anyone know if this bug was resolved? I assume if it worked in
>> AT> the Mac port it will now work in the NS port?
>>
>> Why can that assumption be made now?
>
> In the seven or eight years since this bug report was made, we
> switched over to the mac port font backend.
Since that was written, harfbuzz was enabled by default. And wouldn't
that library have good support for this anyhow?
> It might still be an issue on GNUstep, though. I think it still uses
> nsfont.m.
I'm not a GNUstep user so I can't easily test this.
But would the recent harfbuzz support (enabled by default on GNUstep
too, I assume) fix this? Do you know, Eli?
Best regards,
Stefan Kangas
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Sat, 21 Sep 2019 06:36:02 GMT)
Full text and
rfc822 format available.
Message #50 received at 11075 <at> debbugs.gnu.org (full text, mbox):
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sat, 21 Sep 2019 00:45:20 +0200
> Cc: John Wiegley <jwiegley <at> gmail.com>, Joost Kremers <joostkremers <at> fastmail.fm>, 11075 <at> debbugs.gnu.org,
> YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>, Eli Zaretskii <eliz <at> gnu.org>
>
> > It might still be an issue on GNUstep, though. I think it still uses
> > nsfont.m.
>
> I'm not a GNUstep user so I can't easily test this.
>
> But would the recent harfbuzz support (enabled by default on GNUstep
> too, I assume) fix this? Do you know, Eli?
It should (assuming the GNUstep build supports HarfBuzz).
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Sun, 22 Sep 2019 11:56:02 GMT)
Full text and
rfc822 format available.
Message #53 received at 11075 <at> debbugs.gnu.org (full text, mbox):
On Sat, Sep 21, 2019 at 12:45:20AM +0200, Stefan Kangas wrote:
> Alan Third <alan <at> idiocy.org> writes:
>
> > On Mon, Sep 25, 2017 at 07:17:21AM -0700, John Wiegley wrote:
> >> >>>>> "AT" == Alan Third <alan <at> idiocy.org> writes:
> >>
> >> AT> Hi, does anyone know if this bug was resolved? I assume if it worked in
> >> AT> the Mac port it will now work in the NS port?
> >>
> >> Why can that assumption be made now?
> >
> > In the seven or eight years since this bug report was made, we
> > switched over to the mac port font backend.
>
> Since that was written, harfbuzz was enabled by default. And wouldn't
> that library have good support for this anyhow?
>
> > It might still be an issue on GNUstep, though. I think it still uses
> > nsfont.m.
>
> I'm not a GNUstep user so I can't easily test this.
>
> But would the recent harfbuzz support (enabled by default on GNUstep
> too, I assume) fix this? Do you know, Eli?
As I understand it Harfbuzz is not supported on the NS port at all. I
know that Yamamoto Mitsuharu wrote a proof of concept, but I don’t
believe it was ever finished.
--
Alan Third
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Sun, 22 Sep 2019 20:24:02 GMT)
Full text and
rfc822 format available.
Message #56 received at 11075 <at> debbugs.gnu.org (full text, mbox):
>> Since that was written, harfbuzz was enabled by default. And wouldn't
>> that library have good support for this anyhow?
>>
>> > It might still be an issue on GNUstep, though. I think it still uses
>> > nsfont.m.
>>
>> I'm not a GNUstep user so I can't easily test this.
>>
>> But would the recent harfbuzz support (enabled by default on GNUstep
>> too, I assume) fix this? Do you know, Eli?
>
> As I understand it Harfbuzz is not supported on the NS port at all. I
> know that Yamamoto Mitsuharu wrote a proof of concept, but I don’t
> believe it was ever finished.
It is for the mac-ct font backend, and doesn't work on GNUstep.
YAMAMOTO Mitsuharu
mituharu <at> math.s.chiba-u.ac.jp
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Mon, 23 Sep 2019 18:41:01 GMT)
Full text and
rfc822 format available.
Message #59 received at 11075 <at> debbugs.gnu.org (full text, mbox):
On Mon, Sep 23, 2019 at 05:23:51AM +0900, mituharu <at> math.s.chiba-u.ac.jp wrote:
>
> > As I understand it Harfbuzz is not supported on the NS port at all. I
> > know that Yamamoto Mitsuharu wrote a proof of concept, but I don’t
> > believe it was ever finished.
>
> It is for the mac-ct font backend, and doesn't work on GNUstep.
Ah, sorry, I must have misunderstood when we discussed it before.
--
Alan Third
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Tue, 24 Sep 2019 06:05:02 GMT)
Full text and
rfc822 format available.
Message #62 received at 11075 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 23 Sep 2019 19:40:00 +0100
> From: Alan Third <alan <at> idiocy.org>
> Cc: Stefan Kangas <stefan <at> marxist.se>, John Wiegley <jwiegley <at> gmail.com>,
> Joost Kremers <joostkremers <at> fastmail.fm>, 11075 <at> debbugs.gnu.org,
> Eli Zaretskii <eliz <at> gnu.org>
>
> On Mon, Sep 23, 2019 at 05:23:51AM +0900, mituharu <at> math.s.chiba-u.ac.jp wrote:
> >
> > > As I understand it Harfbuzz is not supported on the NS port at all. I
> > > know that Yamamoto Mitsuharu wrote a proof of concept, but I don’t
> > > believe it was ever finished.
> >
> > It is for the mac-ct font backend, and doesn't work on GNUstep.
>
> Ah, sorry, I must have misunderstood when we discussed it before.
What are the problems that prevent getting HarfBuzz to work in the
GNUstep port? I think we want all the major supported platforms to be
able to build with HarfBuzz, since many modern features related to
sophisticated text shaping and display to be developed for Emacs will
be based on HarfBuzz facilities.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Fri, 27 Sep 2019 21:40:02 GMT)
Full text and
rfc822 format available.
Message #65 received at 11075 <at> debbugs.gnu.org (full text, mbox):
On Tue, Sep 24, 2019 at 09:04:10AM +0300, Eli Zaretskii wrote:
> What are the problems that prevent getting HarfBuzz to work in the
> GNUstep port? I think we want all the major supported platforms to be
> able to build with HarfBuzz, since many modern features related to
> sophisticated text shaping and display to be developed for Emacs will
> be based on HarfBuzz facilities.
I’m not aware of any fundamental problems, I think someone just needs
to write the code.
--
Alan Third
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#11075
; Package
emacs
.
(Sat, 28 Sep 2019 06:34:02 GMT)
Full text and
rfc822 format available.
Message #68 received at 11075 <at> debbugs.gnu.org (full text, mbox):
> Date: Fri, 27 Sep 2019 22:39:37 +0100
> From: Alan Third <alan <at> idiocy.org>
> Cc: mituharu <at> math.s.chiba-u.ac.jp, stefan <at> marxist.se, jwiegley <at> gmail.com,
> joostkremers <at> fastmail.fm, 11075 <at> debbugs.gnu.org
>
> On Tue, Sep 24, 2019 at 09:04:10AM +0300, Eli Zaretskii wrote:
> > What are the problems that prevent getting HarfBuzz to work in the
> > GNUstep port? I think we want all the major supported platforms to be
> > able to build with HarfBuzz, since many modern features related to
> > sophisticated text shaping and display to be developed for Emacs will
> > be based on HarfBuzz facilities.
>
> I’m not aware of any fundamental problems, I think someone just needs
> to write the code.
Most of the code is already in hbfont.c, you just need the
platform-specific glue, of which there are several examples in the
repository.
I hope someone will write this code, so that we could have HarfBuzz
supported on all major platforms.
Thanks.
Changed bug title to '24.0.94; Text shaping/Harfbuzz support on macOS' from '24.0.94; Arabic character composition'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 14 Mar 2025 12:29:02 GMT)
Full text and
rfc822 format available.
Severity set to 'wishlist' from 'normal'
Request was from
Stefan Kangas <stefankangas <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Fri, 14 Mar 2025 12:29:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 90 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.