cyrilcode / cyril

The Cyril programming language is designed for fast prototyping of visualisations and live coding visuals.
http://cyrilcode.com
Other
145 stars 21 forks source link

Changing text font and disabling scaling #27

Open miandovka opened 8 years ago

miandovka commented 8 years ago

Hi, I would like to find out where the code font is defined in the program. I think it could be a lot more aesthetically pleasing. I would also like an option to disable the scaling as that distracts from what is happening behind the code!

Thanks!

darrenmothersele commented 8 years ago

You'll need to look at ofxEditor for the scaling code.

Here's where the scale happens: https://github.com/darrenmothersele/ofxEditor/blob/master/src/EditorBuffer.cpp#L282

The font is defined here: https://github.com/cyrilcode/cyril/blob/master/src/cyrilApp.h#L69

I think I added a custom build step to move the Droid Mono font into the Resources folder?

miandovka commented 8 years ago

Thanks, i'll take a look at that :)