![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2004
Beans: 2
|
HOWTO: Get anti-aliased fonts in SciTE
I almost threw up when I started to write a little bit of code in SciTE. The fonts, by default, are quite ugly and jagged.
To fix this and use the smooth fonts we've come to love, Code:
sudo scite Code:
sudo chmod 777 /usr/share/scite/SciTEGlobal.properties Scroll down to if PLAT_GTK on line 300 (there are many references to if PLAT_GTK, find the one on line 300 or if you've already edited your file [and maybe changed your line number] find the one where it refers to fonts. Paste this in its place: Code:
if PLAT_GTK font.base=font:!lucidatypewriter,size:12 font.small=font:!lucidatypewriter,size:10 font.comment=font:!new century schoolbook,size:12 font.code.comment.box=$(font.comment) font.code.comment.line=$(font.comment) font.code.comment.doc=$(font.comment) font.text=font:!times,size:14 font.text.comment=font:!lucidatypewriter,size:10 font.embedded.base=font:!lucidatypewriter,size:12 font.embedded.comment=font:!lucidatypewriter,size:12 font.monospace=font:!courier,size:12 font.vbs=font:!new century schoolbook,size:12 font.js=$(font.comment) |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() |
Re: HOWTO: Get anti-aliased fonts in SciTE
You can also just paste into the 'User Options' file. Works well for me, but then again if you have a multiuser computer the Global file is the best one to edit.
__________________
White Meadows and Scary Clouds |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|