diff options
| author | Birk Tjelmeland <git@birktj.no> | 2023-04-13 16:05:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-13 16:05:56 +0200 |
| commit | d1cd814ef8149cbac6e59c81e074aa59c930eed3 (patch) | |
| tree | 02b9a8afed4d121b34d89669452f91cda19df8e2 /library/src/text | |
| parent | 46ce9c94e3f615751989d3cba5aa1599e0ba5913 (diff) | |
Add support for more complex strokes (#505)
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/deco.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/src/text/deco.rs b/library/src/text/deco.rs index 79917641..ab89e6b5 100644 --- a/library/src/text/deco.rs +++ b/library/src/text/deco.rs @@ -271,6 +271,7 @@ pub(super) fn decorate( let stroke = deco.stroke.clone().unwrap_or(Stroke { paint: text.fill.clone(), thickness: metrics.thickness.at(text.size), + ..Stroke::default() }); let gap_padding = 0.08 * text.size; |
