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

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

bug#20872: 24.5; add-face-text-property doesn't work for :height


From: Oleh Krehel
Subject: bug#20872: 24.5; add-face-text-property doesn't work for :height
Date: Mon, 22 Jun 2015 17:30:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Wolfgang Jenkner <address@hidden> writes:

> A float as value of the :height attribute works as a scaling factor, see
> `set-face-attribute'.  So, IIUC, the following would work
>
> (add-face-text-property 0 (length asdf) `(:height ,(/ 1 1.2)) nil asdf)

Genius! This actually works. Thanks a lot.





reply via email to

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