"Bold" should obviously be taken from the script's style, like it's done
with StrikeOut and Underline.
treat_fontname_as_pattern is specific to the font, and thus should be
taken from the same style as the font (the override style).
// script's style that are deemed necessary.
*new = render_priv->user_override_style;
+ new->Bold = rstyle->Bold;
new->StrikeOut = rstyle->StrikeOut;
new->Underline = rstyle->Underline;
new->Angle = rstyle->Angle;
new->MarginV = rstyle->MarginV;
new->Alignment = rstyle->Alignment;
new->Encoding = rstyle->Encoding;
- new->treat_fontname_as_pattern = rstyle->treat_fontname_as_pattern;
// The user style is supposed to be independent of the script resolution.
// Treat the user style's values as if they were specified for a script with