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:
@@ -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
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
855,
|
||||
/**/
|
||||
854,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user