Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2519)

Issue 12242043: Pango font size should be calculated using rounding (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by dak
Modified:
10 years, 6 months ago
Reviewers:
lemzwerg
CC:
lilypond-devel_gnu.org
Visibility:
Public.

Description

Pango font size should be calculated using rounding So far, pango font size has been calculated using truncation. Since the calculation of font size may involve conversion of magnifications to font-size and back, numerical errors can easily throw the calculation slightly off. For that reason, rounding is the appropriate option here.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M lily/pango-select.cc View 2 chunks +3 lines, -1 line 0 comments Download
M lily/paper-def.cc View 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 1
lemzwerg
10 years, 9 months ago (2013-08-01 10:27:07 UTC) #1
LGTM.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b