GNU bug report logs -
#76107
Consider image specs when scanning for a column
Previous Next
Reported by: Thuna <thuna.cing <at> gmail.com>
Date: Thu, 6 Feb 2025 23:30:02 UTC
Severity: wishlist
Tags: patch
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Cc: 76107 <at> debbugs.gnu.org
> Date: Thu, 20 Mar 2025 22:46:11 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
>
> > From: Thuna <thuna.cing <at> gmail.com>
> > Cc: 76107 <at> debbugs.gnu.org
> > Date: Thu, 20 Mar 2025 18:14:35 +0100
> >
> > >> So far, I have only had two related issues: The width calculation is
> > >> incorrect when dealing with characters which are not full-sized (they
> > >> are being calculated as though they were full-sized)
> > >
> > > Sorry, I don't understand: is this due to my patch? My patch isn't
> > > supposed to touch the case of characters, only that of inline images.
> > > Was this problem present before my patch? If not, can you show an
> > > example of it?
> >
> > No, sorry, I didn't mean to imply that. This was happening before as
> > well, but it's similar enough, so I figured I would bring it up in case
> > a small tweak is enough to fix it.
>
> Ah, okay. But in that case, this is the intended behavior:
> current-column disregards the pixel size of the characters, and counts
> each character as one column regardless of its size on display.
>
> > > Hmm... you say "there is an image from line start to point", but in
> > > the example you show the image is not at the beginning of a line. Did
> > > I misunderstand what you are describing?
> >
> > I was referring to an image being present somewhere in the line before
> > the point, but the patch seems to have fixed it, so that's fine.
>
> OK, then the one-line addition to the patch that I sent should solve
> this.
Did you have an opportunity to test the fixed code? If there are no
problems with it you could report, I'd like to install the change.
Thanks.
This bug report was last modified 48 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.