Skip to content
Commits on Jul 20, 2011
  1. not md.. rdoc

    committed Jul 20, 2011
Commits on Jul 18, 2011
  1. @bradediger

    Don't restore y-position on stretchy bboxes

    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.
    bradediger committed Jul 17, 2011
  2. @bradediger
  3. @bradediger
  4. @bradediger
  5. @bradediger

    Document#width_of ignores newlines in its input.

    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.
    bradediger committed Jul 17, 2011
  6. @bradediger

    Table should accept column_widths=(Numeric)

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

    Fix character_spacing to use the character count, not byte length

    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.
    bradediger committed Jul 17, 2011
  2. @bradediger

    Take kerning into account in text width calculations

    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.
    bradediger committed Jul 17, 2011
  3. @bradediger
Commits on Jul 6, 2011
  1. @bradediger
  2. @bradediger
  3. @bradediger
Commits on Jun 1, 2011
  1. @bradediger

    Fix tables in stretchy bounding boxes

    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.
    bradediger committed Jun 1, 2011
  2. @bradediger

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

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

    Whitespace

    bradediger committed May 26, 2011
  2. @bradediger
Commits on May 18, 2011
  1. @bradediger
Commits on May 6, 2011
  1. @bradediger

    Merge pull request #240 from ianterrell/patch-1

    Fixed typo 'an' -> 'a'
    bradediger committed May 6, 2011
  2. @ianterrell

    Fixed typo 'an' -> 'a'

    ianterrell committed May 6, 2011
  3. @mbklein

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

    …r_this_fragment_for_backward_looking_ops when $KCODE=="u" (Unicode)
    mbklein committed May 5, 2011
Commits on May 5, 2011
  1. @bradediger
  2. @unreal
Commits on Apr 27, 2011
  1. @bradediger
  2. @bradediger
  3. @bradediger
  4. @DefV
Commits on Apr 21, 2011
  1. @bradediger
Commits on Apr 18, 2011
  1. @mrkn @bradediger
  2. @bradediger
  3. @bradediger
  4. @bradediger
  5. @bradediger
Commits on Apr 15, 2011
  1. @bradediger
Something went wrong with that request. Please try again.