Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Feb 19, 2012
  1. Properly tokenize "/\n" as empty PDF name

    authored
    Per PDF 32000-1:2008 sec 7.3.5, whitespace in a PDF name must always be
    escaped hexadecimally, and no whitespace may come between the / and the
    start of the name. So a name starting "/\n" should always be tokenized
    as an empty name.
  2. @yob

    PageState needs public helpers to find resources

    yob authored
    * it encapsulates the search for resources up the stack of nested Form
      XObjects
  3. @yob
  4. @yob
  5. @yob

    ignore xref table entries that point to byte offset 0

    yob authored
    * they can't be correct
Commits on Feb 18, 2012
  1. @yob

    update a require call

    yob authored
  2. @yob
  3. @yob
  4. @yob

    Use a PageState object to track state as a page is rendered

    yob authored
    * the tracked state includes current transforms, the current font and
      font size, etc
    * receivers that need to understand state should delegate much of their
      logic to a PageState instance
    * PageTextReceiver is the cannonical example of how to use PageState
Commits on Feb 11, 2012
  1. @yob
  2. @yob
  3. @yob

    add a cache_stats methos to ObjectHash

    yob authored
    * handy for debugging performance issues
Commits on Feb 7, 2012
  1. @yob
  2. @yob
  3. @yob

    add helpful not to resource methods

    yob authored
    * these things are expensive. Cache the results after calling them!
  4. @yob

    Revert "memoize page resources"

    yob authored
    This reverts commit a00519b.
  5. @yob
  6. @yob

    Revert "Cache up to 20% of objects"

    yob authored
    This reverts commit e71cd17.
Commits on Feb 6, 2012
  1. @yob

    Revert "travis: try testing on rubinius in 1.9 mode"

    yob authored
    This reverts commit 746317d.
  2. @yob
  3. @yob

    Cache up to 20% of objects

    yob authored
  4. @yob
  5. @yob

    memoize page resources

    yob authored
    * this will improve performance significantly 9at the expense of memory)
      for Pages with a large number of resources
    * the long term solution is to improve the ObjectCache to cache commonly
      accessed objects
Commits on Feb 4, 2012
  1. @yob

    fix and spec Font#glyph_width

    yob authored
  2. @yob

    split conversion of glyphs to UTF8 into two code paths

    yob authored
    * as per the PDF spec
    * For any font that has a ToUnicode CMap, rely on that for the
      conversion. If it's there, assume it's correct
    * For fonts without a ToUnicode CMap, use the marked encoding (ie. WinAnsi)
      and difference table to convert to Unicode
    * This *should* speed up conversion of fonts with ToUnicode
      significantly
    * This slightly changes the API of Font and Encoding objects, but it
      is a better division of responsibilities
  3. @yob

    group these specs by method

    yob authored
Commits on Jan 31, 2012
  1. @yob

    test jruby in 1.8 and 1.9 modes

    yob authored
  2. @yob
  3. @yob

    improve handling of empty PDF Names

    yob authored
    * '/' is a valid PDF name, we really don't want to throw a
      MalformedPDFError
Commits on Jan 16, 2012
  1. @yob

    remove variable shadowing

    yob authored
  2. @yob

    remove unused variable

    yob authored
  3. @yob

    avoid useless variable assignment

    yob authored
  4. @yob

    remove unused variable

    yob authored
  5. @yob

    stop requiring yaml

    yob authored
    * we don't use it any more
  6. @yob

    remove unused method

    yob authored
Something went wrong with that request. Please try again.