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

Generated <font-face> elements should not use @style

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 1.8
    • Fix Version/s: None
    • Component/s: SVGGraphics2D
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      When true is passed to the useCss parameter of the SVGGraphics2D constructor, the SVGCSSStyler converts the @font-family, @font-weight, etc. attributes on a <font-face> into a @style attribute. This is incorrect, since these attributes aren't presentation attributes, but attributes that correspond to the CSS font descriptor properties.

        Attachments

          Activity

            People

            • Assignee:
              batik-dev@xmlgraphics.apache.org Batik Developer's Mailing list
              Reporter:
              cam Cameron McCormack
            • Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: