fontconfig error

2022-08-04 Thread Walter Alejandro Iglesias
with xterm. Run xterm with the default system Xresources, open the "VT Fonts" dialog (holding down Ctrl and pressing right mouse button) check TrueType Fonts. At least to me, fontconfig writes the following error: $ xterm Fontconfig error: Cannot load default config file: No such file:

Re: fontconfig error

2022-08-05 Thread Matthieu Herrb
to me, fontconfig writes the following error: > > $ xterm > Fontconfig error: Cannot load default config file: No such file: (null) > > Even if you implicitly set the variables the result is the same: > > $ export FONTCONFIG_FILE=/etc/fonts/fonts.conf > $ expo

Re: fontconfig error

2022-08-05 Thread Walter Alejandro Iglesias
check TrueType > > Fonts. At least to me, fontconfig writes the following error: > > > > $ xterm > > Fontconfig error: Cannot load default config file: No such file: (null) > > > > Even if you implicitly set the variables the result is the sa

Re: fontconfig error

2022-08-05 Thread Walter Alejandro Iglesias
> > On Thu, Aug 04, 2022 at 04:42:57PM +0200, Walter Alejandro Iglesias wrote: > I don't modify system files unless I really need to do it. I didn't > touch those files, nor the files in /etc/X11R6... I meant /usr/X11R6 :-) > On Fri, Aug 05, 2022 at 11:25:44AM +0200, Matthieu Herrb wrote: > > We

Re: fontconfig error

2022-08-05 Thread Matthieu Herrb
ror: > > $ xterm > Fontconfig error: Cannot load default config file: No such file: > (null) Ok I understood this problem. It's caused by the fact that xterm is accessing /etc/fonts after it's initialization, once unveil() has entered into action. One possible p

Re: fontconfig error

2022-08-05 Thread Walter Alejandro Iglesias
check TrueType > > Fonts. At least to me, fontconfig writes the following error: > > > > $ xterm > > Fontconfig error: Cannot load default config file: No such file: > > (null) > > Ok I understood this problem. It's caused by the fact that xter

Re: fontconfig error

2022-08-06 Thread Walter Alejandro Iglesias
On Fri, Aug 05, 2022 at 11:25:44AM +0200, Matthieu Herrb wrote: > On Thu, Aug 04, 2022 at 04:42:57PM +0200, Walter Alejandro Iglesias wrote: > > Another issue I can reproduce with xterm is running it with a xft font > > and selecting in the same mentioned dialog the "Unreadable" font: > > > > $

Re: fontconfig error

2022-08-06 Thread Stuart Henderson
On 2022/08/05 18:46, Walter Alejandro Iglesias wrote: > Now, after applying your patch, setting FONTCONFIG_FILE and > FONTCONFIG_PATH to my home config dir and file, xterm loads the xft font > correctly but the error appears again. I don't understand why since it > seemed to me to see in the code

Re: fontconfig error

2022-08-07 Thread Matthieu Herrb
On Fri, Aug 05, 2022 at 06:46:34PM +0200, Walter Alejandro Iglesias wrote: > > I compiled xterm with your patch. With default settings xterm shows no > error and the font selected is loaded correctly, and this is a detail I > forgot to mention: before your patch, besides the error, the selected >

Re: fontconfig error

2022-08-07 Thread Theo de Raadt
> So at some point we need to give up on this pattern of making every > possible part of the system full configurable. Precisely.

Re: fontconfig error [PATCH]

2022-08-06 Thread Walter Alejandro Iglesias
Hi Matthieu, On Fri, Aug 05, 2022 at 06:46:42PM +0200, Walter Alejandro Iglesias wrote: > Now, after applying your patch, setting FONTCONFIG_FILE and > FONTCONFIG_PATH to my home config dir and file, xterm loads the xft font > correctly but the error appears again. I don't understand why since it