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

Issue 12739006: move most of SkFontHost to private (preceeding making it all private) (Closed)

Created:
7 years, 9 months ago by reed1
Modified:
7 years, 9 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

move most of SkFontHost to private (preceeding making it all private) In this change, have to accomodate PDF wanting to call openStream and advancedMetrics Committed: https://code.google.com/p/skia/source/detail?r=8156

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Total comments: 1

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -118 lines) Patch
M trunk/include/core/SkFontHost.h View 1 2 3 4 3 chunks +87 lines, -84 lines 0 comments Download
M trunk/include/core/SkTypeface.h View 1 3 chunks +9 lines, -0 lines 0 comments Download
M trunk/src/core/SkPaint.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M trunk/src/core/SkTypeface.cpp View 1 2 4 chunks +23 lines, -4 lines 0 comments Download
A trunk/src/core/SkTypefacePriv.h View 1 2 3 4 1 chunk +38 lines, -0 lines 0 comments Download
M trunk/src/pdf/SkPDFDevice.cpp View 1 2 3 4 chunks +6 lines, -7 lines 0 comments Download
M trunk/src/pdf/SkPDFFont.cpp View 1 2 3 12 chunks +17 lines, -19 lines 0 comments Download
M trunk/src/ports/SkFontHost_mac.cpp View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M trunk/tests/FontHostStreamTest.cpp View 1 2 3 4 1 chunk +7 lines, -2 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
reed1
grump -- don't really like this. suggestions?
7 years, 9 months ago (2013-03-12 20:11:08 UTC) #1
bungeman-skia
Some suggestions. https://codereview.chromium.org/12739006/diff/1/trunk/include/core/SkTypeface.h File trunk/include/core/SkTypeface.h (right): https://codereview.chromium.org/12739006/diff/1/trunk/include/core/SkTypeface.h#newcode87 trunk/include/core/SkTypeface.h:87: static SkTypeface* RefDefault(); So all of these ...
7 years, 9 months ago (2013-03-12 21:07:23 UTC) #2
reed1
https://codereview.chromium.org/12739006/diff/1/trunk/include/core/SkTypeface.h File trunk/include/core/SkTypeface.h (right): https://codereview.chromium.org/12739006/diff/1/trunk/include/core/SkTypeface.h#newcode87 trunk/include/core/SkTypeface.h:87: static SkTypeface* RefDefault(); On 2013/03/12 21:07:23, bungeman1 wrote: > ...
7 years, 9 months ago (2013-03-13 21:18:17 UTC) #3
bungeman-skia
Aside from the one comment lgtm. https://codereview.chromium.org/12739006/diff/14001/trunk/src/pdf/SkPDFFont.cpp File trunk/src/pdf/SkPDFFont.cpp (right): https://codereview.chromium.org/12739006/diff/14001/trunk/src/pdf/SkPDFFont.cpp#newcode52 trunk/src/pdf/SkPDFFont.cpp:52: SkTypeface* operator->() { ...
7 years, 9 months ago (2013-03-13 21:33:25 UTC) #4
reed1
- inherit from SkAutoTUnref - rearrange SkFontHost.h to put all public apis on top
7 years, 9 months ago (2013-03-13 22:09:09 UTC) #5
reed1
No so secret goal: - reduce SkFontHost to just LCD setters/getters (and then move into ...
7 years, 9 months ago (2013-03-13 22:11:27 UTC) #6
bungeman-skia
https://codereview.chromium.org/12739006/diff/19009/trunk/tests/FontHostStreamTest.cpp File trunk/tests/FontHostStreamTest.cpp (right): https://codereview.chromium.org/12739006/diff/19009/trunk/tests/FontHostStreamTest.cpp#newcode96 trunk/tests/FontHostStreamTest.cpp:96: origTypeface = aur.reset(SkTypeface::RefDefault()); I see that you checked in ...
7 years, 9 months ago (2013-03-14 03:47:34 UTC) #7
reed1
https://codereview.chromium.org/12739006/diff/19009/trunk/tests/FontHostStreamTest.cpp File trunk/tests/FontHostStreamTest.cpp (right): https://codereview.chromium.org/12739006/diff/19009/trunk/tests/FontHostStreamTest.cpp#newcode96 trunk/tests/FontHostStreamTest.cpp:96: origTypeface = aur.reset(SkTypeface::RefDefault()); On 2013/03/14 03:47:34, bungeman1 wrote: > ...
7 years, 9 months ago (2013-03-14 14:22:42 UTC) #8
reed1
7 years, 9 months ago (2013-03-14 15:05:02 UTC) #9
Message was sent while issue was closed.
Committed patchset #5 manually as r8156 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698