emacs-devel
[Top][All Lists]
Advanced

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

Re: Pixel-based display functions


From: Lars Ingebrigtsen
Subject: Re: Pixel-based display functions
Date: Thu, 05 Feb 2015 15:17:29 +1100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Ok, back in Sydney again and trying to make this work.

The function for moving to a char near a specific pixel was suggested as 

      (vertical-motion (cons (/ PIXELS (frame-char-width)) 0))

right?  That won't work, since `frame-char-width' apparently does its
calculation based on "On a graphical screen, the width is the standard
width of the default font.", and we have lots of different fonts in the
buffer.

So is there some other way of (quickly) going to a pixel position that
I've missed?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




reply via email to

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