Detect thin, white fonts

Post Reply
User avatar
Terkelsen
Advanced member
Posts: 298
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Detect thin, white fonts

Post by Terkelsen »

I'm looking for a way to detect thin, white text in a PDF. I have tried to make a restriction in a preflight to look only for fonts that has Thin or Light in their fontname and have white fill. Using a very simple RegEx like this ".dThin" would find ec. ProximaNova-ThinIT if I test this in a RegEx-tester, but it doesn't seem to work when used in the "select Font"_action.

Any other suggestions on how to detect thin, white text?
User avatar
Terkelsen
Advanced member
Posts: 298
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: Detect thin, white fonts

Post by Terkelsen »

If anybody want to know, I have now learned (from Andrew :-)) that the correct RegEx should look like this:

.*Thin.*
dcardillo
Newbie
Posts: 13
Joined: Fri Jan 06, 2023 9:24 pm

Re: Detect thin, white fonts

Post by dcardillo »

I wish there was a way to upvote posts, because this is exactly what I was looking for
Post Reply