myFont.setRenderingStyle
Sets the current rendering style for this font.
- Note:
- Combining Font::Underline with anything can cause a segfault, other combinations may also do this (due to the SDL_ttf/Freetype backend).
-
Changing the font style flushes the internal cache of previously rendered glyphs.
- Parameters:
-
| newStyle | a bitmask of the desired rendering styles. |
( Font::Italic | Font:Bold ) ;
- Exceptions:
-
| FontException | if the specified style is not supported. |