Use FreeType's "embolden", but only if face is not already bold.

A side-effect of not knowing the actual SkTypeface used to draw text
until render-time is that we cannot make decisions based upon the
face's proper font metrics. As a result, attempts to draw bold text
will fail when a fallback font with normal weight is selected. With
this, we can feel free to enable fake bold mode even if the primary
font is bold, as the extraneous fake bold bit will just get ignored
at render-time if the actual font used to draw the text is bold.

Bug: 6522642
Change-Id: Icdd13f6bd36a85ba374b6ed7a08b596d4c31e86f
2 files changed