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); |
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
/* | |
* Example: In some fonts (e.g. Ubuntu Mono) if you render a combining | |
* code point (e.g. U+0301) without a preceding code point | |
* then U+25CC is used as preceding code point. | |
* | |
* Compile and Link with | |
* gcc $( pkg-config --cflags --libs pangocairo ) -o test1 test1.c | |
*/ | |
#include <cairo.h> | |
#include <pango/pangocairo.h> |