1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 20:00:46 -08:00
emacs/lisp/language
Eli Zaretskii 48776b7011 Provide text directionality and language to HarfBuzz shaper
* lisp/language/tv-util.el (tai-viet-composition-function):
* lisp/language/ethio-util.el (ethio-composition-function):
* lisp/language/japanese.el (compose-gstring-for-variation-glyph):
* lisp/language/thai-util.el (thai-composition-function):
* lisp/language/misc-lang.el (arabic-shape-gstring):
* lisp/language/lao-util.el (lao-composition-function):
* lisp/language/hebrew.el (hebrew-shape-gstring):
* lisp/composite.el (compose-gstring-for-graphic)
(compose-gstring-for-dotted-circle, auto-compose-chars)
(compose-gstring-for-terminal): Accept 2nd argument DIRECTION; all
callers changed.

* src/composite.c (composition_reseat_it): Call
auto-composition-function with one more argument DIRECTION.
(syms_of_composite) <auto-composition-function>: Update the doc
string.
* src/ftfont.c (ftfont_shape_by_hb): Compute language and
direction, and set buffer properties accordingly.
* src/composite.c (autocmp_chars):
* src/w32uniscribe.c (uniscribe_shape):
* src/xftfont.c (xftfont_shape):
* src/ftfont.c (ftfont_shape, ftfont_shape_by_hb):
* src/font.c (Ffont_shape_gstring): Accept an additional argument
DIRECTION.
* src/macfont.m (lgstring_direction): New enum.
(mac_font_shape_1, mac_screen_font_shape, mac_font_shape):
Accept an additional argument specifying text direction.  All
callers changed.
* src/font.c (syms_of_font): New symbols QL2R and QR2L.
* src/font.h (shape): Accept new argument DIRECTION.  All
implementations changed.  (Bug#33729)
(ftfont_shape): Update prototype.
2018-12-29 16:35:09 +02:00
..
burmese.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
cham.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
china-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
chinese.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cyril-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cyrillic.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
czech.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
english.el Support IBM038 (a.k.a. "EBCDIC-INT") encoding 2018-12-04 20:27:20 +02:00
ethio-util.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
ethiopic.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
european.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
georgian.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
greek.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
hanja-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
hebrew.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
ind-util.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
indian.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
japan-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
japanese.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
khmer.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
korea-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
korean.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
lao-util.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
lao.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
misc-lang.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
romanian.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sinhala.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
slovak.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tai-viet.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
thai-util.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
thai-word.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
thai.el Reinstate the 'tis620-2533' character set 2018-08-11 11:15:57 +03:00
tibet-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tibetan.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
tv-util.el Provide text directionality and language to HarfBuzz shaper 2018-12-29 16:35:09 +02:00
utf-8-lang.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00
viet-util.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
vietnamese.el Replace insignificant backquotes 2018-11-25 21:08:08 +01:00