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

NumericShaping doesn't work with LineBreakMeasurer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • 2d
    • beta2
    • generic
    • generic

      When you apply the NumericShaping TextAttribute to an AttributedString and create a TextLayout from it, it works. But when you create a LineBreakMeasurer from the AttributedString, and then create TextLayout from that, it doesn't. Since swing uses LineBreakMeasurer to create TextLayouts for complex text, this means the NumericShaping attribute doesn't work in Swing.

            dougfelt Doug Felt (Inactive)
            dougfelt Doug Felt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: