[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/svg-lib 6876d54 26/32: Fix `font-info` query format.
From: |
ELPA Syncer |
Subject: |
[elpa] externals/svg-lib 6876d54 26/32: Fix `font-info` query format. |
Date: |
Mon, 27 Sep 2021 16:57:50 -0400 (EDT) |
branch: externals/svg-lib
commit 6876d5433dd3d75ff70fbff93d88a701fb87c5d8
Author: Hyunggyu Jang <murasakipurplez5@gmail.com>
Commit: Hyunggyu Jang <murasakipurplez5@gmail.com>
Fix `font-info` query format.
From emacs info section, info:emacs#Fonts, font size should be prepended
with `-`, not `:`. The latter is to specify key-value pair.
This commit fixes a bug with font size specification per each SVG image
creation.
---
svg-lib.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/svg-lib.el b/svg-lib.el
index efaf7c5..30f3d65 100644
--- a/svg-lib.el
+++ b/svg-lib.el
@@ -222,7 +222,7 @@ and style elements ARGS."
(txt-char-width (window-font-width))
(txt-char-height (window-font-height))
- (font-info (font-info (format "%s:%d" font-family font-size)))
+ (font-info (font-info (format "%s-%d" font-family font-size)))
(ascent (aref font-info 8))
(tag-char-width (aref font-info 11))
(tag-char-height (aref font-info 3))
@@ -276,7 +276,7 @@ and style elements ARGS."
(txt-char-width (window-font-width))
(txt-char-height (window-font-height))
- (font-info (font-info (format "%s:%d" font-family font-size)))
+ (font-info (font-info (format "%s-%d" font-family font-size)))
(ascent (aref font-info 8))
(tag-char-width (aref font-info 11))
(tag-char-height (aref font-info 3))
@@ -347,7 +347,7 @@ and style elements ARGS."
(txt-char-width (window-font-width))
(txt-char-height (window-font-height))
- (font-info (font-info (format "%s:%d" font-family font-size)))
+ (font-info (font-info (format "%s-%d" font-family font-size)))
(ascent (aref font-info 8))
(tag-char-width (aref font-info 11))
(tag-char-height (aref font-info 3))
@@ -510,7 +510,7 @@ and style elements ARGS."
(box-width (* width txt-char-width))
(box-height (* height txt-char-height))
- (font-info (font-info (format "%s:%d" font-family font-size)))
+ (font-info (font-info (format "%s-%d" font-family font-size)))
(ascent (aref font-info 8))
(tag-char-width (aref font-info 11))
(tag-char-height (aref font-info 3))
- [elpa] externals/svg-lib 9115bf7 12/32: Fix string/array nil issue on windows, (continued)
- [elpa] externals/svg-lib 9115bf7 12/32: Fix string/array nil issue on windows, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib e66a2d0 17/32: Merge pull request #3 from chenyanming/fix-windows-string-or-array-nil-error, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 461c155 06/32: Update with new style, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib e2d2d68 10/32: Better screenshot, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 952016b 11/32: Fix tasks status, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib ebde091 22/32: Added progress pies, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib b67b120 30/32: Cosmetic changes, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 90bb561 18/32: Added tag example, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 0ce0302 19/32: Merge remote-tracking branch 'origin/master', ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 83834c6 20/32: Fix usage example in comment., ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 6876d54 26/32: Fix `font-info` query format.,
ELPA Syncer <=
- [elpa] externals/svg-lib 2cab1a0 29/32: Merge remote-tracking branch 'origin/master', ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib f9e1bbb 32/32: Fix some warnings, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 04fdd1a 08/32: Added svg-lib-concat function for org-mode demo, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib d9a49ac 14/32: Delete the redundant url checking, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 6ceae83 16/32: Change `svg-lib-icons-dir` default value, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib f775af4 21/32: Merge pull request #5 from 404cn/master, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 8427772 23/32: Merge remote-tracking branch 'origin/master', ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib 5c206f3 24/32: Remove hard coded image scaling factor, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib f0b2136 25/32: Merge pull request #7 from HyunggyuJang/remove-hard-image-scale, ELPA Syncer, 2021/09/27
- [elpa] externals/svg-lib e0423a2 27/32: Merge pull request #8 from HyunggyuJang/fix-font-info-query-format, ELPA Syncer, 2021/09/27