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

LineBreakMeasurer does not measure correctly if TextAttribute.TRACKING is set.

    Details

    • Subcomponent:
      2d
    • CPU:
      x86
    • OS:
      other

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      TextAttribute.TRACKING is not taken in account when LineBreakMeasurer measures the width. If text is written with a different Tracking value, LineBreakMeasurer does not accurately detect the line breaks so that they can fit within the Max Width parameter.


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aghaisas Ajit Ghaisas
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: