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



New Topic Post Reply
Go to last post Go to first unread
#1 Posted : Monday, June 21, 2021 2:53:14 PM(UTC)

Rank: Member

Groups: Registered
Joined: 11/1/2019(UTC)
Posts: 17
Location: Rio de Janeiro

Thanks: 2 times
Is there any possibility that PdfTextObject can have more than 1 Font?

I haven't found a consistent way to get the Font of a specific character of the text. Can I assume that the Font of a PdfTextObject will always be the same for all its characters?

My goal is to build a "find tool" for fonts - Find where in the document an specific Font is beeing used

Best Regards!
Paul Rayman  
#2 Posted : Monday, June 21, 2021 9:34:54 PM(UTC)
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,075

Thanks: 6 times
Was thanked: 124 time(s) in 121 post(s)

There is no such way. You need to create separate text objects if you want to have different fonts.
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.