Re: Fonts Issues
Dušan Peterc <[email protected]> Thu, 9 Dec 2010 20:51:48 +0100
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Mike, On Thu, Dec 9, 2010 at 10:57 AM, Mike B. <[email protected]> wrote: > 1. Nedit does not show many of the fonts installed on my machine. How can I > make Nedit aware of them?. > If those fonts are antialiased, true type fonts, then you can't. Otherwise you need to check font path of your Xorg file and add more fonts. You can use command xlsfonts to check which fonts does your X server see. > 2. The legibility of fonts both in the menus and in the text editing region > is quite poor compared to gedit. Is it possible to improve this?. Does Nedit > support anti-aliased fonts?. > Nedit does not support antialiased fonts. An newer version of Motif toolkit, OpenMotif, does support antialiased fonts. So if you use newer version of OpenMotif, for example, 2.3, you can have antialiased fonts in the menu text. This can be accomplised by simple resource setting, without even recompiling it. nedit -xrm "*renderTable: rt" -xrm "*rt*fontType: FONT_IS_XFT" -xrm "*rt*fontName: Sans" -xrm "*rt*fontSize: 10" But not in the main window, because nedit does not use Motif text widget (so font traits are not inherited), but its own customized text display widget. This would need to be substantially rewritten in order to support UTF8 and XFT antialiased fonts. Active developers did not show a lot of interest for this topic, when I raised it a couple of years ago. Some because of dislike of OpenMotif, some because they use older platforms, where OpenMotif is not available, or has license issues. Maybe this will change, as Linux and OSX will stay as the only remaining platforms. Best regards, Dušan Peterc http://www.arahne.si -- NEdit Discuss mailing list - [email protected] http://www.nedit.org/mailman/listinfo/discuss