[ROOT-6561] Characters positioning with Cocoa backend Created: 08/Aug/14  Updated: 14/Oct/14  Resolved: 14/Oct/14

Status: Closed
Project: ROOT
Component/s: Graphics
Affects Version/s: 5.34/00, 6.00.02
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: Olivier Couet Assignee: Olivier Couet
Resolution: Fixed Votes: 0
Labels: None


Attachments: File chi.C     File tlatex.C    


Running the chi.C macro with the Cocoa backend shows that Chi is misplaced in the Latex case. With cocoa the text extend returned for text before chi is to small. Of course it works well using the X11 backend. The OpenGL version also show an issue but in the opposite way compare to Cocoa.
Note that the same string drawn using TMathText does not show these issues.

The tlatex.C macro produce a misplaced exponent in the pdf file in case the Cocoa backend is used.

Comment by Till Moritz Karbach (Inactive) [ 03/Oct/14 ]

Hi Olivier,

You mentioned it works with TMathText. Do you have an example for it?


Comment by Olivier Couet [ 07/Oct/14 ]

Hi Moritz,

See the chi.C attached macro. It show both Latex and TMathText. (
instead of #)


Comment by Olivier Couet [ 14/Oct/14 ]


Generated at Mon Feb 17 08:28:07 CET 2020 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.