0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.855

Problem:    GTK: font glitches for combining characters
Solution:   Use pango_shape_full() instead of pango_shape(). (luchr, PR #393)
This commit is contained in:
Bram Moolenaar
2015-09-08 16:31:06 +02:00
parent b58988b832
commit 7e2ec008f5
2 changed files with 4 additions and 2 deletions

View File

@@ -5063,8 +5063,8 @@ not_ascii:
* 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

View File

@@ -741,6 +741,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
855,
/**/
854,
/**/