Created
September 8, 2015 11:28
-
-
Save luchr/42fb32ae0410dfd166cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- vim74/src/gui_gtk_x11.c.orig 2015-09-07 16:19:44.054802201 +0200 | |
+++ vim74/src/gui_gtk_x11.c 2015-09-07 16:20:05.803460620 +0200 | |
@@ -5063,8 +5063,8 @@ | |
* done, because drawing the cursor would change the display. */ | |
item->analysis.shape_engine = default_shape_engine; | |
- pango_shape((const char *)s + item->offset, item->length, | |
- &item->analysis, glyphs); | |
+ pango_shape_full((const char *)s + item->offset, item->length, | |
+ (const char *)s, len, &item->analysis, glyphs); | |
/* | |
* Fixed-width hack: iterate over the array and assign a fixed | |
* width to each glyph, thus overriding the choice made by the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment