Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 29th, 2004   #1
.altan
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
OR
Code:
sudo chmod 777 /usr/share/scite/SciTEGlobal.properties
Options > Open Global Options File

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)
The anti-aliased fonts are enabled with the exclamation mark preceding each font name. Feel free to change the fonts, of course, if you don't like the default fonts. Just remember to put a ! before the name.
.altan is offline   Reply With Quote
Old November 7th, 2004   #2
gunnzi
First Cup of Ubuntu
 
Join Date: Oct 2004
Location: Denmark
Beans: 1
Ubuntu 6.06
Send a message via MSN to gunnzi
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
gunnzi is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:36 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry