From owner-freebsd-questions@freebsd.org Tue Dec 3 13:00:05 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 197FE1AE17F for ; Tue, 3 Dec 2019 13:00:05 +0000 (UTC) (envelope-from vas@sibptus.ru) Received: from admin.sibptus.ru (admin.sibptus.ru [IPv6:2001:19f0:5001:21dc::10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47S2Br1Rs8z4MRh for ; Tue, 3 Dec 2019 13:00:03 +0000 (UTC) (envelope-from vas@sibptus.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sibptus.ru; s=20181118; h=In-Reply-To:Message-ID:Subject:To:From:Date; bh=SndSi2HeuCI4euyccVVfIXX2QhjELgcDXRWeA5LLnWc=; b=hqlRvHiYbo8rSYrxepC5TFBVhH yMhb/C0VsKkZLfQyW5H87X8z6ZIzlSBhKzfz6Dmbu8cJH4j/l4GKJS5T3j2XgGxnvyIktPbg0Hw+5 ozop9nqH4YJKsV+M5VSd9+H+/oPuaiLLT7UtIorrPLyw6iNFg4n3DQHx7Tv1wlypyGSc=; Received: from vas by admin.sibptus.ru with local (Exim 4.92.3 (FreeBSD)) (envelope-from ) id 1ic7md-000Ceh-22 for freebsd-questions@freebsd.org; Tue, 03 Dec 2019 20:00:03 +0700 Date: Tue, 3 Dec 2019 20:00:03 +0700 From: Victor Sudakov To: freebsd-questions@freebsd.org Subject: Re: Firefox, X11 fonts and 2gis Message-ID: <20191203130003.GA48268@admin.sibptus.ru> References: <20191201040730.GA55403@admin.sibptus.ru> <20191201183701.58e3fff1.freebsd@edvax.de> <20191202130934.GA12388@admin.sibptus.ru> <20191202184502.5b1defc7@demon> <20191202165730.GB18034@admin.sibptus.ru> <20191202220839.5fcc657e@demon> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline In-Reply-To: <20191202220839.5fcc657e@demon> X-PGP-Key: http://admin.sibptus.ru/~vas/ X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 47S2Br1Rs8z4MRh X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=sibptus.ru header.s=20181118 header.b=hqlRvHiY; dmarc=pass (policy=none) header.from=sibptus.ru; spf=pass (mx1.freebsd.org: domain of vas@sibptus.ru designates 2001:19f0:5001:21dc::10 as permitted sender) smtp.mailfrom=vas@sibptus.ru X-Spamd-Result: default: False [-8.48 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[sibptus.ru:s=20181118]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-3.38)[ip: (-9.87), ipnet: 2001:19f0:5000::/38(-4.94), asn: 20473(-2.03), country: US(-0.05)]; DKIM_TRACE(0.00)[sibptus.ru:+]; DMARC_POLICY_ALLOW(-0.50)[sibptus.ru,none]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:5000::/38, country:US]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2019 13:00:05 -0000 --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable dmn wrote: >=20 > >=20 > > > In your case I would also consider creating new user account > > > (pw useradd) just to debug this issue. > > > > That is actually useful advice, its result surprised me. I created a > > test user with the default login class, ran startx from that user and > > you know what! I saw all the text on the map! > >=20 > > OK, I logout, assign the test user to the "russian" login class, > > login, startx, firefox - and here is the map without text again. > >=20 > > So the problem is somehow linked to locale, but running something > > like "env -i LANG=3DC DISPLAY=3D:1 firefox" from my regular user does n= ot > > fix the map. > >=20 >=20 > I do not use login class for my user account. It's not necessary. > However, creating a new user and assigning it to the "russian" login > class makes no difference: firefox displays the fonts on the map > correctly. /etc/login.conf hasn't been changed. What's your desktop environment? It's Mate in my case, run from startx. > Unless you have to use some special settings for your login class, I > think a short-term solution would be to not use login classes at all. I just created a test user account without assigning it to any login class. Then I logged in as this test user, ran "setenv LANG ru_RU.UTF-8 ; startx", then started Firefox - and you know what! The map is without text. So it is not the login class to blame, but some locale-related stuff. But I can't live in C locale. --=20 Victor Sudakov, VAS4-RIPE, VAS47-RIPN 2:5005/49@fidonet http://vas.tomsk.ru/ --SUOF0GtieIMvvwua Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJd5lxTAAoJEA2k8lmbXsY0yoAH/2ORiGocOU9dB58AR+dlUdqv +2uF9yL0+SVwwmevIuJZH/HW9nMaqLJ1jLgOwZQX0ftTH1PH/PFE6tA8GdyGJ+iN qgiVBcHI0RlYe8ZIRP6T3duCVmm0qxFaczBCK0Uu7Vonhilk+BdgjwFPGqX798wM W1Z03mXhdZAI+NpGpEZglJaQimEYlebxw8MKbeFl0gjQQhBBrEC5ks8ZlwkspaGS DVGl5QMJfua8Pb8FABw+cJSjg/4xAa9koTzhhKAUk6gXB9xb3l5EXhh12qb4mBvs PAD0+fOLapqBYVh5VSivgK8R2mywb4AI0OZ8hpvkc5cdXs5yJZuXJzGAblrwBBk= =EBYV -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--