Re: X server updated to version 21.1.1

2021-12-15 Thread Sven Wolf




On 11/12/21 19:18, Matthieu Herrb wrote:

Hi,

I've updated the X server in Xenocara to version 21.1.1, together with
Freetype (2.11.0) and fontconfig 2.13.94.

One of the visible change of this update is that some LCD panels now
report their real physical dimensions to the X server, rather than
just computing it based on a default resolution of 96dpi.

This means that the actual DPI computed from these dimensions will
change and impact the size of the displayed fonts.

If your fonts have chanded sizes too much after the last snapshot
update, you can add

xrandr --dpi 96

in your ~/.xsession (or ~/.xinitrc) file to set the resolution
manually to the previous default.

You can also fiddle with the X resources (~/.Xresources ) to fix
font sizes in invidual applications. Older X applications are more
likely to mis-behave and need the global dpi fix.


Hi,

with the upcoming X server 21.1.2, the 96 dpi issue gets reverted.
https://lists.x.org/archives/xorg/2021-December/060842.html

Sven



Re: [PATCH] [www] faq/current.html - docoment recent changes in Xenocara [Was: Re: X server updated to version 21.1.1]

2021-11-15 Thread Sebastien Marie
On Mon, Nov 15, 2021 at 02:55:35PM +0100, Marcus MERIGHI wrote:
> Hello, 
> 
> [...]
> > +A more detailed cleanup can be done with the aid of the sysclean package.
> 
> FWIW, sysclean(8) (that I just ran) did not remove
> 
> /etc/fonts/conf.d/70-no-bitmaps.conf
> 

it will, when snapshots will be up to date (and sets list in sync).

sysclean is using locate database installed by the snapshots. you
could check the content of this database with:

$ locate -d /usr/X11R6/lib/locate/xorg.db '70-no-bitmaps.conf'
xbase70:/etc/fonts/conf.avail/70-no-bitmaps.conf
xetc70:/etc/fonts/conf.d/70-no-bitmaps.conf

$ sysctl kern.version
kern.version=OpenBSD 7.0-current (GENERIC.MP) #96: Sun Nov 14 09:45:13 MST 2021
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

it means that on amd64 snapshots from Sun Nov 14 (GENERIC.MP #96), the
file /etc/fonts/conf.d/70-no-bitmaps.conf still exists in xetc70
set. so sysclean will not report it as removable.

thanks.
-- 
Sebastien Marie



Re: [PATCH] [www] faq/current.html - docoment recent changes in Xenocara [Was: Re: X server updated to version 21.1.1]

2021-11-15 Thread Stuart Henderson
On 2021/11/15 12:16, Raf Czlonka wrote:
> On Mon, Nov 15, 2021 at 11:38:20AM GMT, Zé Loff wrote:
> > 
> > On Mon, Nov 15, 2021 at 11:01:39AM +, Stuart Henderson wrote:
> > > Remove the symlink named something like 70-bitmap-only from 
> > > /etc/fonts/conf.d
> > 
> > Yes! Thank you!
> > For the archives: it's /etc/fonts/conf.d/70-no-bitmaps.conf
> 
> How about mentioning all of this in current.html[0]?
> 
> Please treat it as a stub - it'll obviously need some massaging.

The no-bitmaps one was a one-off in at most a couple of snapshots so
I'm not sure if it's worth listing in there. If too many irrelevant things
are listed then people won't read the file..

The DPI thing maybe changing again as upstream have backed out the
auto setting.



[PATCH] [www] faq/current.html - docoment recent changes in Xenocara [Was: Re: X server updated to version 21.1.1]

2021-11-15 Thread Raf Czlonka
On Mon, Nov 15, 2021 at 11:38:20AM GMT, Zé Loff wrote:
> 
> On Mon, Nov 15, 2021 at 11:01:39AM +, Stuart Henderson wrote:
> > Remove the symlink named something like 70-bitmap-only from 
> > /etc/fonts/conf.d
> 
> Yes! Thank you!
> For the archives: it's /etc/fonts/conf.d/70-no-bitmaps.conf

How about mentioning all of this in current.html[0]?

Please treat it as a stub - it'll obviously need some massaging.

Regards,

Raf

[0] https://www.openbsd.org/faq/current.html

Index: faq/current.html
===
RCS file: /cvs/www/faq/current.html,v
retrieving revision 1.1080
diff -u -p -r1.1080 current.html
--- faq/current.html3 Nov 2021 16:56:52 -   1.1080
+++ faq/current.html15 Nov 2021 12:10:38 -
@@ -109,6 +109,27 @@ It can be re-enabled by adding the follo
 xterm*allowMouseOps: true
 
 
+2021/11/12 - upgrades to Xenocara: X server (21.1.1), 
FreeType (2.11.0), and fontconfig (2.13.94)
+
+If your fonts have changed sizes too much after the last snapshot
+update, you can add:
+
+xrandr --dpi 96
+
+in your ~/.xsession file to set the resolution manually to the
+previous default.
+
+You can also fiddle with the X resources (~/.Xresources ) to fix
+font sizes in individual applications. Older X applications are more
+likely to misbehave and need the global dpi fix.
+
+You'll also need to remove old config files, i.e.:
+
+/etc/fonts/conf.d/70-no-bitmaps.conf
+
+A more detailed cleanup can be done with the aid of the sysclean package.
+
+
 

Re: X server updated to version 21.1.1

2021-11-15 Thread Zé Loff


On Mon, Nov 15, 2021 at 11:01:39AM +, Stuart Henderson wrote:
> Remove the symlink named something like 70-bitmap-only from /etc/fonts/conf.d

Yes! Thank you!
For the archives: it's /etc/fonts/conf.d/70-no-bitmaps.conf

> -- 
>  Sent from a phone, apologies for poor formatting.
> 
> On 15 November 2021 09:05:46 Zé Loff  wrote:
> 
> > On Fri, Nov 12, 2021 at 07:18:52PM +0100, Matthieu Herrb wrote:
> > > Hi,
> > > 
> > > I've updated the X server in Xenocara to version 21.1.1, together with
> > > Freetype (2.11.0) and fontconfig 2.13.94.
> > > 
> > > One of the visible change of this update is that some LCD panels now
> > > report their real physical dimensions to the X server, rather than
> > > just computing it based on a default resolution of 96dpi.
> > > 
> > > This means that the actual DPI computed from these dimensions will
> > > change and impact the size of the displayed fonts.
> > > 
> > > If your fonts have chanded sizes too much after the last snapshot
> > > update, you can add
> > > 
> > > xrandr --dpi 96
> > > 
> > > in your ~/.xsession (or ~/.xinitrc) file to set the resolution
> > > manually to the previous default.
> > > 
> > > You can also fiddle with the X resources (~/.Xresources ) to fix
> > > font sizes in invidual applications. Older X applications are more
> > > likely to mis-behave and need the global dpi fix.
> > > --
> > > Matthieu Herrb
> > 
> > Hi Matthieu
> > 
> > Thanks for this.  Just a minor hiccup:
> > After upgrading I can no longer use .bcf fonts via Xft, as I think they
> > stopped being picked up by fontconfig (don't show up on fc-list).  Are
> > you aware if anything fundamental changed on that side of things?  I'm
> > fairly sure the config is (still) correct, since other OTFs and TTFs on
> > the same directory are available.
> > 
> > Thanks in advance
> > Zé
> > 
> > --
> 

-- 
 



Re: X server updated to version 21.1.1

2021-11-15 Thread Stuart Henderson

Remove the symlink named something like 70-bitmap-only from /etc/fonts/conf.d

--
 Sent from a phone, apologies for poor formatting.

On 15 November 2021 09:05:46 Zé Loff  wrote:


On Fri, Nov 12, 2021 at 07:18:52PM +0100, Matthieu Herrb wrote:

Hi,

I've updated the X server in Xenocara to version 21.1.1, together with
Freetype (2.11.0) and fontconfig 2.13.94.

One of the visible change of this update is that some LCD panels now
report their real physical dimensions to the X server, rather than
just computing it based on a default resolution of 96dpi.

This means that the actual DPI computed from these dimensions will
change and impact the size of the displayed fonts.

If your fonts have chanded sizes too much after the last snapshot
update, you can add

xrandr --dpi 96

in your ~/.xsession (or ~/.xinitrc) file to set the resolution
manually to the previous default.

You can also fiddle with the X resources (~/.Xresources ) to fix
font sizes in invidual applications. Older X applications are more
likely to mis-behave and need the global dpi fix.
--
Matthieu Herrb


Hi Matthieu

Thanks for this.  Just a minor hiccup:
After upgrading I can no longer use .bcf fonts via Xft, as I think they
stopped being picked up by fontconfig (don't show up on fc-list).  Are
you aware if anything fundamental changed on that side of things?  I'm
fairly sure the config is (still) correct, since other OTFs and TTFs on
the same directory are available.

Thanks in advance
Zé

--




Re: X server updated to version 21.1.1

2021-11-15 Thread Zé Loff


On Fri, Nov 12, 2021 at 07:18:52PM +0100, Matthieu Herrb wrote:
> Hi,
> 
> I've updated the X server in Xenocara to version 21.1.1, together with
> Freetype (2.11.0) and fontconfig 2.13.94.
> 
> One of the visible change of this update is that some LCD panels now
> report their real physical dimensions to the X server, rather than
> just computing it based on a default resolution of 96dpi.
> 
> This means that the actual DPI computed from these dimensions will
> change and impact the size of the displayed fonts. 
> 
> If your fonts have chanded sizes too much after the last snapshot
> update, you can add
> 
>   xrandr --dpi 96
> 
> in your ~/.xsession (or ~/.xinitrc) file to set the resolution
> manually to the previous default.
> 
> You can also fiddle with the X resources (~/.Xresources ) to fix
> font sizes in invidual applications. Older X applications are more
> likely to mis-behave and need the global dpi fix.
> -- 
> Matthieu Herrb
> 

Hi Matthieu

Thanks for this.  Just a minor hiccup:
After upgrading I can no longer use .bcf fonts via Xft, as I think they
stopped being picked up by fontconfig (don't show up on fc-list).  Are
you aware if anything fundamental changed on that side of things?  I'm
fairly sure the config is (still) correct, since other OTFs and TTFs on
the same directory are available.

Thanks in advance
Zé

-- 
 



X server updated to version 21.1.1

2021-11-12 Thread Matthieu Herrb
Hi,

I've updated the X server in Xenocara to version 21.1.1, together with
Freetype (2.11.0) and fontconfig 2.13.94.

One of the visible change of this update is that some LCD panels now
report their real physical dimensions to the X server, rather than
just computing it based on a default resolution of 96dpi.

This means that the actual DPI computed from these dimensions will
change and impact the size of the displayed fonts. 

If your fonts have chanded sizes too much after the last snapshot
update, you can add

xrandr --dpi 96

in your ~/.xsession (or ~/.xinitrc) file to set the resolution
manually to the previous default.

You can also fiddle with the X resources (~/.Xresources ) to fix
font sizes in invidual applications. Older X applications are more
likely to mis-behave and need the global dpi fix.
-- 
Matthieu Herrb