diff options
author | JSDurand <mmemmew@gmail.com> | 2023-08-23 01:52:23 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2023-08-23 01:52:23 +0800 |
commit | 5cf6dbe0752967347955f5cfbf461b2a9d3c5ec6 (patch) | |
tree | 0357700c51013acb3a316333af42a57e09e51d60 /account.el | |
parent | 19e3ddf0acdd73011f78ece6f99b5a0c850bd347 (diff) |
account: fix white background of svg
* account.el (account-agenda-export-to-svg): The original exported SVG
image did not specify the background color. Then the browser
displays the image with a white background, but Emacs regards the
background of the image as transparent. Since I use a dark
background color in Emacs, the displayed image did not look right.
So I add a white circle with large radius in the background to force
the background color to be white, and it now looks a lot better.
Diffstat (limited to 'account.el')
-rw-r--r-- | account.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -706,6 +706,10 @@ the displayed information.") (index 0) (start 0) (svg (svg-create 800 700 :stroke-width 10))) + (svg-circle + svg + 400 350 1000 + :fill-color "white") (mapc (lambda (cell) (setq start (+ (* block-width index) 10)) |