Best posts made by djrrb
Latest posts made by djrrb
RE: Markdown syntax for FormattedString?
I hope you don’t mind me reviving this...I’ve been trying to work with @frederik’s gist from march, and cannot seem to get beyond this error after installing markdown using the package manager. Usually I would just ascribe this to my weird python setup, but since Drawbot is its own self-contained universe, I wonder if there is something obvious I am missing?
Drawbot Version 3.126, MacOS 10.15.7 (19H2)
Traceback (most recent call last): File "<untitled>", line 72, in <module> File "<untitled>", line 14, in appendMarkdown File "/Users/david/Library/Application Support/DrawBot/Python3.7/markdown/__init__.py", line 29, in <module> File "/Users/david/Library/Application Support/DrawBot/Python3.7/markdown/core.py", line 27, in <module> File "/Users/david/Library/Application Support/DrawBot/Python3.7/markdown/preprocessors.py", line 29, in <module> File "/Users/david/Library/Application Support/DrawBot/Python3.7/markdown/htmlparser.py", line 31, in <module> AttributeError: 'zipimport.zipimporter' object has no attribute 'exec_module'
RE: Color fonts: “Create Outlines”, changing palettes
@robstenson Wow!! This works perfectly for me.
Of course it would be cool to see something like these solutions worked into the drawbot API, but this solves my problem. Thanks so much!
Color fonts: “Create Outlines”, changing palettes
I realize this is a pretty niche request, but I found it interesting so I figured I’d share it. Perhaps there is even a way of doing this already?
Normally, to convert text into outlines I would use a
BezierPathobject with a text method, but this doesn’t help me with a
COLR/CPALcolor font because the color information is lost to the monochromatic
BezierPathobject. Is there another way of converting text to a series of differently-colored paths?
I would also love to access alternative color palettes stored in the
CPALtable, as well as to designate my own (as was requested here: https://twitter.com/bicvudesign/status/1058063097485803520). Maybe this requires us to wait for OS support, but I figured I’d mention it in case you were interested in pursuing.
As always, thanks again for all your work on this amazing tool!