From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evan Straw Subject: bug#40390: Rendering problems when using fonts from Guix on foreign distro Date: Wed, 22 Apr 2020 12:29:50 -0700 Message-ID: <87ftcvl3o1.fsf@gmail.com> References: <87blo9iydd.fsf@gmail.com> <87blo5f38u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:45754) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRL5K-0002ml-UR for bug-guix@gnu.org; Wed, 22 Apr 2020 15:31:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRL5K-00055S-GS for bug-guix@gnu.org; Wed, 22 Apr 2020 15:31:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRL5K-00054m-29 for bug-guix@gnu.org; Wed, 22 Apr 2020 15:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRL5J-00060j-Ug for bug-guix@gnu.org; Wed, 22 Apr 2020 15:31:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87blo5f38u.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 06 Apr 2020 10:05:37 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40390@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi Evan, > > Evan Straw skribis: > >> I have Guix installed on a foreign distro (Ubuntu 19.10) as a package >> manager, and I am attempting to use fonts installed through Guix for >> applications installed from Guix, such as Emacs and keepassxc. I have >> installed fontconfig and a few font packages. However, I am noticing >> that these fonts seem to be interfering with fonts installed via the >> system's package manager (APT) and are causing rendering problems in >> non-Guix applications such as evince. >> >> The font packages I have installed from Guix are as follows: >> >> evan@virtualplaza:~$ guix package --list-installed | grep font >> font-ubuntu 0.83 out /gnu/store/6ydn8a96n2zmmrhjckqklfmg83frwl9w-font-ub= untu-0.83 >> font-gnu-freefont-ttf 20120503 out /gnu/store/bp0hagiy6j8r0x11r4arsyv7k6= 1lyqfk-font-gnu-freefont-ttf-20120503 >> font-dejavu 2.37 out /gnu/store/yr42nyxrqkh89fanvii82br6qil4zcbx-font-de= javu-2.37 >> gs-fonts 8.11 out /gnu/store/8ppj83wc1mmrdydh9cy7vqvg0bym8l0q-gs-fonts-8= .11 >> font-adobe-source-han-sans 1.004 jp /gnu/store/z9mgamhzwnh73w3y7q9flg54g= mzr9kx7-font-adobe-source-han-sans-1.004-jp >> fontconfig 2.13.1 out /gnu/store/rkq6ipys8hf5hw66jkzzw4nfr6ncq96a-fontco= nfig-2.13.1 >> font-abattis-cantarell 0.111 out /gnu/store/l0h8n4jn0xhj942gdh28i3rvbbyw= i613-font-abattis-cantarell-0.111 >> >> >> However, when I open a document in evince, the terminal spits out the >> following errors about "cairo scaled fonts": >> >> (evince:19449): Pango-WARNING **: 10:28:58.135: failed to create cairo s= caled font, expect ugly output. the offending font is 'Ubuntu 11' > > You may need to update the Fontconfig font cache by running: > > fc-cache -fv > > (See > .) > > Does that help? > > Thanks, > Ludo=E2=80=99. Hello! My apologies for leaving this hanging for so long. It appears I had a fontconfig configuration file left over from a long time ago that was intended to manually add the path for Guix fonts to the fontconfig paths, so that I could use Ubuntu's fontconfig rather than use fontconfig from Guix. I had forgotten it was even there. Getting rid of it and re-caching the fonts like you said has fixed the issue. Not sure why I thought that was a good idea... Thank you for your help! =2D- Evan --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl6gmy4ACgkQ9TDDtKKp 8G2nYQ//SE7RuXbIeZ87GrNCSQtPEwtQiBj4ICMgR+dI1agdySi3LYsIE8F0bEy2 K5kif918w3V/92EUs78Y8JVkOATTwB3M8B20/QYcPZ3z1kcnOIILbyvDmna6AHrT I4sTcO/rJmjIeC3Z5nlIk2xnDbbwFrzIJmMvrXfpmKawRGGYQa2FRUA3CuOTe91+ u4b4OYV+qgmaqE3qpGiPemyFemvrTAR+9PweszMaJVUnbaV2RznCpHwhcIxFVz6k bKT02OhugkHfH7svIFeTcpOBCBgInDll6pjUP6WVBgcgmTgsw46Herl6rvQg8qUD TgsliSSiTDYEojFPzy+6PZ8UpB9CV/7ZLCMd4qMoF+G7kZJQ0yT2q+WdVZUV4bPc TePb+0kzgph/ZTSz2Sx4KyAg4WFXeDLTslS5DQvJhOFR/7KQRaZ6r4NbzWrYO/41 meH9jMRMAKD2X7dt36TSdH28qrLBrlmM+hdTAv3PxBfrJCihQ9ZHA7i5YE61zu7s ZcxRERHSbQwjy6i90IykI406X//jPXq7kZx5+YcjYS1QCtuMAW2W+Z7XhPsTtzxZ rUYO91LMvqDybJPPBQpnU8SZdFUhyw5nUQvX9FSEwGLwwiAqOKOdbPt1AV1M4o4l DVhA399cRd0dgpIdf8OoZeH97DSkAz5dwO8Wk41ZIL22cy7J28o= =ssQn -----END PGP SIGNATURE----- --=-=-=--