-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
styled_width_of on cell/text.rb should use with_font, shouldn't it? #42
Comments
Hi everyone, I'm going to bump this issue because I just encountered it as well. I just double-checked with I believe the cell's font and size should be used if specified. Furthermore, it looks like the |
Use a cell's specified font to determine text cell content width. #42
Fix merged to master in 810ccda. In the future, we should also look at calculating a font's widest character for |
- a fix for prawnpdf/prawn-table#42 is already incorporated into the code base - remove assertion exception for prawn-table 0.2.2 - drop recommendation to use development version of prawn-table
I was running into some column width sizing issues, and it looks like styled_width_of ends up using the font size for the current font on the pdf, not necessarily the font being used within the cell. Am I seeing that correctly?
The text was updated successfully, but these errors were encountered: