diff options
| author | Martin Haug <mhaug@live.de> | 2021-06-10 23:08:52 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-06-10 23:15:51 +0200 |
| commit | c28708aa196eaca247cdab6b5e8af9751b4f1dad (patch) | |
| tree | e390e84d1a7a1eb2789680a39141c804ff3f85a1 /src/library/font.rs | |
| parent | 5611c26577c4cf6d52b9b66b7b1a32253aa23ec1 (diff) | |
Text decorations
Diffstat (limited to 'src/library/font.rs')
| -rw-r--r-- | src/library/font.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/font.rs b/src/library/font.rs index b3b037cd..a3fe6c13 100644 --- a/src/library/font.rs +++ b/src/library/font.rs @@ -99,7 +99,7 @@ pub fn font(ctx: &mut EvalContext, args: &mut FuncArgs) -> Value { } if let Some(color) = color { - ctx.state.font.color = Fill::Color(color); + ctx.state.font.fill = Fill::Color(color); } if let Some(FontFamilies(serif)) = &serif { |
