Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-31 Thread NRK
On Tue, Aug 30, 2022 at 10:47:46PM +0200, Storkman wrote: > but more generally, > the "set of fonts covering as wide variety of code-points as possible" > ...is just the set of all installed fonts, isn't it? Not entirely. Let's say a system has 3 fonts installed: A, B and C. A and B both *only*

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread Storkman
On Tue, Aug 30, 2022 at 10:23:44PM +0600, NRK wrote: > On Tue, Aug 30, 2022 at 05:36:31PM +0200, Hiltjo Posthuma wrote: > > " > > The font fallback in dwm and dmenu is handled via libsl (i.e drw.c) and > > it's a huge mess [0]. > > > > The way it works is also very inefficient (it calls

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread Laslo Hunhold
On Tue, 30 Aug 2022 22:23:44 +0600 NRK wrote: Dear NRK, > The "proper" way (IMO) would be to build up a list of fonts which > would be capable of representing as many code-points available in the > system *right at startup* - instead of checking each unknown > code-point as we go. > > This way

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread NRK
On Tue, Aug 30, 2022 at 05:36:31PM +0200, Hiltjo Posthuma wrote: > " > The font fallback in dwm and dmenu is handled via libsl (i.e drw.c) and > it's a huge mess [0]. > > The way it works is also very inefficient (it calls XftFontMatch() for > every single "unknown" code-point). The `nomatches`

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread Hiltjo Posthuma
On Tue, Aug 30, 2022 at 09:11:03PM +0600, NRK wrote: > On Tue, Aug 30, 2022 at 04:50:14PM +0200, Hiltjo Posthuma wrote: > > Then write a patch to improve it instead of whining about it. > > The topic was font fallback; I adviced not to replicate drw, explained > my reasoning why, and then adviced

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread NRK
On Tue, Aug 30, 2022 at 04:50:14PM +0200, Hiltjo Posthuma wrote: > Then write a patch to improve it instead of whining about it. The topic was font fallback; I adviced not to replicate drw, explained my reasoning why, and then adviced to look into ST instead. I don't see any whining. - NRK

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread Hiltjo Posthuma
On Tue, Aug 30, 2022 at 08:08:21PM +0600, NRK wrote: > On Tue, Aug 30, 2022 at 11:42:33AM +0900, Pontus Stenetorp wrote: > > My intuition is that it is related to font loading and fall backs, so > > I am tempted to take a stab at it by comparing the font > > loading/handling between tabbed, dwm,

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-30 Thread NRK
On Tue, Aug 30, 2022 at 11:42:33AM +0900, Pontus Stenetorp wrote: > My intuition is that it is related to font loading and fall backs, so > I am tempted to take a stab at it by comparing the font > loading/handling between tabbed, dwm, st, and sent to see if I can > spot any difference, as the

Re: [dev] [tabbed] utf8 characters not displayed in tabs

2022-08-29 Thread Pontus Stenetorp
On Mon 29 Aug 2022, Seb wrote: > > I am using xterm under tabbed (v.0.6) and some of the polish > characters which are in the directory name are not displayed in the > tabs and the rest of the name is truncated, for instance: > > /home/seb/żółty is truncated to /home/seb/żó > > when I set the