Skip to content
  • Matthias Clasen's avatar
    Underline spaces again · 2e49eb0c
    Matthias Clasen authored
    in ada1bc93, I switched to using ink rects
    for horizontal underline extents, to improve the placement
    of single-character underlines in the presence of
    kerning. I overlooked the fact that spaces don't have ink,
    so the change caused leading and trailing whitespace to
    not be underlined anymore. Fix this by using the union
    of ink and logical rectangles.
    
    Fixes: #613
    2e49eb0c