Get Font information in JavaScript
Please provide a function in the JavaScript Doc methods to get the Font Family/ font size of the nthWord on a page.
For context, I'm using an action to replace text with a new value via Redactions, ideally, I'd like to be able to font-match the Redaction with the font-family/size of the original text, so that the replacement isn't obvious. Currently, I'm having to use font-size 0 which can be hit or miss depending on the line-size vs font-size, and what font was originally used.
2
votes
Zachary Soare
shared this idea