help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The right way to use svg?


From: Lars Ingebrigtsen
Subject: Re: The right way to use svg?
Date: Thu, 09 Sep 2021 16:53:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Zhiwei Chen <condy0919@gmail.com> writes:

>   (svg-text svg text
>             :x           0
>             :y           (- h 4) ;; Why 4 here?
>             :fill        "black")

I think I vaguely remember texts using a default anchor of "middle"?  So
perhaps you want

  :text-anchor "top"

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

[Prev in Thread] Current Thread [Next in Thread]