Thanks for developing this amazing script!
I just wanted to flag this issue in case anyone else has experienced it.
I only notice the issue when loading a custom font (from MyFonts) where the text is be balanced across too many lines, so text that could easily fit on 2 lines would render over 3 lines.
I think the issue can be traced back to the nowrapHeight calculation. I've fixed the issue for myself by changing line 313 from $this.css('line-height', 'normal'); to $this.css('line-height', '1');
Thanks for developing this amazing script!
I just wanted to flag this issue in case anyone else has experienced it.
I only notice the issue when loading a custom font (from MyFonts) where the text is be balanced across too many lines, so text that could easily fit on 2 lines would render over 3 lines.
I think the issue can be traced back to the nowrapHeight calculation. I've fixed the issue for myself by changing line 313 from
$this.css('line-height', 'normal');to$this.css('line-height', '1');