[Top][All Lists]

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

Re: Variable pitch text filling

From: Eli Zaretskii
Subject: Re: Variable pitch text filling
Date: Sat, 04 Dec 2021 09:45:48 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: Lars Ingebrigtsen <larsi@gnus.org>,  tumashu@163.com,
>  casouri@gmail.com,  emacs-devel@gnu.org
> Date: Sat, 04 Dec 2021 08:35:00 +0800
> Eli Zaretskii <eliz@gnu.org> writes:
> > That'd be much slower, I guess?  For each such separate glyph we need
> > first clear the background with the color of the face, then draw the
> > glyph itself.  Right now, we clear the background for all of the
> > glyphs in one GUI call, then write all of the glyphs in a single call
> > to the font driver.
> Every decent font system has the ability to specify glyph advances
> manually.
> Perhaps we could extend the font driver's draw function with another
> `advance' parameter that specifies the width of each glyph?

If you find a way of doing that with the main font drivers we have on
all the supported platforms, I don't see why not.

reply via email to

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