Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-812

[PATCH] underline-position in font-face has wrong sign

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Resolution: Unresolved
    • 1.8
    • None
    • GVT Text
    • Operating System: All
      Platform: All

    Description

      Attribute underline-position of element <font-face> seems to get negatived . Compared to attributes overline-position and strikethrough-position, this appears as unexpected. Apparently none of the SVG test fonts use underline-position and the default value looks fine. See getLineMetrics(int,int) in SVGGVTFont.java for the assignment to ulOffset without - in front of variable scale.

      It might also be nice if stroke-width of underline would scale with font-size.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
            markus+asf@gyger.org mg

            Dates

              Created:
              Updated:

              Slack

                Issue deployment