Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-06

LCL-supplied default fixed-width font (Was: First impressions of Lazarus under Mac OS X)

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Flávio Etrusco
Show quoted text 9 lines
> I understand Monaco is supposed to be fixed width? Default is at line 1348 (SynEdit.pp) ?{$IFDEF LCLcarbon} ? ?SynDefaultFontName ? := 'Monaco'; // Note: carbon is case sensitive ? ?SynDefaultFontHeight := 12; ? ?{$DEFINE SynDefaultFont}

Wouldn't it be a nice addition for LCL to provide a function or constant with a default fixed-width font (and maybe others) for the platform?

Best regards,
Fl?vio

Reply by email

Graeme Geldenhuys
to Flávio Etrusco
Fl?vio Etrusco wrote
Wouldn't it be a nice addition for LCL to provide a function or constant with a default fixed-width font (and maybe others) for the platform?

I think it would be, because currently LCL cross-platform font usage is not very good. My first impressions with Mac OS X proved it more so. For a possible solution, see what I did in fpGUI. I have mentioned it here in the mailing list too... search for 'font aliases'. And yes, it will definitely not be Delphi compatible, but then again, Delphi doesn't support multiple platforms - so they don't have that issue.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email