Go Down

Topic: The IDE and the font. (Read 11 times) previous topic - next topic

lost_and_confused

Ooops.


In another post I was complaining about how lower case L and the number ONE look the same.
Usually capitol I has the same problem.

I was shown how to change the font and I did.

While doing this I thought to myself:  "Make a backup" but as my mind set was in Arduino mode, there is no way of making commented lines.

So I couldn't/didn't.

I changed for font and it sort of worked.
There is a subtle difference between l and 1 which may be enough, but the rest of the formatting is now kaput.
a line of /'s becomes a bit fuzzy, and "ASCII art"/logos/headers what ever, become corrupt.

I changed two lines with the word FONT in them.  One near the top and one a bit further down.
I was looking for editorfont and changed the first one I saw.

I like the "Times new roman" font, and tried that.

It works, but as said other problems happen and so I may have to put up with the horrible original font.
But what is/was it?

Please.



editor.font.macosx=Times,12
preproc.web_colors=true
export.application.platform=true
update.check=true
update.id=6461665999815212812
editor.indent=true
serial.stopbits=1
serial.databits=8
editor.font=Times,plain,12
editor.window.height.default=600



westfw

"Monospaced" is the default, I believe.  You should be able to just delete that line from the preferences and have it default to the default, so to speak.  I think.

You really want a Fixed-Width font for coding (like Courier, and NOT like Times.)  There have been some articles about this, for example: http://hivelogic.com/articles/top-10-programming-fonts/

I believe that there are also complaints about the way the IDE renders fonts; not doing smoothing, or somesuch.  I tried some of the fonts mentioned in the article above on my mac, and they didn't look very good.

Osgeld

you can change font smoothing options in preferences.txt

editor.antialias=false

eried

My website: http://ried.cl

dxw00d

You have to use the full name of of the font. If it's called Times New Roman, then that is what you need to put in the editor.font entry.

gardner

You might consider using this font: http://store1.adobe.com/cfusion/store/html/index.cfm?store=OLS-US&event=displayFontPackage&code=1960
It's free/open source, monospace and has good disambiguation of 0/o/O and 1/l/I -- well suited to coding.

Graynomad

I use DejaVu Sans Mono, it's pretty nice with a dot in the centre of the 0 so it's real easy to tell from a O.



______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

THOR-00

Hi!
Well I tried to change font in this file but it does not work.
I use this version: Arduino 1.5.6-r2 BETA (with support for Arduino Yún and Arduino Due boards).
Any suggestions why it does not work?

RageSmirk

Go to preferences.txt, close the Arduino software. And make these changes:

Code: [Select]
editor.antialias=true
editor.font=Consolas,plain,14

plwt

@ RageSmirk:  :) :) :),  very clear,  good advice !

Go Up