On Fri, Aug 12, 2016 at 10:34:11PM +0200, Walter Alejandro Iglesias wrote: > After latest fontconfig update (aug 10 snapshot) cwm shows the following > message and fails to start: > > $ cwm: XftFontOpenName
No idea what's going on here. Did you configure a special font in
.cwmrc ?
Also cwm could be better at reporting the error by including the font
name that fails to load in its error message... see patch below.
>
> Other applications that use xft fonts show warnings complaining about
> being linked to the old freetype lib (need to be recompiled?). Some
> examples:
>
> mwm:/usr/X11R6/lib/libfreetype.so.26.0:
> /usr/X11R6/lib/libfreetype.so.25.0 : WARNING:
> symbol(af_arab_nonbase_uniranges) size mismatch, relink your program
That's expected. Wait until updated packages are available and run
pkg_add -u again.
ld.so could just refuse to load programs with major libs revisions
mismatches, but I think that would be too brutal to most users.
Index: conf.c
===================================================================
RCS file: /cvs/OpenBSD/xenocara/app/cwm/conf.c,v
retrieving revision 1.202
diff -u -r1.202 conf.c
--- conf.c 17 Nov 2015 15:19:19 -0000 1.202
+++ conf.c 12 Aug 2016 20:55:48 -0000
@@ -138,7 +138,7 @@
if (sc->xftfont == NULL) {
sc->xftfont = XftFontOpenName(X_Dpy, sc->which, Conf.font);
if (sc->xftfont == NULL)
- errx(1, "XftFontOpenName");
+ errx(1, "XftFontOpenName %s", Conf.font);
}
for (i = 0; i < nitems(color_binds); i++) {
--
Matthieu Herrb
signature.asc
Description: PGP signature
