Skip to content

Instantly share code, notes, and snippets.

View vim74-issue393-patch1
--- 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);
View test1.c
/*
* 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>
You can’t perform that action at this time.