Hello,
I've tried without success to change the font size for the sources in the demo.
Could anybody help me here?
Thanks,
Mikhail
Hello,
I've tried without success to change the font size for the sources in the demo.
Could anybody help me here?
Thanks,
Mikhail
Robin Dunn <robin <at> alldunn.com> writes:
Mike Driscoll wrote:
> self.StyleSetSpec(stc.STC_STYLE_DEFAULT,
> "face:%(helv)s,size:%(size)d" % faces)
>Also look at the faces dict further up the file.
I've found the place in Main.py where the defaults are set up in
DemoCodeeditor.SetUpEditor. It appears that on MSW and GTK platforms
the font size is hard coded. It looks like on MSW it is better to
let Scintilla to choose default font size (as is now on MAC) and on GTK -
to use wx.SystemSettings.GetFont(wx.SYS_ANSI_FIXED_FONT).GetPointSize()
as a default. I've tried it on WinXP and SuSE10.3(KDE).
Robin, I've submitted a patch on SF (#1956218), could you take a look at it?
Regards,
Mikhail