Hello,
I would like to modify the default font in TGTextView.
While I found how to change the font from an old post:
TGFontPool *pool = gClient->GetFontPool();
// family , size (minus value - in pixels, positive value - in points), weight, slant
// kFontWeightNormal, kFontSlantRoman are defined in TGFont.h
TGFont *font = pool->GetFont(“helvetica”, -14, kFontWeightMedium, kFontSlantRoman);
font->Print();
FontStruct_t ft = font->GetFontStruct();
fViewLog->SetFont(ft);
I could not find how to increase the line spacing. Is there a way of doing it?
Thanks in advance,
Bertrand Roessli