Skip to content

Fix typo in TAttText::GetTextSizePercent#22197

Merged
linev merged 1 commit intoroot-project:masterfrom
linev:atttext_fix
May 11, 2026
Merged

Fix typo in TAttText::GetTextSizePercent#22197
linev merged 1 commit intoroot-project:masterfrom
linev:atttext_fix

Conversation

@linev
Copy link
Copy Markdown
Member

@linev linev commented May 8, 2026

Returns wrong size for the font with pixel size.

Fixes #22195

Returns wrong size for the font with pixel size.

Fixes root-project#22195
@linev linev requested a review from couet May 8, 2026 16:33
@linev linev self-assigned this May 8, 2026
@linev linev requested review from dpiparo and pcanal as code owners May 8, 2026 16:33
Copy link
Copy Markdown
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (although calling it a 'typo' undervalue the effect).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Test Results

    22 files      22 suites   3d 13h 9m 53s ⏱️
 3 847 tests  3 846 ✅ 0 💤 1 ❌
75 989 runs  75 988 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit 110e3c7.

@dpiparo
Copy link
Copy Markdown
Member

dpiparo commented May 9, 2026

to be backported to 6.40 @linev

@linev
Copy link
Copy Markdown
Member Author

linev commented May 11, 2026

to be backported to 6.40

No, it is very recent bug, not present in 6.40 branch.

We missing test for this font precision - this I will add soon.

@linev linev merged commit 2f37ac3 into root-project:master May 11, 2026
32 of 36 checks passed
@linev linev deleted the atttext_fix branch May 11, 2026 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change in text size between ROOT versions

3 participants