diff options
author | 2014-10-16 09:53:20 -0700 | |
---|---|---|
committer | 2014-10-16 09:53:21 -0700 | |
commit | 2f912f39b005b1725bd367c9dc5f1827cdde7be5 (patch) | |
tree | 850817fff4536986f3f9f389d65841ece7094875 /gm | |
parent | 4ba7686eb79a06b7165c007b41cd0cf7bb3ddb2d (diff) |
Const-correctness in PDF drawText() call
If SkPDFDevice::drawText is called with glyph encoding and a font with
cubic outlines (CFF or Type1) and a glyph code > 255 then it was
mutating the in(const) glyph codes in place. Instead, a copy is made.
BUG=skia:3019
Review URL: https://codereview.chromium.org/656143002
Diffstat (limited to 'gm')
0 files changed, 0 insertions, 0 deletions