Patch 7.4.855
Problem:    GTK: font glitches for combining characters
Solution:   Use pango_shape_full() instead of pango_shape(). (luchr, PR #393)
Files:      src/gui_gtk_x11.c


*** ../vim-7.4.854/src/gui_gtk_x11.c    2015-06-09 19:14:18.773373964 +0200
--- src/gui_gtk_x11.c   2015-09-08 16:18:51.944711934 +0200
***************
*** 5063,5070 ****
             * 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);
            /*
             * Fixed-width hack: iterate over the array and assign a fixed
             * width to each glyph, thus overriding the choice made by the
--- 5063,5070 ----
             * done, because drawing the cursor would change the display. */
            item->analysis.shape_engine = default_shape_engine;
  
!           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
*** ../vim-7.4.854/src/version.c        2015-09-01 21:25:38.845874761 +0200
--- src/version.c       2015-09-08 16:28:14.186863672 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     855,
  /**/

-- 
CART DRIVER: Bring out your dead!
LARGE MAN:   Here's one!
CART DRIVER: Ninepence.
BODY:        I'm not dead!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui