We update the font-list to postscript values.
Font values with spaces will still work, but they rely on specific fallback behavior that is different across stacks.
Users should be given and using the true value from the beginning.
Before this PR...
Stack1: Avenir Next Bold would fallback to a generic font with bold applied.
Stack2: Avenir Next Bold would fallback to Avenir Next without bold applied.
After this PR...
Stack1: AvenirNext-Bold will use the correct font and style.
Stack2: AvenirNext-Bold will use the correct font and style.
Description
We update the font-list to postscript values. Font values with spaces will still work, but they rely on specific fallback behavior that is different across stacks. Users should be given and using the true value from the beginning.
Before this PR... Stack1:
Avenir Next Bold
would fallback to a generic font withbold
applied. Stack2:Avenir Next Bold
would fallback toAvenir Next
withoutbold
applied.After this PR... Stack1:
AvenirNext-Bold
will use the correct font and style. Stack2:AvenirNext-Bold
will use the correct font and style.