@ltlnx Yeah, that's it. Although the @Sirs0ri version is a bit more convenient due to the code block with the result and manual control of layer visibility.

I very rarely work with typography and when a typography related issue comes up, I almost always have to re-find these and similar tools. Thank you both for your help!