The StringRenderer class provides an API to render strings while also managing font preferences for a user and performing font metrics calculations. To achieve a separation of concerns, decouple the management of font preferences from the StringRenderer class.
The
StringRenderer
class provides an API to render strings while also managing font preferences for a user and performing font metrics calculations. To achieve a separation of concerns, decouple the management of font preferences from theStringRenderer
class.