mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.861
Problem: pango_shape_full() is not always available. Solution: Add a configure check.
This commit is contained in:
@@ -5063,8 +5063,13 @@ not_ascii:
|
||||
* done, because drawing the cursor would change the display. */
|
||||
item->analysis.shape_engine = default_shape_engine;
|
||||
|
||||
#ifdef HAVE_PANGO_SHAPE_FULL
|
||||
pango_shape_full((const char *)s + item->offset, item->length,
|
||||
(const char *)s, len, &item->analysis, glyphs);
|
||||
#else
|
||||
pango_shape((const char *)s + item->offset, item->length,
|
||||
&item->analysis, glyphs);
|
||||
#endif
|
||||
/*
|
||||
* Fixed-width hack: iterate over the array and assign a fixed
|
||||
* width to each glyph, thus overriding the choice made by the
|
||||
|
Reference in New Issue
Block a user