From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1FC711382C5 for ; Thu, 21 May 2020 03:08:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A080BE0A92; Thu, 21 May 2020 03:08:45 +0000 (UTC) Received: from mail.suugaku.co.uk (unknown [2.125.59.191]) by pigeon.gentoo.org (Postfix) with ESMTP id 3BFC1E09D8 for ; Thu, 21 May 2020 03:08:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=suugaku.co.uk; s=mail; t=1590030632; bh=gcwqFBT2/ggTNSrcGLcAlXYng8K2otQzU6q3lZIb4us=; h=Date:From:To:Subject:References:In-Reply-To; b=ZNzjXaqEFeplssgcmuIIoR0tTjN9yHzdw7LtbUeUd4N8nlv1HdugDtW0kGA29R1Uv Lg0YrsLFQ5ANYzcITOGlFaA5TefWC3y011lFI1htYGk/v0uZ3czAiNQYtNns9Myo7k Ir1cIMmUB+lKL0hyzCDtJfw5POFmOzyR7d78gG4w= Date: Thu, 21 May 2020 04:08:26 +0100 From: Ashley Dixon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] evince doesn't display check-mark symbol Message-ID: <20200521030826.l2pmbwnkclzcxsoo@ad-gentoo-main.Home> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <2406ce95-096c-1359-e9c6-0786ab206e74@sys-concept.com> <20200521010545.ugosbuzrearcocct@ad-gentoo-main.Home> <5f409464-0011-25a6-3be3-0efc6f7170d1@sys-concept.com> <20200521020732.6ziysuve37ajaigk@ad-gentoo-main.Home> <0048a264-9418-d0f6-6c50-dfecafd369fc@sys-concept.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="cfhutmpq2ckcwctb" Content-Disposition: inline In-Reply-To: <0048a264-9418-d0f6-6c50-dfecafd369fc@sys-concept.com> X-PGP-Key: http://suugaku.co.uk/pubkey.asc X-Operating-System: Linux ad-gentoo-main 5.4.38-gentoo X-Editor: vim 8.2 Accept-Language: en, jp User-Agent: NeoMutt/20180716 X-Archives-Salt: 7945560e-7c13-41f3-b301-be35b66700ec X-Archives-Hash: 253ca168b3a7331c5f4b5c3483c0696c --cfhutmpq2ckcwctb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 20, 2020 at 08:12:54PM -0600, thelma@sys-concept.com wrote: > I think so too, that that is why I'm puzzled. > Here is the form. Thanks for attaching the document, but it's huge ! I placed the emphasi= s on _minimal_ for a reason. ;-) Anyway, I'm able to replicate this, and I'd say it's likely to be a bu= g in Evince. Using GhostScript [1] to retroactively embed all the fonts a= llows Evince to render it without issue, pointing to an issue causing it to = avoid loading external fonts. gs \ -dCompatibilityLevel=3D1.4 \ -dPDFSETTINGS=3D/screen \ -dCompressFonts=3Dtrue \ -dSubsetFonts=3Dtrue \ -dNOPAUSE \ -dBATCH \ -sDEVICE=3Dpdfwrite \ -sOutputFile=3Dform-fixed.pdf \ -c ".setpdfwrite <> setdistillerparams" \ -f form-original.pdf Although, having to do this on all your documents is obviously suboptimal,= and also can make them quite a bit larger. Strangely, after testing on my Ma= njaro QEMU virtual machine, everything behaves correctly; the P.D.F.\ without emb= edded Dingbats renders correctly. [Solution] Evince is substituting ZapfDingbats with another font. On my system, thi= s is Liberation Sans Regular (Properties->Fonts->ZapfDingbats). This means = that Evince cannot find the font "ZapfDingbats". To rectify this, download "ITC= Zapf Dingbats" from [2] and unzip the two files into ~/.local/share/font= s or /usr/share/fonts. However, "ZapfDingbats" and "ITC Zapf Dingbats" have a slight name mism= atch, which will still cause Evince to substitute it with an unsuitable alterna= tive. Fontconfig allows you to alias fonts using its standard XML configur= ation method. Add the following to /etc/fonts/local.conf (create the file if it = does not exist): ZapfDingbats ITC Zapf Dingbats fixed This will cause Evince to load the document correctly. You might have to= run `fc-cache` after you've created the stanza, although I doubt it. Does this fix it ? [1] https://stackoverflow.com/a/2981689 [2] https://freefontsfamily.com/download/itc-zapf-dingbats --=20 Ashley Dixon suugaku.co.uk 2A9A 4117 DA96 D18A 8A7B B0D2 A30E BF25 F290 A8AA --cfhutmpq2ckcwctb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEKpralop7ow7ykEEX0Yqw0r8lqKoFAl7F8KoACgkQ0Yqw0r8l qKouCQ/7BXNWWtyWhnDo3rCtZmIb3W+y5nBhhd4RQZ/KmMskqfLL+ZaIjK2tirJc ZhDY/S+3eHIunvU6hhZAJ0SSW0PXmJz3gHmHznID23VqlMk9+HpCyGxNToatHAIC eDYSc7yKXtJluU2jbUNVKqXqx9l3+d9rs/JwL2rXlKD7AD3CHOWxvJbmHtZEm3Zr NmBvWxdkT5fhks4rFD8VClORLCPguX9UbEF9Sfz4/MqqyhLUcOaRrA1y8wuI1yAJ gI4PpQhBcmWQEcXcAld/BdTTHDv+s6if/bGQNvqCic/Bz/hZ2V5dqbT6JsJyR9xv tw6fv9CV2Hps87RxbbJuR2k8LVcstuN0RogNpjVsQu1ahNPcDN/L8UdI/icwoJkf JnAHPHdk3CvJY+vSCsqxFNcBedx+mRmgYKm5fc83Mum8mSFYvFLz8Mbk1aeaxEwH XgSpcR8jE40CH+2Do9GLLmm2e2S93a5SQWvm5lC/X/yy8qdvAFEfAFHr/xNOYZyy q0Dp2kELnjMJAzfjL5D+zo6UhOYfJY4Eyq0cA4/78GX8MB94tJpD9Pwr/GKfy98j YsLIxYuqvbfqt+/mjGYpvbRjdU6wwjffnoIZWzep9wv2+qq1jbK5pEEMOljCIQk2 QnxGdd5NQMu8469sfV3N+NKLZOjtyW6haWI5yHPXHt0UoN8WnfM= =w4zm -----END PGP SIGNATURE----- --cfhutmpq2ckcwctb--