Releases the underlying PDFium font. Idempotent — a second call is
a no-op. The finalizer attached to the externalptr also runs this
when R garbage-collects the pdfium_font, but explicit close is
useful when many large fonts have been loaded and you want
deterministic release.
Arguments
- font
A
pdfium_fontfrompdf_font_load_standard()orpdf_font_load().