Editor & font ?? lazarus / 9-Editor ---------------------------------------------------------------------- anta40 · 2007-07-08 06:02 Recently, I build Lazarus 0.9.22-1 using command line FPC 2.1.4 on XP. I notice that if I use font any other than Bitstream Vera Mono, the distance between fonts is pretty wide. Example : Verdana (http://img181.imagevenue.com/loc230/th_74176_verdana_122_230lo.jpg) Courier New (http://img15.imagevenue.com/loc970/th_74177_couriernew_122_970lo.jpg) Bitstream Vera Mono does the job nicely (http://img182.imagevenue.com/loc194/th_74182_bsm_122_194lo.jpg) Any suggestion ? ---------------------------------------------------------------------- antonio · 2007-07-08 16:09 SynEdit supports monospace fonts only. ---------------------------------------------------------------------- Marc · 2007-07-09 09:25 Its not really a synedit problem, but more generic. For varying width fonts the concept of columns is useless. ---------------------------------------------------------------------- anta40 · 2007-07-09 17:53 Ah I see. Bitstream Vera Mono is pretty nice actually, but its right brace is a bit slashed. Do you know any other font which as nice as Bitstream Vera Mono ? BTW, why don't Lazarus use Scintilla, not SynEdit ?  :lol: ---------------------------------------------------------------------- Marc · 2007-07-10 14:42 since when lazarus started only the predecessor of SynEdit was available. ---------------------------------------------------------------------- felipemdc · 2007-07-10 15:06 Quote from: "anta40"BTW, why don't Lazarus use Scintilla, not SynEdit ?  :lol: I googled and Scintilla doesn't use LCL or VCL as a base and is written in c++ I just doesn't fit into what we expect for Lazarus. By using a component based on LCL we make sure it runs everywhere that LCL runs, not to mention we add value to LCL itself by having a good component for it. ---------------------------------------------------------------------- N-drew · 2007-09-24 08:09 Your problem is better than mine... You can see the fonts. Watch THIS! Do you see? Te cursor is next to the last 'f', but the 'f' isn't there. But I'd selected a font HERE, and it jumped to the cursor. I've tried many options, restart my computer, many fonts, etc., the original fonts too, but I couldn't find the solution. Can anyone help me? Many thanx! ---------------------------------------------------------------------- Vincent Snijders · 2007-09-24 08:54 N-drew, what font do you use? It doesn't look like a fixed width font. ---------------------------------------------------------------------- bee · 2007-09-24 09:00 Lazarus editor is a program/code editor, not a word processor. Please use monospace fonts only, not just on Lazarus, but also on any other program/code editors. Some programmers even prefer bitmap font (fixedsys, courier, etc) for better code clearance. Monospace fonts is just good for programmers, especially for their eyes. That's why SynEdit only supports monospace fonts in the first place. ---------------------------------------------------------------------- Vincent Snijders · 2007-09-24 09:05 There are ideas to add support for variable width fonts, but don't expect this soon: http://www.freepascal.org/mantis/view.php?id=9650 ---------------------------------------------------------------------- N-drew · 2007-09-24 09:18 Thanx, the fixed fonts work. This font on the pictures isn't monospace. ---------------------------------------------------------------------- Zaher · 2007-09-24 12:09 Without Fixed font we get crazy if write Right To Left language, I prefer not to use variable width fonts in the future. ---------------------------------------------------------------------- Vincent Snijders · 2007-09-24 12:11 Of course, you won't be forced to do so :-).