SynEdit:无法正确显示 True Type 字体
我从一个中文网站下载了一个SynEdit版本(有很多改进),但是作为Sourceforge上的版本,它不支持true-type字体(例如Tahoma);它显示它们并用空格分隔。
对此我能做些什么吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
SynEdit 不支持可变宽度字体。仅限固定宽度的。很久以前,当 SynEdit 正在积极开发时,一位用户提出了这样的请求,但由于需要重写以支持可变宽度字体而被拒绝。出于这个原因,我从我的工具箱中删除了 SynEdit。我现在使用 Scintilla,一个更好的编辑器。
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.
您还可以使用 TRichView 等真正的编辑器。
它支持各种字体间距,用 Delphi 编写,并有效处理 Unicode(即使使用旧的 Delphi 版本)。
您可以将 TRichView 与语法突出显示一起使用。 http://www.trichview.com/resources 中有一些源代码示例,
但 TRichView 不是自由的。
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.