aboutsummaryrefslogtreecommitdiffstats
path: root/src/hbfont.c
diff options
context:
space:
mode:
authorGlenn Morris2020-06-07 09:03:59 -0700
committerGlenn Morris2020-06-07 09:03:59 -0700
commitfa6d56529f9ebaedaf62ecbf8887ffecca7dce12 (patch)
tree922e12ffbf813534647a96788b9a5fb77b4f2288 /src/hbfont.c
parent6cb557e7a58d7f1c2e9afceeba45d0ced2aff214 (diff)
parent35661ef943d261f6c43e93e475ddd8516f4a4b62 (diff)
downloademacs-fa6d56529f9ebaedaf62ecbf8887ffecca7dce12.tar.gz
emacs-fa6d56529f9ebaedaf62ecbf8887ffecca7dce12.zip
Merge from origin/emacs-27
35661ef943 (origin/emacs-27) Fix typo in "(elisp) Type Keywords" 1af0e95fec Gnus nnir-summary-line-format has no effect dd366b5d3b Improve documentation of 'window-text-pixel-size' fbd49f969e * src/xdisp.c (Fwindow_text_pixel_size): Doc fix. (Bug#41... d8593fd19f Minor improvements to EDE and EIEIO manuals 3916e63f9e Have Fido mode also imitate Ido mode in ignore-case options cc35b197c7 Update package-menu-quick-help bf09106256 Improve documentation of 'sort-subr' 73749efa13 Update Ukrainian transliteration 30a7ee505a Fix Arabic shaping when eww/shr fill the text to be rendered 7d323f07c0 Silence some byte-compiler warnings in tests cf473e742f * test/lisp/battery-tests.el: New file. b07e3b1d97 Improve format-spec documentation (bug#41571) # Conflicts: # test/lisp/emacs-lisp/package-tests.el
Diffstat (limited to 'src/hbfont.c')
-rw-r--r--src/hbfont.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/hbfont.c b/src/hbfont.c
index 576c5fe7f60..4b3f64ef504 100644
--- a/src/hbfont.c
+++ b/src/hbfont.c
@@ -26,6 +26,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
26#include "composite.h" 26#include "composite.h"
27#include "font.h" 27#include "font.h"
28#include "dispextern.h" 28#include "dispextern.h"
29#include "buffer.h"
29 30
30#ifdef HAVE_NTGUI 31#ifdef HAVE_NTGUI
31 32
@@ -438,7 +439,11 @@ hbfont_shape (Lisp_Object lgstring, Lisp_Object direction)
438 439
439 /* If the caller didn't provide a meaningful DIRECTION, let HarfBuzz 440 /* If the caller didn't provide a meaningful DIRECTION, let HarfBuzz
440 guess it. */ 441 guess it. */
441 if (!NILP (direction)) 442 if (!NILP (direction)
443 /* If they bind bidi-display-reordering to nil, the DIRECTION
444 they provide is meaningless, and we should let HarfBuzz guess
445 the real direction. */
446 && !NILP (BVAR (current_buffer, bidi_display_reordering)))
442 { 447 {
443 hb_direction_t dir = HB_DIRECTION_LTR; 448 hb_direction_t dir = HB_DIRECTION_LTR;
444 if (EQ (direction, QL2R)) 449 if (EQ (direction, QL2R))