Coming from CSS, where:
* font-weight (regular/bold) is an independent property from font-style (italic/oblique)
* style properties cascade into nested objects (and therefore, a style with “font-style: italic” applied to a text whose inherited style has “font-weight: bold” makes the font style effectively “bold italic”)
* one can define in one single place for the whole stylesheet, using @font-face, what different font file corresponds to each combination of font-weight and font-style, and therefore, among other things, be able to just call “italic” an italic font irrespective of a font family’s lingo for that style (italic, oblique, cursiveā¦).
I find it rather inconvenient that, in order to create character styles for applying the italic variant of a font to a text I usually must have several styles with different “font style” properties, and apply one or another depending on the font I want to italize. I.e., if I am using different paragraph styles each using a different font weight (regular, bold, black) and whose fonts have italic styles with heterogeneous naming (italic, oblique), I usually need all these different “italic” character styles variants:
* [none] + italic
* [none] + oblique
* [none] + bold italic
* [none] + bold oblique
* [none] + black italic
* [none] + black oblique
which is prone to making the wrong selection, and therefore nuts IMHO.
So three questions regarding font styles when creating character styles:
* Is there a way to specify the font style in a sort of fallback chain as in CSS: “italic, oblique” (i.e. apply whichever font is available in that order)?
* Is there a way to specify the font style as a suffix or whatever font it is being applied over: “[~ ]italic” (i.e. apply the font “regular italic” or “bold italic” depending whether the font style of the text this new style is being applied to is “regular” or “bold”)?
* Is there a way to combine both things?
Or alternatively, is there another way around this?