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

Strikethrough intersection with filled text is considered outside the shape

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: