* Find the size of a glyph of a character @ 2021-01-30 21:06 Yuan Fu 2021-01-30 21:15 ` moasenwood--- via Users list for the GNU Emacs text editor 2021-01-31 3:32 ` Eli Zaretskii 0 siblings, 2 replies; 3+ messages in thread From: Yuan Fu @ 2021-01-30 21:06 UTC (permalink / raw) To: help-gnu-emacs I want to find out the size of the glyph of a character. If I know the font, I can use font-get-glyphs. So the real question is how can I find the font used for a particular character in a particular face? Thanks, Yuan ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Find the size of a glyph of a character 2021-01-30 21:06 Find the size of a glyph of a character Yuan Fu @ 2021-01-30 21:15 ` moasenwood--- via Users list for the GNU Emacs text editor 2021-01-31 3:32 ` Eli Zaretskii 1 sibling, 0 replies; 3+ messages in thread From: moasenwood--- via Users list for the GNU Emacs text editor @ 2021-01-30 21:15 UTC (permalink / raw) To: help-gnu-emacs Yuan Fu wrote: > I want to find out the size of the glyph of a character. > If I know the font, I can use font-get-glyphs. So the real > question is how can I find the font used for a particular > character in a particular face? Did you try `describe-face' and `describe-char'? First type, then `backward-char', then invoke... -- underground experts united http://user.it.uu.se/~embe8573 https://dataswamp.org/~incal ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Find the size of a glyph of a character 2021-01-30 21:06 Find the size of a glyph of a character Yuan Fu 2021-01-30 21:15 ` moasenwood--- via Users list for the GNU Emacs text editor @ 2021-01-31 3:32 ` Eli Zaretskii 1 sibling, 0 replies; 3+ messages in thread From: Eli Zaretskii @ 2021-01-31 3:32 UTC (permalink / raw) To: help-gnu-emacs > From: Yuan Fu <casouri@gmail.com> > Date: Sat, 30 Jan 2021 16:06:59 -0500 > > I want to find out the size of the glyph of a character. If I know the font, I can use font-get-glyphs. So the real question is how can I find the font used for a particular character in a particular face? Use font-at. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-31 3:32 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-01-30 21:06 Find the size of a glyph of a character Yuan Fu 2021-01-30 21:15 ` moasenwood--- via Users list for the GNU Emacs text editor 2021-01-31 3:32 ` Eli Zaretskii
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).