Skip to content

Cell width calculation ignores font_style and font_size #10

Description

@bneumeier

[Description edited by bradediger]

When a the data for a table includes cells or hashes that specify :font_style and :font_size (possibly other attributes as well), the natural width calculation for the table is wrong.

Specced in bneumeier/prawn-layout@2024b97.

Patch in bneumeier/prawn-layout@cfaffbf looks correct but carries a big refactor of prawn-layout that conflicts with the nested table changes for 0.7. It also adds colspan to Cell, which, as discussed on prawn-ruby, is suboptimal. If we can rebase these changes on top of the new prawn-layout, that would be perfect.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions