Generic function
Merges two text styles and returns a new text style that is the same as the first, except that unspecified components in are filled in from the second.
merge-text-styles text-style default-style => text-style
<text-style>.
<text-style>.
<text-style>.
duim-dcsduim-dcsMerges the text styles text-style with default-style, that is, returns a new text style that is the same as text-style, except that unspecified components in style1 are filled in from default-style. For convenience, the two arguments may be also be style specs. Note that default-style must be a fully specified text style.
When merging the sizes of two text styles, if the size from the first style is a relative size, the resulting size is either the next smaller or next larger size than is specified by default-style. The ordering of sizes, from smallest to largest, is #"tiny", #"very-small", #"small", #"normal", #"large", #"very-large", and #"huge".