Subject: Re: bug#55207: 29.0.50; tab-bar-format-align-right only works correctly with monospace characters

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 01 May 2022 20:01:59 +0200

Juri Linkov <[email-masked]> writes:

> Thanks for the bug report.  Indeed the property :align-to
> in tab-bar-format-align-right fails to align to the proper width
> when using a variable pitch font.  Unfortunately, I have no idea
> how to fix this.

I am completely unfamiliar with how the tar bar works, but -- can't you
just measure the widths of the elements with string-pixel-width or the
like and use that to compute the alignments?

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