Results 1 to 2 of 2

Thread: HOWTO: Get anti-aliased fonts in SciTE

  1. #1
    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.

  2. #2
    Join Date
    Oct 2004
    Location
    Denmark
    Beans
    1
    Distro
    Ubuntu 6.06

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •