diff options
author | Cary Clark <caryclark@skia.org> | 2017-07-12 14:19:54 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-13 14:51:36 +0000 |
commit | ebc351b1aa10582f8486573e65157adf5dadd8cd (patch) | |
tree | bcf9f63aae77972f076e62cdf9c6c0f73cc458ca /fxbarcode/cbc_codabar.h | |
parent | 95ea778b4411bbd46b21f93e391f3bbd3e798342 (diff) | |
download | pdfium-ebc351b1aa10582f8486573e65157adf5dadd8cd.tar.xz |
fix skiapaths for sparse type1 on mac
PDFium's native code reverse engineers the glyph code on Mac
by taking the character code point, looking up its name in
FreeType, and then finding the named glyph's index from
CoreGraphics.
If the FreeType glyph index and the CoreGraphics index don't
match, it uses CoreGraphics' index when drawing.
The IDs match except when drawing an embedded Type 1 font tha
has been sparsely populated to cut down on the PDF size.
R=dsinclair@chromium.org
Bug: 738279
Change-Id: I16d993b611afe3b2481b36f886644524c9c351ef
Reviewed-on: https://pdfium-review.googlesource.com/7650
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'fxbarcode/cbc_codabar.h')
0 files changed, 0 insertions, 0 deletions