Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Issue 351024: Fixed font height on OS X. Also added some unittests. (Closed)

Created:
11 years, 1 month ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fixed font height on OS X. Also added some unittests. BUG=none TEST=trybots Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30891

Patch Set 1 #

Patch Set 2 : Relaxed unittests. #

Total comments: 1

Patch Set 3 : addressed dmac's comments #

Total comments: 1

Patch Set 4 : Expanded on comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -6 lines) Patch
M app/gfx/font.h View 3 1 chunk +4 lines, -1 line 0 comments Download
M app/gfx/font_mac.mm View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M app/gfx/font_unittest.cc View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
akalin
+dmac for code review.
11 years, 1 month ago (2009-11-03 20:23:59 UTC) #1
akalin (wrong akalin)
On 2009/11/03 20:23:59, akalin wrote: > +dmac for code review. Also worth pointing out, nothing ...
11 years, 1 month ago (2009-11-03 20:53:35 UTC) #2
dmac
http://codereview.chromium.org/351024/diff/2001/3001 File app/gfx/font_mac.mm (right): http://codereview.chromium.org/351024/diff/2001/3001#newcode36 Line 36: NSLayoutManager* layout_manager = use a scoped_nsobject<NSLayouManager> here, and ...
11 years, 1 month ago (2009-11-03 21:07:51 UTC) #3
akalin (wrong akalin)
On 2009/11/03 21:07:51, dmac wrote: > http://codereview.chromium.org/351024/diff/2001/3001 > File app/gfx/font_mac.mm (right): > > http://codereview.chromium.org/351024/diff/2001/3001#newcode36 > ...
11 years, 1 month ago (2009-11-03 21:26:46 UTC) #4
dmac
LGTM http://codereview.chromium.org/351024/diff/4001/4002 File app/gfx/font.h (right): http://codereview.chromium.org/351024/diff/4001/4002#newcode77 Line 77: // greater than just ascent + descent. ...
11 years, 1 month ago (2009-11-03 23:09:22 UTC) #5
akalin (wrong akalin)
11 years, 1 month ago (2009-11-03 23:45:01 UTC) #6
On Tue, Nov 3, 2009 at 4:09 PM,  <dmaclach@chromium.org> wrote:
> LGTM
>
>
> http://codereview.chromium.org/351024/diff/4001/4002
> File app/gfx/font.h (right):
>
> http://codereview.chromium.org/351024/diff/4001/4002#newcode77
> Line 77: // greater than just ascent + descent.
> I would expand on this comment and say that on the mac and windows it
> includes leading and on linux it does not. If you can explain why that
> would be even better.

Done.  I actually don't know why, but it's probably something we'll
have to revisit in the future, so I mentioned that.

Submitting.

-- 
Frederick Akalin
Software Engineer

Powered by Google App Engine
This is Rietveld 408576698