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

Issue 6062044: Basic support for bitmap fonts on Windows. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by bungeman
Modified:
12 years, 7 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : Clean up. #

Total comments: 6

Patch Set 3 : Address comments. #

Total comments: 2

Patch Set 4 : Cache TEXTMETRICs. #

Patch Set 5 : 'Correct' error handing in unlikely case. #

Patch Set 6 : Zero metrics in existing failure case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -21 lines) Patch
M src/ports/SkFontHost_win.cpp View 1 2 3 4 5 10 chunks +116 lines, -21 lines 0 comments Download

Messages

Total messages: 8
bungeman
Adds very basic (but arguably ok) support for using bitmap fonts on Windows. The advances ...
12 years, 7 months ago (2012-04-17 19:07:50 UTC) #1
reed1
http://codereview.appspot.com/6062044/diff/2001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (left): http://codereview.appspot.com/6062044/diff/2001/src/ports/SkFontHost_win.cpp#oldcode117 src/ports/SkFontHost_win.cpp:117: static unsigned calculateGlyphCount(HDC hdc) { Add comment(s) for why ...
12 years, 7 months ago (2012-04-18 13:31:01 UTC) #2
bungeman
http://codereview.appspot.com/6062044/diff/2001/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (left): http://codereview.appspot.com/6062044/diff/2001/src/ports/SkFontHost_win.cpp#oldcode117 src/ports/SkFontHost_win.cpp:117: static unsigned calculateGlyphCount(HDC hdc) { On 2012/04/18 13:31:01, reed1 ...
12 years, 7 months ago (2012-04-18 13:59:38 UTC) #3
bungeman
Make it a bit faster and have less duplicated code.
12 years, 7 months ago (2012-04-18 14:42:19 UTC) #4
reed1
http://codereview.appspot.com/6062044/diff/2002/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/6062044/diff/2002/src/ports/SkFontHost_win.cpp#newcode644 src/ports/SkFontHost_win.cpp:644: if (0 == GetTextMetrics(fDDC, &tm)) { glyph->zeroMetrics(); + It ...
12 years, 7 months ago (2012-04-18 14:54:17 UTC) #5
reed1
much clearer
12 years, 7 months ago (2012-04-18 14:55:20 UTC) #6
bungeman
A comment from the future! http://codereview.appspot.com/6062044/diff/2002/src/ports/SkFontHost_win.cpp File src/ports/SkFontHost_win.cpp (right): http://codereview.appspot.com/6062044/diff/2002/src/ports/SkFontHost_win.cpp#newcode644 src/ports/SkFontHost_win.cpp:644: if (0 == GetTextMetrics(fDDC, ...
12 years, 7 months ago (2012-04-18 15:17:26 UTC) #7
bungeman
12 years, 7 months ago (2012-04-18 15:41:22 UTC) #8
Committed revision 3723.
Sign in to reply to this message.

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