Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10460

TLatex linewidth hardcoded to 1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 6.16/00, 6.18/00, 6.17/01, 6.15/02, 6.18/02, 6.18/04
    • Fix Version/s: 6.04/20
    • Component/s: Graphics
    • Labels:
      None
    • Environment:

      All environments using C++ affected.

      Description

      At line 2205 of the file TLatex.cxx the linewidth used to draw a TLatex object is hardcoded to 1 in case the textsize is smaller than 0.04.

      I see this as a bug since there is no way to disable this behavior other than setting the textsize to something larger than 0.04 and it overrides any changes to the linewidth made by the user causing especially text with a size close to 0.04 to look weird cause the lines of commands like #bar are much to thin compared to the letters.

      I suggest to completly remove this line of code and make the user responsible to set an appropriate linewidth for his / her application.

        Attachments

          Activity

            People

            • Assignee:
              couet Olivier Couet
              Reporter:
              sspies Simon Spies
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: