[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTML-Info design
From: |
Lars Ingebrigtsen |
Subject: |
Re: HTML-Info design |
Date: |
Mon, 29 Dec 2014 17:32:52 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> Fortunately, such a capability already exists, I think: see the
> function 'font-get-glyphs'. Does it solve your problem? If not, what
> API would you like to have?
I've just looked at the doc string of that function briefly, and I'm not
sure how I would use that to do filling. I need to know the width a
text will take in the buffer, so that I know when to break the line and
start a new one. Is it now possible to write a function like
`pixel-region-width' that would say how much space the text will occupy?
Given that the font used for that text is variable-width (and the region
possibly uses many fonts). If that's possible, I'm all for moving eww
to use a proportional font by default.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Re: HTML-Info design, (continued)
- Re: HTML-Info design, Ivan Shmakov, 2014/12/29
- Re: HTML-Info design, Eli Zaretskii, 2014/12/29
- Re: HTML-Info design, Lars Ingebrigtsen, 2014/12/29
- Re: HTML-Info design, Stefan Monnier, 2014/12/29
- Re: HTML-Info design, Ivan Shmakov, 2014/12/29
- Re: HTML-Info design, Stefan Monnier, 2014/12/29
- Re: HTML-Info design, Eli Zaretskii, 2014/12/29
- shr: tables, Ivan Shmakov, 2014/12/29
- Re: HTML-Info design, Yuri Khan, 2014/12/29
- Re: HTML-Info design, Eli Zaretskii, 2014/12/29
- Re: HTML-Info design,
Lars Ingebrigtsen <=
- Re: HTML-Info design, Yuri Khan, 2014/12/29
- Re: HTML-Info design, Eli Zaretskii, 2014/12/29
- Re: HTML-Info design, Richard Stallman, 2014/12/29
- Re: HTML-Info design, Juri Linkov, 2014/12/29
- Re: HTML-Info design, Richard Stallman, 2014/12/28
- Re: HTML-Info design, Nic Ferrier, 2014/12/28
- Re: HTML-Info design, Eli Zaretskii, 2014/12/28
- Re: HTML-Info design, Stefan Monnier, 2014/12/29
- Re: HTML-Info design, Richard Stallman, 2014/12/29
- Re: HTML-Info design, Juri Linkov, 2014/12/28