Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8114531

Strikethrough intersection with filled text is considered outside the shape

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.0
    • fx2.0
    • javafx

      Glyph shapes are defined with a clockwise path direction meaning the area
      inside the path should be filled.

      RoundRectangle2D is used for strikethrough on text and this path is
      defined in an anti(counter)-clockwise direction.

      If text is painted as a filled shape rather than using glyphs images - as
      happens for many effects and very large text, the strikethrough the opposite directions
      mean the interesection has a winding number of zero and is outside the path so is not filled.

            prr Philip Race
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: