diff options
author | 2013-08-22 15:37:21 +0000 | |
---|---|---|
committer | 2013-08-22 15:37:21 +0000 | |
commit | f68aed33819cbc98a95edeadde1da9303eca7fb2 (patch) | |
tree | 7b08f5ae985b4393cd21bee249d0e6c61c87eed3 /experimental/PdfViewer/SkPdfFont.h | |
parent | bd2f30132e1433b4dd1276e59a03fc70fd8209d7 (diff) |
pdfviewer: when q start, and an operator is called, it should not be able to see operands before q. nest/unnest are similar with pop/push - simulates a stack of stacks, in a single stack
Review URL: https://codereview.chromium.org/23033022
git-svn-id: http://skia.googlecode.com/svn/trunk@10873 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer/SkPdfFont.h')
-rw-r--r-- | experimental/PdfViewer/SkPdfFont.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/experimental/PdfViewer/SkPdfFont.h b/experimental/PdfViewer/SkPdfFont.h index 09e01ac86e..51e032980c 100644 --- a/experimental/PdfViewer/SkPdfFont.h +++ b/experimental/PdfViewer/SkPdfFont.h @@ -211,7 +211,7 @@ public: }; inline unsigned int ToUnicode(unsigned int ch) const { - if (fToUnicode) { + if (fToUnicode && fToUnicode->fCMapEncoding) { return fToUnicode->fCMapEncoding[ch]; } else { return ch; |