bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#44284: 27.1; with some Unicode font, scrolling upward with the mouse


From: Eli Zaretskii
Subject: bug#44284: 27.1; with some Unicode font, scrolling upward with the mouse wheel actually scrolls downward when the cursor needs repositioning
Date: Sat, 07 Nov 2020 10:29:17 +0200

> Date: Sun, 01 Nov 2020 20:47:04 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 44284@debbugs.gnu.org
> 
> > Alternatively, Emacs could use some heuristic: if extents.y_bearing
> > is very close to an integer, assume that it should be this integer.
> > This is rather ugly as this might yield unexpected results in some
> > applications, but would this be OK in Emacs?
> 
> It would be okay, I think: we have a few kludgey workarounds for
> similar issues in other libraries.
> 
> I thought about something like using ceil (VALUE - 1/128) or maybe
> even 1/256, on the assumption that the original integer value cannot
> be of a greater granularity (the non-Cairo code uses 1/64).

No further comments, so I pushed such a fix to the master branch, and
I'm closing this bug report.  Many thanks for your help in debugging
this problem.





reply via email to

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