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

Notification

Icon
Error

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

Rank: Member

Groups: Registered
Joined: 11/1/2019(UTC)
Posts: 14
Brazil
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)
Quote
Paul Rayman

Rank: Administration

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

Thanks: 5 times
Was thanked: 122 time(s) in 119 post(s)
Hello,

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.