Re: [dev] [PATCH] Make w3mimgdisplay work with st

From: Amadeusz Sławiński <amade_AT_asmblr.net>
Date: Sat, 11 Jan 2014 12:54:36 +0100

On Sat, 11 Jan 2014 12:35:19 +0100
"Roberto E. Vargas Caballero" <k0ga_AT_shike2.com> wrote:

> > Before this patch draw() calls drawregion which calls xdraws and
> > then updates whole window in one call thus overdrawing anything
> > drawn by w3mimgdisplay. After moving XCopyArea to xdraws it only
> > updates the regions which are being updated by XftDraw* functions.
> > It may do a few more calls to XCopyArea with this patch, but I
> > haven't noticed any side effects.
>
> I have noticed one. I get the large letters (g, j, y) cut in the
> botton part with with my font configuration ([0]).
>
> Regards,
>
> [0] "Liberation Mono:pixelsize=14:antialias=false:autohint=false"

I changed how height of region to update is being calculated, it should
work properly now.

Amadeusz
Received on Sat Jan 11 2014 - 12:54:36 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 11 2014 - 13:00:07 CET