Omikhleia / ptable.sile

Paragraph boxes, framed boxes and table packages for the SILE typesetting system
MIT License
10 stars 2 forks source link

fix: Stop defaulting to black in framebox package #17

Closed Omikhleia closed 7 months ago

Omikhleia commented 7 months ago

The framebox package defaults to black when some color arguments to commands are not specified. It should not be the case, in order to just use the default/current color at that point.

The issue also has to do with our DefaultPainter having a slightly different API than the RoughPainter: the latter admits "none" as a fill or stroke, wheras the former did not. Let's make a first attempt at homogenizing the low-level APIs there.