Missing public API: FPDFTextObj_SetFontSize (getter exists, setter doesn't)

20 views
Skip to first unread message

Bill Denney

unread,
May 20, 2026, 2:38:22 PMMay 20
to pdfium
I'm working to build an R binding for PDFium, and I found what appears to be a missing feature to set the font size (without recreating the text object). Would this feature be of interest?

I also noted it here: https://issues.chromium.org/issues/515079553

I'm happy to submit to Gerritt the small code update noted in the issue log, if of interest.

Thanks,

Bill

Lei Zhang

unread,
May 20, 2026, 2:44:02 PMMay 20
to Bill Denney, pdfium
Hi again,

Sounds reasonable to have. Please see
https://pdfium-review.googlesource.com/131231 as an example of the
work involved in adding a new API. Please remember to add tests to
demonstrate that the API works.
> --
> You received this message because you are subscribed to the Google Groups "pdfium" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/pdfium/3d335108-70ab-413b-8478-2d9008ce2f41n%40googlegroups.com.

Bill Denney

unread,
May 20, 2026, 4:43:15 PMMay 20
to pdfium
Hi again :),


I tried to follow all the suggestions you had for the previous suggestion so that hopefully this is better.

Thanks!

Bill

Reply all
Reply to author
Forward
0 new messages