aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/SkPdfFont.cpp
Commit message (Collapse)AuthorAge
* Small tweaks to be able to build everything target:Gravatar commit-bot@chromium.org2014-01-08
| | | | | | | | | | | | | | | | | - fParsed is unused. - Quiet down a bogus -Wuninitialized warning in QWeakPointer. Tested Clang and GCC on Linux. BUG= R=bungeman@google.com Author: mtklein@google.com Review URL: https://codereview.chromium.org/128573002 git-svn-id: http://skia.googlecode.com/svn/trunk@12970 2bbb7eff-a529-9590-31e7-b0007b416f81
* Remove SkPdfNativeDoc::tokenizerOfStream.Gravatar scroggo@google.com2013-12-03
| | | | | | | | | | | | Instead, initialize an SkPdfNativeTokenizer directly on the stack. Fixes a memory leak in SkPdfFont. R=mtklein@google.com Review URL: https://codereview.chromium.org/100323003 git-svn-id: http://skia.googlecode.com/svn/trunk@12462 2bbb7eff-a529-9590-31e7-b0007b416f81
* mode code cleanup (100c / l, comments)Gravatar edisonn@google.com2013-10-10
| | | | | | Review URL: https://codereview.chromium.org/26912005 git-svn-id: http://skia.googlecode.com/svn/trunk@11716 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: code cleanup - add licence on files, make replace __DEFINE__foo ↵Gravatar edisonn@google.com2013-08-21
| | | | | | | | with foo_DEFINED to match skia project Review URL: https://codereview.chromium.org/23361009 git-svn-id: http://skia.googlecode.com/svn/trunk@10854 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: code cleanup - remove STL usageGravatar edisonn@google.com2013-08-16
| | | | | | Review URL: https://codereview.chromium.org/23258004 git-svn-id: http://skia.googlecode.com/svn/trunk@10772 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: 1) debug code for drawText (show magenta background for text, to ↵Gravatar edisonn@google.com2013-08-14
| | | | | | | | show text even when we fail to load/show it), 2) some cleanup: refactor and rename classes and files Review URL: https://codereview.chromium.org/23020003 git-svn-id: http://skia.googlecode.com/svn/trunk@10716 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: add indexed rbg image support, enhanche caching(setData) for ↵Gravatar edisonn@google.com2013-08-05
| | | | | | | | SkPdfObject Review URL: https://codereview.chromium.org/21738005 git-svn-id: http://skia.googlecode.com/svn/trunk@10534 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: more plumming for soft masks, blend modes and transparency groupsGravatar edisonn@google.com2013-07-29
| | | | | | Review URL: https://codereview.chromium.org/21125002 git-svn-id: http://skia.googlecode.com/svn/trunk@10419 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: limit the characters we support in ToUnicode, to 0xffffGravatar edisonn@google.com2013-07-25
| | | | | | Review URL: https://codereview.chromium.org/20538002 git-svn-id: http://skia.googlecode.com/svn/trunk@10377 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: don't crash if the xref is corrupted.Gravatar edisonn@google.com2013-07-23
| | | | | | Review URL: https://codereview.chromium.org/20004007 git-svn-id: http://skia.googlecode.com/svn/trunk@10293 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdfviewer: improve memory usage, improve parse time (by 30-50%) and don't ↵Gravatar edisonn@google.com2013-07-23
| | | | | | | | allocate extra buffers (more to do, but low priority now), and put the page specific memory in an allocator. Review URL: https://codereview.chromium.org/19793011 git-svn-id: http://skia.googlecode.com/svn/trunk@10282 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdf viewer: refactor, add -w parameter to pdfviewer, add -n to remove ↵Gravatar edisonn@google.com2013-07-10
| | | | | | | | extenassion page when there is a single page (so skdiff can be run easily) and fix a bug (SkPdfobject should not reset on destruct) Review URL: https://codereview.chromium.org/18435007 git-svn-id: http://skia.googlecode.com/svn/trunk@9983 2bbb7eff-a529-9590-31e7-b0007b416f81
* pdf viewer: fix a few warnings, and enable warning as errorsGravatar edisonn@google.com2013-07-10
| | | | | | Review URL: https://codereview.chromium.org/18293012 git-svn-id: http://skia.googlecode.com/svn/trunk@9966 2bbb7eff-a529-9590-31e7-b0007b416f81
* Native PDF parser implementation - don't try it on pdfs that are not ↵Gravatar edisonn@google.com2013-07-10
| | | | | | | | generated by skia, Crome Print Preview or Chrome Save As Pdf - it will crash as mising xref, pdfs with updates, and other features are not supported yer. Review URL: https://codereview.chromium.org/18323019 git-svn-id: http://skia.googlecode.com/svn/trunk@9962 2bbb7eff-a529-9590-31e7-b0007b416f81
* isolate podofo to prepare for native parser, autogenerate PDF API during buildGravatar edisonn@google.com2013-07-02
| | | | | | Review URL: https://codereview.chromium.org/18042005 git-svn-id: http://skia.googlecode.com/svn/trunk@9879 2bbb7eff-a529-9590-31e7-b0007b416f81
* more work on pdf fonts, more to comeGravatar edisonn@google.com2013-06-28
| | | | | | Review URL: https://codereview.chromium.org/18117005 git-svn-id: http://skia.googlecode.com/svn/trunk@9813 2bbb7eff-a529-9590-31e7-b0007b416f81
* more work on pdf fonts, more to comeGravatar edisonn@google.com2013-06-27
| | | | | | Review URL: https://codereview.chromium.org/18117005 git-svn-id: http://skia.googlecode.com/svn/trunk@9796 2bbb7eff-a529-9590-31e7-b0007b416f81
* Basic load base font when specified in a FontDescriptor. basic load of ↵Gravatar edisonn@google.com2013-06-27
| | | | | | | | TrueType font (FontFile2) Review URL: https://codereview.chromium.org/18059003 git-svn-id: http://skia.googlecode.com/svn/trunk@9788 2bbb7eff-a529-9590-31e7-b0007b416f81
* refactoring for pdf viewer libGravatar edisonn@google.com2013-06-26
| | | | | | Review URL: https://codereview.chromium.org/17856004 git-svn-id: http://skia.googlecode.com/svn/trunk@9773 2bbb7eff-a529-9590-31e7-b0007b416f81
* Basic support for Type3 Fonts in Pdf + various refactoringsGravatar edisonn@google.com2013-06-25
| | | | | | Review URL: https://codereview.chromium.org/17748002 git-svn-id: http://skia.googlecode.com/svn/trunk@9757 2bbb7eff-a529-9590-31e7-b0007b416f81
* add missing font.* files, map podofo to SkPdfObject for SkPdfArray::operator[]Gravatar edisonn@google.com2013-06-21
Review URL: https://codereview.chromium.org/17063014 git-svn-id: http://skia.googlecode.com/svn/trunk@9735 2bbb7eff-a529-9590-31e7-b0007b416f81