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

Issue 5417063: DirectWrite font host for skia. (Closed)

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

Description

To build with DirectWrite font host use python gyp_skia -Dskia_use_dw=true or equivalent to create your projects. Note that this is still rather rough, but does represent what should be the final approach to getting this working in skia.

Patch Set 1 #

Patch Set 2 : A hacked up version attempting gamma correcting masks. #

Patch Set 3 : Something a little more sane. #

Patch Set 4 : Some clean up and error handling. #

Patch Set 5 : Ready for a bit of review. #

Patch Set 6 : Both font hosts can now co-exist in the source tree. #

Patch Set 7 : Correct grey and gyp fixes. #

Patch Set 8 : Draw changes pulled out into another CL. #

Patch Set 9 : Don't force lcd32 (was added for some tests). #

Patch Set 10 : Move Tables.h and add to gyp; clean up sample. #

Total comments: 2

Patch Set 11 : Remove stray character. #

Total comments: 4

Patch Set 12 : Formatting and less verbose scalars. #

Patch Set 13 : Correct preprocessor directive. #

Patch Set 14 : Tables split out, ports can depend on utils. #

Patch Set 15 : Now with typeface from stream. #

Patch Set 16 : Now with gamma correcting masks. #

Total comments: 2

Patch Set 17 : Changed name of build flag and define. #

Patch Set 18 : Make headers private, simplify class naming. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2216 lines, -7 lines) Patch
M gyp/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +5 lines, -0 lines 0 comments Download
M gyp/common_variables.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +3 lines, -1 line 0 comments Download
M gyp/ports.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +13 lines, -0 lines 0 comments Download
M gyp/utils.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +13 lines, -2 lines 0 comments Download
D include/utils/win/SkHRESULT.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +4 lines, -0 lines 0 comments Download
M include/utils/win/SkTScopedComPtr.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleTextBox.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +2 lines, -2 lines 0 comments Download
M src/core/SkAdvancedTypefaceMetrics.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +12 lines, -1 line 0 comments Download
A src/ports/SkFontHost_win_dw.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1519 lines, -0 lines 0 comments Download
A src/utils/SkFloatUtils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +173 lines, -0 lines 0 comments Download
A src/utils/win/SkDWriteFontFileStream.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +69 lines, -0 lines 0 comments Download
A src/utils/win/SkDWriteFontFileStream.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +210 lines, -0 lines 0 comments Download
A src/utils/win/SkDWriteGeometrySink.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +46 lines, -0 lines 0 comments Download
A src/utils/win/SkDWriteGeometrySink.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +146 lines, -0 lines 0 comments Download

Messages

Total messages: 12
bungeman
While there are some things left to do, I believe this has reached feature parity ...
12 years, 10 months ago (2012-01-13 21:24:35 UTC) #1
Steve VanDeBogart
http://codereview.appspot.com/5417063/diff/24001/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/5417063/diff/24001/src/core/SkAdvancedTypefaceMetrics.cpp#newcode283 src/core/SkAdvancedTypefaceMetrics.cpp:283: const uint32_t* subsetGlyphIDs,k stray character
12 years, 10 months ago (2012-01-13 21:29:36 UTC) #2
bungeman
http://codereview.appspot.com/5417063/diff/24001/src/core/SkAdvancedTypefaceMetrics.cpp File src/core/SkAdvancedTypefaceMetrics.cpp (right): http://codereview.appspot.com/5417063/diff/24001/src/core/SkAdvancedTypefaceMetrics.cpp#newcode283 src/core/SkAdvancedTypefaceMetrics.cpp:283: const uint32_t* subsetGlyphIDs,k On 2012/01/13 21:29:37, Steve VanDeBogart wrote: ...
12 years, 10 months ago (2012-01-13 21:37:35 UTC) #3
reed1
lgmt, with an eye toward future reorg around sfnt/opentype headers and utilities http://codereview.appspot.com/5417063/diff/22018/include/core/SkEndian.h File include/core/SkEndian.h ...
12 years, 10 months ago (2012-01-13 21:58:06 UTC) #4
bungeman
http://codereview.appspot.com/5417063/diff/22018/include/core/SkEndian.h File include/core/SkEndian.h (right): http://codereview.appspot.com/5417063/diff/22018/include/core/SkEndian.h#newcode62 include/core/SkEndian.h:62: template<uint32_t N> On 2012/01/13 21:58:07, reed1 wrote: > all ...
12 years, 10 months ago (2012-01-13 22:10:29 UTC) #5
bungeman
Now considered more or less feature complete.
12 years, 4 months ago (2012-08-01 19:23:36 UTC) #6
reed1
I see a lot of new files that are "utilities" for win. Are these actually ...
12 years, 4 months ago (2012-08-01 19:36:45 UTC) #7
reed1
Do we really need a global SK_USE_DW compile flag? Can the GDI/DW distinction be strictly ...
12 years, 4 months ago (2012-08-01 19:37:24 UTC) #8
bungeman
The two new utils are SkDWriteFontFileStream.h and SkDWriteToPath.h, and they aren't aware of font host ...
12 years, 4 months ago (2012-08-01 20:58:30 UTC) #9
bungeman
The new headers are now in src instead of include, and the naming has been ...
12 years, 3 months ago (2012-08-16 16:01:19 UTC) #10
reed1
lgtm
12 years, 3 months ago (2012-08-16 16:02:54 UTC) #11
bungeman
12 years, 3 months ago (2012-08-16 16:15:32 UTC) #12
Committed revision 5128.

Note that the way to build with DirectWrite on Windows for the time being is to
specify

python gyp_skia -Dskia_directwrite=1
Sign in to reply to this message.

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