drawbot icon indicating copy to clipboard operation
drawbot copied to clipboard

Results 131 drawbot issues
Sort by recently updated
recently updated
newest added

Hey all! I need to make some internal links in a PDF, and I've tried the example for `linkRect`. I've found it a bit confusing. So I edited it a...

fixing #487 still todo: add test!

```python box = (408, 344, -386, 460) rect(*box) font("Arial") fontSize(70) fill(1, 0, 0) # white hyphenation(False) textBox("Hello there hyphenation there Type Media people.", box, align="justified") ```

If an fvar axis uses a nameID that isn't in the name table, `CoreText.kCTFontVariationAxisNameKey` isn't in the description dict; fall back to the tag. This fixes #485

When trying to use a variable font, I get the following error: `KeyError: 'NSCTVariationAxisName'` Repro font: [Inter.var.ttf.zip](https://github.com/typemytype/drawbot/files/9737669/Inter.var.ttf.zip) Repro script: ```py fill(1,1,1) rect(0, 0, width(), height()) fill(0,0,0) t = FormattedString( font="Inter.var.ttf",...

hey all! I am not sure if this is a bug or not, but I just discovered that this snippet: ``` fontSize(0) text("hello", (100, 100)) ``` does not leave the...

What do the blend modes `clear`, `copy`, `sourceIn`, `sourceOut`, `sourceAtop`, `destinationOver`, `destinationIn`, `destinationOut`, `destinationAtop`, `xOR`, `plusDarker`, `plusLighter` actually do? Not anything, as per my testing: ``` blend_modes = ['normal', 'multiply',...

hey all! let's take the following example: ```python3 from drawBot as dB dB.newDrawing() dB.newPage(1000, 1000) dB.font("RobotoFlex[GRAD,XOPQ,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght].ttf") dB.text("hello", (100, 100)) dB.saveImage("hello.pdf") dB.endDrawing() ``` it works fine both in the app and...