[Lazarus] Lazarus IDE text display

Martin Frb lazarus at mfriebe.de
Sun Aug 16 13:57:51 CEST 2020


On 16/08/2020 13:45, Colin Western via lazarus wrote:
> Working on High Sierra Lazarus compiled for Cocoa shows odd character spacing for program text - each character looks about twice the width it should be. If I compile Lazarus for carbon it looks fine, and text spacing in my apps looks OK, so I suspect a SynEdit related issue. I though I had seen some earlier comments with a similar issues but I can't now find these. Any suggestons?

This usually happens, if your font is not monospaced.

SynEdit will force the chars into the grid (that would be for monospaced).
To do so, SynEdit looks for the widest char in the font (by looking at 
specific samples, like XMW@): "@" is often the widest.

You can use a negative "extra char spacing" (tools > options) to 
compensate. But then the wider chars will overlap.

If the font is monospaced, then something is probably wrong with the LCL 
measuring....


More information about the lazarus mailing list