| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.855 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| 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 |
| |
| |
| |
| |
| |
| *** 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 |
| |
| |
| |
| *** 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 -- Bram@Moolenaar.net -- 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 /// |