I think there is a problem with TVScreen2DText. I am unable to underline text, and if bold=true, then I am unable to render italic font!?!?
Below is the code for generating and rendering the text.
Code to create the font
public CreateFont(string fontName, int size, bool _bold, bool _underline, bool _italic)
{
drawer = Core.Screen2D;
writer = Core.Text2D;
Alignment = Align.Left;
FontSize = size;
Bold = _bold;
Underline = _underline;
Italic = _italic;
iNFont = writer.NormalFont_Create(fontName, fontName, FontSize, Bold, Underline, Italic);
}
Code to render the font
writer.NormalFont_DrawText(Text, x1, y1, ForeColor, iNFont);
Am I loosing my head here?
