SynEdit: Can't Display True Type Fonts Correctly

921 views Asked by At

I've downloaded a SynEdit version from a Chinese website (with lots of improvements), but as the version on Sourceforge it doesn't support true-type fonts (such as Tahoma); it displays them separated with a space.

Anything I can do about this?

2

There are 2 answers

5
Eduardo Mauro On BEST ANSWER

SynEdit does not support variable-width fonts. Only fixed-width ones. Long time ago, when SynEdit was being developed actively such request was made by one user and rejected due the rewrite needed to support variable-width fonts. For this reason I dropped SynEdit from my toolbox. I now use Scintilla, a much better editor.

0
A.Bouchez On

You can also use a real editor like TRichView.

It supports every kind of font spacing, is written in Delphi, and handle Unicode efficiently (even with old Delphi versions).

You can use TRichView with syntax highlighting. There is some source code sample in http://www.trichview.com/resources

But TRichView is not free.