You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BUG: PDFConverter ignores font_color when generating a PDF #3105
PDFConverter(font_color=...) does nothing when the converter generates a new PDF. _generate_pdf never sets a fill color, so the text is always black. Only the existing-PDF injection path uses a color (per item).
It also isn't in the identifier, along with row_height, column_width and injection_items, so PDFConverters with different layouts share an identity.
The catch with a fix: the default font_color is (255, 255, 255). Just applying it would make every default generated PDF white-on-white. So either the default moves to black and the value gets applied, or the param is documented as injection-only. Filing to ask which you'd prefer before sending a PR.
Activity