[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/svg-lib f88d5792ae 1/2: Fix bug reading stroke width fr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/svg-lib f88d5792ae 1/2: Fix bug reading stroke width from existing face |
Date: |
Tue, 9 Jan 2024 18:58:38 -0500 (EST) |
branch: externals/svg-lib
commit f88d5792aeb0adcf3f53d87d533c0e62f07a637a
Author: Amit Patel <redblobgames@gmail.com>
Commit: GitHub <noreply@github.com>
Fix bug reading stroke width from existing face
When svg-lib-style-from-face runs on a face with a box line-width, the
resulting stroke is "stroke" instead of the number
---
svg-lib.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/svg-lib.el b/svg-lib.el
index f5e823716e..269344786d 100644
--- a/svg-lib.el
+++ b/svg-lib.el
@@ -309,7 +309,7 @@ If COLOR-NAME is unknown to Emacs, then return COLOR-NAME
as-is."
(stroke (or (plist-get (face-attribute face :box) ':line-width)
nil))
(style `(:background ,background
:foreground ,foreground
- ,@(when stroke `(:stroke stroke))
+ ,@(when stroke `(:stroke ,stroke))
:font-family ,font-family
:font-size ,font-size
:font-weight ,font-weight))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/svg-lib f88d5792ae 1/2: Fix bug reading stroke width from existing face,
ELPA Syncer <=