[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
Environment:

Mac


Attachments: File chi.C     File tlatex.C    
Development:

 Description   

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.



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

Hi Olivier,

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

Cheers
Moritz

Comment by Olivier Couet [ 07/Oct/14 ]

Hi Moritz,

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

Olivier

Comment by Olivier Couet [ 14/Oct/14 ]

Fixed

Generated at Wed Sep 18 16:07:28 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.