Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 18, 2011
  1. Brad Ediger

    Don't restore y-position on stretchy bboxes

    bradediger authored
    When starting a bounding box at the bottom of a page (for example, using
    span starting at the end of a page), drawing some text (advancing to the
    next page), and then closing out the bbox / span, Prawn would restore
    the original (bottom) y-position, thus stretching the bbox to the height
    of the page. This commit resolves that issue.
    
    Closes #255.
  2. Brad Ediger
  3. Brad Ediger
  4. Brad Ediger
  5. Brad Ediger

    Document#width_of ignores newlines in its input.

    bradediger authored
    To Prawn, newlines have no logical width. But some TTF fonts specify a
    nonzero width for newlines. Fix Prawn's width handling to always return
    zero for code point 10 ("\n").
    
    Closes #245.
  6. Brad Ediger

    Table should accept column_widths=(Numeric)

    bradediger authored
    Closes #257. Thanks to pzupan on Github for finding the bug.
Commits on Jul 17, 2011
  1. Brad Ediger

    Fix character_spacing to use the character count, not byte length

    bradediger authored
    The character_spacing option should use the number of characters in a
    string when determining the width of that string.
    
    Closes #253. Thanks to hidakatsuya on github for finding this bug.
  2. Brad Ediger

    Take kerning into account in text width calculations

    bradediger authored
    Before this commit, Text::Box would use the unkerned width of text
    fragments to determine line width. This commit fixes it to respect the
    kerning status requested.
    
    Closes #251.
  3. Brad Ediger
Commits on Jul 6, 2011
  1. Brad Ediger
  2. Brad Ediger
  3. Brad Ediger
Commits on Jun 1, 2011
  1. Brad Ediger

    Fix tables in stretchy bounding boxes

    bradediger authored
    Stretchy bounding boxes would previously cause a staggered y-coordinate
    when drawing table cells. Float the draw operation so that we restore
    the y-position after each cell. Thanks to DefV for the bug report and
    fix.
    
    Closes #235.
  2. Brad Ediger

    Mocha checking() extension: allow the block to run multiple times

    bradediger authored
    In situations like checking{...}.times(3), we want the block to run each time.
Commits on May 26, 2011
  1. Brad Ediger

    Whitespace

    bradediger authored
  2. Brad Ediger
Commits on May 18, 2011
  1. Brad Ediger
Commits on May 6, 2011
  1. Brad Ediger

    Merge pull request #240 from ianterrell/patch-1

    bradediger authored
    Fixed typo 'an' -> 'a'
  2. Ian Terrell

    Fixed typo 'an' -> 'a'

    ianterrell authored
  3. Michael B. Klein

    Fixed NoMethodError in Prawn::Core::Text::Formatted::LineWrap#remembe…

    mbklein authored
    …r_this_fragment_for_backward_looking_ops when $KCODE=="u" (Unicode)
Commits on May 5, 2011
  1. Brad Ediger
  2. Jay Strybis
Commits on Apr 27, 2011
  1. Brad Ediger
  2. Brad Ediger
  3. Brad Ediger
  4. Jan De Poorter
Commits on Apr 21, 2011
  1. Brad Ediger
Commits on Apr 18, 2011
  1. Kenta Murata Brad Ediger
  2. Brad Ediger
  3. Brad Ediger
  4. Brad Ediger
  5. Brad Ediger
Commits on Apr 15, 2011
  1. Brad Ediger
Commits on Apr 14, 2011
  1. Nando Vieira
Commits on Apr 13, 2011
  1. Matthew Rudy Jacobs
Something went wrong with that request. Please try again.