Skip to content
  • Nicolas Dufresne's avatar
    basetextoverlay: Fix clipping issues · 7569a2e9
    Nicolas Dufresne authored
    This patch uses the ink rectangle in order to compute the size
    of the surface require to render. It also correctly compute the
    transformation matrix as the ink_rect position might not be at
    0, 0. Additionally, shadow_offset and outline_offset (which is
    in fact the diameter of a dot, not a really an offset) is now
    taken into account. Redundant matrix operation has been removed
    for the vertical rendering.
    
    Take note that the matrix operation in cairo are excuted in
    reverse order.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=728636
    7569a2e9