Hi Jens,
I’m having an issue exporting fonts with Robochrome. I downloaded the latest (0.7.3) through Mechanic and I’m running Robofont 3.3 (1911061105) on Mojave (10.14.3).
After adding a color palette (the default black and black again at 50%) and assigning color layers to base glyphs, I exported a standard OTF with Robofont and then tried generating a SVG.
Robochrome stalls at Rendering SVG and I get the traceback:
Exporting SVG format with palette 1 ...
Traceback (most recent call last):
File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/vanilla/vanillaBase.py", line 500, in action_
self.callback(sender)
File "RoboChrome.py", line 170, in _choose_file_to_export
File "RoboChrome.py", line 180, in _export_to_font
File "/Users/vc/Library/Application Support/RoboFont/plugins/RoboChrome.roboFontExt/lib/colorfont/init.py", line 346, in export_to_otf
self._export_svg(otfpath, palette_index, parent_window)
File "/Users/vc/Library/Application Support/RoboFont/plugins/RoboChrome.roboFontExt/lib/colorfont/init.py", line 428, in export_svg
red = int(palette[i][1:3], 16)
TypeError: 'NSCachedColorSpaceColor' object is not subscriptable
Traceback (most recent call last):
File "lib/doodleDelegate.pyc", line 95, in sendEvent
File "/Applications/RoboFont.app/Contents/Resources/lib/python3.7/vanilla/vanillaBase.py", line 500, in action
self.callback(sender)
File "RoboChrome.py", line 170, in _choose_file_to_export
File "RoboChrome.py", line 180, in _export_to_font
File "/Users/vc/Library/Application Support/RoboFont/plugins/RoboChrome.roboFontExt/lib/colorfont/init.py", line 346, in export_to_otf
self._export_svg(otfpath, palette_index, parent_window)
File "/Users/vc/Library/Application Support/RoboFont/plugins/RoboChrome.roboFontExt/lib/colorfont/init.py", line 428, in _export_svg
red = int(_palette[i][1:3], 16)
TypeError: 'NSCachedColorSpaceColor' object is not subscriptable
Do you have any clues on fixing this?
Thanks so much.
![Screen Shot 2020-02-26 at 11 54 09 am](https://user-images.githubusercontent.com/23010824/75301380-c1e78f80-588e-11ea-9faa-246a05fbb6de.png)