[SOLVED] How do I correct this? lazarus / 9-Editor ---------------------------------------------------------------------- linuxbob · 2022-06-16 11:37 Hello all, I've done a search on the forum for a solution and haven't found one yet. My editor window has suddenly started displaying the text in this manner. I have tried changing the font; the font does change but the new font also displays like this. I've also tried uninstalling and reinstalling Lazarus with no effect. I am on the latest version. Suggestions are welcomed. Thanks. ---------------------------------------------------------------------- rvk · 2022-06-16 12:48 Check the settings under Editor > Display for Extra character spacing. Maybe you set it at 2. See attached image. ---------------------------------------------------------------------- linuxbob · 2022-06-16 13:18 Already checked that. Both extra spacing boxes are set to zero. ---------------------------------------------------------------------- Martin_fr · 2022-06-16 13:26 Choose a monospaced font for the editor. The editor can only display monospaced. If the font is not monospaced, the editor defines the mono-spaced-grid width as the width of the widest char it finds. The editor does not look at any attributes of the font. It always verifies a few chars to ensure the font is monospaced. Among those chars are W and M. But also the @ sign, which in many fonts is even wider than M or W. ---------------------------------------------------------------------- Martin_fr · 2022-06-16 13:27 You can set char-spacing to a negative value. Then your font may look more normal-ish. But some chars will overlap..... ---------------------------------------------------------------------- jcmontherock · 2022-06-16 15:11 Probably, your text is in UTF-16 encoded. ---------------------------------------------------------------------- rvk · 2022-06-16 15:43 Quote from: jcmontherock on June 16, 2022, 05:11:31 pmProbably, your text is in UTF-16 encoded. No, I think Martin was spot on. When you change to a proportionel font you get exactly this 'problem'/view. I also thought about UTF-16 encoding but if that was the case, the line-numbers in the gutter would display normally (which they don't). ---------------------------------------------------------------------- linuxbob · 2022-06-16 15:50 Thanks everyone for your input. Switching to a monospace font did the trick.