Add fonts to Spyder

1,686 views
Skip to first unread message

Jason

unread,
Oct 7, 2013, 4:41:53 PM10/7/13
to spyd...@googlegroups.com
Hi everyone,
I would like to use fonts in the Editor that don't appear on the list. How can I add fonts to Spyder?
My font is large so I want to use fonts that are thin like Segoe UI or Calibri as opposed to fixed with ones like Consolas.
Best,
Jason

Carlos Córdoba

unread,
Oct 7, 2013, 4:51:02 PM10/7/13
to spyd...@googlegroups.com
Hi Jason,

Unfortunately those fonts are not monospaced (i.e. fonts in which every
character has the same width) and that's why you can't select them.

If you want other fonts for the Editor, you need to download and install
a monospaced one suitable to your needs. I recommend you to take a look
at "Source Code Pro" or "Ubuntu Mono" (both of which are free).

Cheers,
Carlos

El 07/10/13 15:41, Jason escribió:
> --
> You received this message because you are subscribed to the Google
> Groups "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to spyderlib+...@googlegroups.com.
> To post to this group, send email to spyd...@googlegroups.com.
> Visit this group at http://groups.google.com/group/spyderlib.
> For more options, visit https://groups.google.com/groups/opt_out.

Jason

unread,
Oct 7, 2013, 6:03:38 PM10/7/13
to spyd...@googlegroups.com
Hi Carlos,
I realize they aren't monospaced, but I don't really care about things lining up.
Is there anyway to get Spyder Editor to work with non-monospaced fonts?
Thank you for the font suggestions.
Best,
Jason

Jason

unread,
Oct 7, 2013, 6:03:50 PM10/7/13
to spyd...@googlegroups.com

Carlos Córdoba

unread,
Oct 7, 2013, 6:26:10 PM10/7/13
to spyd...@googlegroups.com
Sorry, there isn't any way to use other fonts. Besides, that will break several features of the Editor and most probably will make Python code unreadable (because Python depends on indentation to define blocks of code).

I know monospaced fonts aren't the most beautiful ones but that's what programmers have to live with :-)

Cheers,

Jason

unread,
Oct 8, 2013, 3:34:22 AM10/8/13
to spyd...@googlegroups.com

Most editors support variable width fonts. I don't think changing the font would ever affect the interpreter, even if it uses indentation. The change would be purely cosmetic. Is there a technical reason that the Spyder editor doesn't support them?
Reply all
Reply to author
Forward
0 new messages