tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

28-win32-vertical-glyph-advance-direction.patch (681B)


      1 diff --git a/gfx/cairo/cairo/src/win32/cairo-win32-surface.c b/gfx/cairo/cairo/src/win32/cairo-win32-surface.c
      2 --- a/gfx/cairo/cairo/src/win32/cairo-win32-surface.c
      3 +++ b/gfx/cairo/cairo/src/win32/cairo-win32-surface.c
      4 @@ -347,7 +347,8 @@ cairo_int_status_t
      5             next_logical_y = _cairo_lround (next_user_y);
      6 
      7             dxy_buf[j] = _cairo_lround (next_logical_x - logical_x);
      8 -            dxy_buf[j+1] = _cairo_lround (next_logical_y - logical_y);
      9 +            /* Note that GDI coordinate system is inverted! */
     10 +            dxy_buf[j+1] = _cairo_lround (logical_y - next_logical_y);
     11 
     12             logical_x = next_logical_x;
     13             logical_y = next_logical_y;