Re: Font resizing when changing default font `:height`

Stefan Monnier via Users list for the GNU Emacs text editor <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
> I use those faces to insert text in a buffer with `propertize`:
>
>     (insert (propertize "Hello, World!" 'face 'my-custom-face))

Note: if font-lock is enabled in the current buffer, the `face` property
of the string will be removed right after inserting it into the buffer
(and replaced by whatever the font-lock rules decide it should have).

Maybe that's the reason for what you're seeing?


=== Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.