Archive for December, 2006

Coding Fonts in FlashDevelop

The default font for almost any programming editor is always Courier. The problem is that some characters aren’t easily differentiated. Letter L and number 1, and number zero and Uppercase O.

Courier and Tobi

I’ve downloaded a font called CodingFontTobi (created by Tobias Werner) which seems to be excellent for developing.
Here are some instructions to change it under Flashdevelop…
Edit the ScintillaNET.xml under Flashdevelop/Settings folder:

Update for version 3 (still in Beta) [Thanks Panagiotis]
C:\Documents and Settings\yourUserName\Local Settings\Application Data\FlashDevelop\Settings


Here’s mine:
C:\Program Files\FlashDevelop\Settings\ScintillaNET.xml
(in bold the changes I’ve made)

<?xml version="1.0" encoding="iso-8859-1"?>
<Scintilla xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<includes>
<include file="@APPDIRSettingsLanguagesAS2.xml" />
<include file="@APPDIRSettingsLanguagesCSS.xml" />
<include file="@APPDIRSettingsLanguagesHTML.xml" />
<include file="@APPDIRSettingsLanguagesJScript.xml" />
<include file="@APPDIRSettingsLanguagesText.xml" />
<include file="@APPDIRSettingsLanguagesXML.xml" />
</includes>
<globals>
<value name="default-fore">0x000000</value>
<value name="default-back">0xffffff</value>
<value name="default-font">Courier New</value>
<value name="default-font-size">11</value>
<value name=”default-selection-fore”>0xffffff</value>
<value name=”default-selection-back”>0×000000</value>
<value name=”default-caretline-back”>0xececec</value>
<value name=”default-caret-fore”>0×000000</value>
<value name=”proggy-font”>CodingFontTobi</value>
</globals>
<style-classes>
<style-class name=”default” fore=”default-fore” back=”default-back” size=”default-font-size” font=“proggy-font” />
<style-class name=”gdefault” fore=”default-fore” back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”bracebad” fore=”default-fore” back=”default-back” size=”default-font-size” font=”default-font” bold=”true” />
<style-class name=”bracelight” fore=”0×0000cc” back=”0xcdcdff” size=”default-font-size” font=”default-font” bold=”true” />
<style-class name=”controlchar” fore=”0xffffff” back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”indentguide” fore=”0xc0c0c0″ back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”linenumber” fore=”0×666666″ back=”default-back” size=”default-font-size” font=”default-font” />
<style-class name=”lastpredefined” fore=”default-fore” back=”default-back” size=”default-font-size” font=”default-font” />
</style-classes>
</Scintilla>

You’ll have to copy the font to the windows/fonts directory.
You can also add it to your favourite editor.
Here’s a preview of the font:

CodingFontTobi

3 comments December 30th, 2006

Welcome…

…to my blog. I’ll be posting mostly about flash development, but I will also write about anything else. I hope this blog will help anyone out and not become “just another flash blog“.

Add comment December 30th, 2006


Calendar

December 2006
M T W T F S S
    Jan »
 123
45678910
11121314151617
18192021222324
25262728293031

Posts by Month

Posts by Category