Erik van Blokland 3646055ea2 initial import
git-svn-id: http://svn.robofab.com/trunk@1 b5fa9d6c-a76f-4ffd-b3cb-f825fc41095c
2008-01-07 17:40:34 +00:00

17 lines
296 B
Python
Executable File

#FLM: Fun with colours
from robofab.world import CurrentFont
myFont = CurrentFont()
myColour = 1
while 1:
for myChar in myFont:
myChar.mark = myColour
myColour = myColour + 1
if myColour == 256:
myColour = 1
myFont.update()
# mark: red=1, blue=170, green=80, magenta=210, cyan=130