I tend to use the IBM Plex font, which does not have small caps — hence I get this message when trying to use \textsc: Font shape T1/IBMPlexSerif-TLF/m/fscn' undefined (Font) usingT1/IBMPlexSerif-TLF/m/n' instead.
To get around this I use \fauxsc (Fake small caps with XeTeX/fontspec?), which seems to work in pdflatex.
What would be really snazzy though would be to extend the functionality of \textsc such that when the font does have small caps, it just uses that; then when it doesn't (e.g. as happens with IBM Plex) instead of giving an error, it automatically switches to using \fauxsc
Would such a thing be possible?
