Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] graphicstextlist: Use integer font metrics again #4524

Merged
merged 1 commit into from
Mar 13, 2020

Conversation

ales-erjavec
Copy link
Contributor

Issue

Ref: #4519 (comment)

Description of changes

QGraphicsSimpleTextItem uses ceiled line heights in its bounding rect
estimation. Use integer metrics to layout the items.

Includes
  • Code changes
  • Tests
  • Documentation

QGraphicsSimpleTextItem uses ceiled line heights in its bounding rect
estimation. Use integer metrics to layout the items.
@codecov
Copy link

codecov bot commented Mar 12, 2020

Codecov Report

Merging #4524 into master will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #4524      +/-   ##
==========================================
- Coverage   83.29%   83.26%   -0.03%     
==========================================
  Files         279      274       -5     
  Lines       55656    54851     -805     
==========================================
- Hits        46357    45671     -686     
+ Misses       9299     9180     -119     

@lanzagar lanzagar merged commit 7d36d51 into biolab:master Mar 13, 2020
@ales-erjavec ales-erjavec deleted the fixes/graphicstextlist-metrics branch March 16, 2020 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants