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

Issue 2162023002: Correct advances for 'monospace' fonts in PDF. (Closed)

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

Description

Correct advances for 'monospace' fonts in PDF. FT_IS_FIXED_WIDTH, kCTFontMonoSpaceTrait, and TMPF_FIXED_PITCH are style bits, they do not imply that all advances are the same. BUG=skia:5537 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2162023002 Committed: https://skia.googlesource.com/skia/+/f1491693527a70919de5d624a049cae38384474e

Patch Set 1 #

Patch Set 2 : CG and GDI as well. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -127 lines) Patch
M src/ports/SkFontHost_FreeType.cpp View 6 chunks +45 lines, -76 lines 2 comments Download
M src/ports/SkFontHost_mac.cpp View 1 1 chunk +15 lines, -23 lines 0 comments Download
M src/ports/SkFontHost_win.cpp View 1 1 chunk +20 lines, -28 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
bungeman-skia
I don't know if this fixed the linked bug, but it might and it removes ...
4 years, 5 months ago (2016-07-19 14:49:30 UTC) #5
hal.canary
dml@, does this patch fix this bug? I'm working on a GM to test this: ...
4 years, 5 months ago (2016-07-19 15:48:38 UTC) #8
hal.canary
I get the same bug on my macbook. bungeman@, can you look at SkFontHost_mac.cpp too?
4 years, 5 months ago (2016-07-19 15:50:42 UTC) #9
bungeman-skia
Now with CG and GDI. Turns out I wrote the DirectWrite one 'correctly' already, in ...
4 years, 5 months ago (2016-07-19 16:04:52 UTC) #10
hal.canary
On 2016/07/19 16:04:52, bungeman-skia wrote: > Now with CG and GDI. Turns out I wrote ...
4 years, 5 months ago (2016-07-19 17:11:07 UTC) #11
bungeman-skia
On 2016/07/19 17:11:07, Hal Canary wrote: > On 2016/07/19 16:04:52, bungeman-skia wrote: > > Now ...
4 years, 5 months ago (2016-07-19 17:28:39 UTC) #12
hal.canary
On 2016/07/19 17:28:39, bungeman-skia wrote: > On 2016/07/19 17:11:07, Hal Canary wrote: > > On ...
4 years, 5 months ago (2016-07-19 17:51:07 UTC) #13
David Lattimore
On 2016/07/19 15:48:38, Hal Canary wrote: > dml@, does this patch fix this bug? I'm ...
4 years, 5 months ago (2016-07-21 00:14:37 UTC) #14
hal.canary
lgtm LGTM. https://codereview.chromium.org/2162023002/diff/20001/src/ports/SkFontHost_FreeType.cpp File src/ports/SkFontHost_FreeType.cpp (right): https://codereview.chromium.org/2162023002/diff/20001/src/ports/SkFontHost_FreeType.cpp#newcode599 src/ports/SkFontHost_FreeType.cpp:599: info->fType == SkAdvancedTypefaceMetrics::kType1_Font) style nit: `{` on ...
4 years, 5 months ago (2016-07-22 16:20:36 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162023002/20001
4 years, 5 months ago (2016-07-22 16:20:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2162023002/20001
4 years, 5 months ago (2016-07-22 18:18:32 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 18:19:28 UTC) #27
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://skia.googlesource.com/skia/+/f1491693527a70919de5d624a049cae38384474e

Powered by Google App Engine
This is Rietveld 408576698