]> git.eshelyaron.com Git - emacs.git/commit
Always set explicit HarfBuzz buffer direction
authorKhaled Hosny <khaledhosny@eglug.org>
Sat, 5 Jan 2019 21:01:02 +0000 (23:01 +0200)
committerKhaled Hosny <khaledhosny@eglug.org>
Sat, 5 Jan 2019 21:01:02 +0000 (23:01 +0200)
commit066a2b4914592478153983b587a36d226061dd89
treea7a3a6ecf85a49a3e2d63aa1bdffd74b0e93085d
parent398ad62a4986e426aa665010b69319fec9203430
Always set explicit HarfBuzz buffer direction

If no direction was given by the caller, I assume the text will be drawn
left to right, if this is not the case then callers must provide
sensible direction. Letting HarfBuzz guess the direction is not
appropriate since shaping and drawing must use the same direction.

Also move hb_buffer_guess_segment_properties() call to the end, so it
only guessing unset properties, until we completely get rid of it.
src/ftfont.c