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.
+
+