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

Issue 1218043004: Add check that Dwrite glyph fits in unicode table. (Closed)

Created:
5 years, 5 months ago by Will Harris
Modified:
5 years, 5 months ago
CC:
reviews_skia.org, bungeman-chromium
Base URL:
https://chromium.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add check that Dwrite glyph fits in unicode table. BUG=470146 Committed: https://skia.googlesource.com/skia/+/f7b54cda0d44cb1e7fd89586ff8ff3b78dfb823b

Patch Set 1 #

Total comments: 1

Patch Set 2 : code review changes #

Total comments: 10

Patch Set 3 : code review 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M src/ports/SkTypeface_win_dw.cpp View 1 2 1 chunk +7 lines, -5 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
Will Harris
PTAL
5 years, 5 months ago (2015-07-07 00:07:51 UTC) #2
reed1
https://codereview.chromium.org/1218043004/diff/1/src/ports/SkTypeface_win_dw.cpp File src/ports/SkTypeface_win_dw.cpp (right): https://codereview.chromium.org/1218043004/diff/1/src/ports/SkTypeface_win_dw.cpp#newcode296 src/ports/SkTypeface_win_dw.cpp:296: hr = fontFace->GetGlyphIndices(&c, 1, &glyph); 1. Perhaps we should ...
5 years, 5 months ago (2015-07-07 14:22:52 UTC) #4
Will Harris
On 2015/07/07 14:22:52, reed1 wrote: > https://codereview.chromium.org/1218043004/diff/1/src/ports/SkTypeface_win_dw.cpp > File src/ports/SkTypeface_win_dw.cpp (right): > > https://codereview.chromium.org/1218043004/diff/1/src/ports/SkTypeface_win_dw.cpp#newcode296 > ...
5 years, 5 months ago (2015-07-07 17:40:44 UTC) #8
reed1
https://codereview.chromium.org/1218043004/diff/20001/src/ports/SkTypeface_win_dw.cpp File src/ports/SkTypeface_win_dw.cpp (right): https://codereview.chromium.org/1218043004/diff/20001/src/ports/SkTypeface_win_dw.cpp#newcode297 src/ports/SkTypeface_win_dw.cpp:297: if (SUCCEEDED(hr) && 0 < glyph && glyph < ...
5 years, 5 months ago (2015-07-07 18:50:52 UTC) #9
Will Harris
On 2015/07/07 18:50:52, reed1 wrote: > https://codereview.chromium.org/1218043004/diff/20001/src/ports/SkTypeface_win_dw.cpp > File src/ports/SkTypeface_win_dw.cpp (right): > > https://codereview.chromium.org/1218043004/diff/20001/src/ports/SkTypeface_win_dw.cpp#newcode297 > ...
5 years, 5 months ago (2015-07-07 20:03:23 UTC) #10
reed1
if you can do #2 or #3, upload it and I'll take a look.
5 years, 5 months ago (2015-07-07 20:19:46 UTC) #11
bungeman-skia
I imagine this has something to do with .CompositeFont or with the other DW timing ...
5 years, 5 months ago (2015-07-07 20:40:17 UTC) #13
bungeman-skia
I'm just full of copy paste issues today. https://codereview.chromium.org/1218043004/diff/20001/src/ports/SkTypeface_win_dw.cpp File src/ports/SkTypeface_win_dw.cpp (right): https://codereview.chromium.org/1218043004/diff/20001/src/ports/SkTypeface_win_dw.cpp#newcode296 src/ports/SkTypeface_win_dw.cpp:296: hr ...
5 years, 5 months ago (2015-07-07 21:02:40 UTC) #14
Will Harris
I think I did everything. I didn't add a compile time guard, since if this ...
5 years, 5 months ago (2015-07-07 21:14:01 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218043004/40001
5 years, 5 months ago (2015-07-07 21:17:25 UTC) #17
bungeman-skia
lgtm
5 years, 5 months ago (2015-07-07 21:44:07 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218043004/40001
5 years, 5 months ago (2015-07-07 21:44:39 UTC) #21
Will Harris
On 2015/07/07 21:44:39, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
5 years, 5 months ago (2015-07-07 23:20:23 UTC) #23
rmistry
On 2015/07/07 23:20:23, Will Harris wrote: > On 2015/07/07 21:44:39, commit-bot: I haz the power ...
5 years, 5 months ago (2015-07-08 00:22:36 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1218043004/40001
5 years, 5 months ago (2015-07-08 00:54:08 UTC) #26
commit-bot: I haz the power
5 years, 5 months ago (2015-07-08 01:06:23 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/f7b54cda0d44cb1e7fd89586ff8ff3b78dfb823b

Powered by Google App Engine
This is Rietveld 408576698