logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Paul Rayman Posted: Thursday, March 13, 2025 2:46:10 AM(UTC)
 
Hello,

To retrieve this information, you need to inspect the page object.
Here are some examples
https://pdfium.patagames...rkingSDK_PageObjects.htm
tudorc Posted: Monday, March 10, 2025 1:32:37 AM(UTC)
 
I'm trying to extract color and font information (name, color, weight) on characters and texts.

PdfTextInfo (obtained from PdfPage.Text.GetTextInfo()) only contains the text its self and rectangles.
PdfText (obtained from PdfPage.Text) has a GetFontSize(int index), but no family

I've seen older posts mention fonts, but in the latest library version (4.98.2704) I see no mentions of it. Has support for them been dropped or am I just missing something?