unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Z572 via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Mark H Weaver <mhw@netris.org>
Cc: 51478@debbugs.gnu.org
Subject: bug#51478: icecat 91 can't display chinese font in many web page
Date: Sat, 30 Oct 2021 10:15:29 +0800	[thread overview]
Message-ID: <tencent_79CBBF2C9DF7728492B45AB7CDBCD483AC07@qq.com> (raw)
Message-ID: <87cznnuufk.fsf@qq.com> (raw)
In-Reply-To: <87tugzvb58.fsf@netris.org>


I add "/run/current-system/profile/share/fonts/" to
"security.sandbox.content.read_path_whitelist" fixed it for me.

Thanks for the help.


Mark H Weaver <mhw@netris.org> writes:

> Z572 via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
>> after update to 91, icecat can't display chinese font for many web page:
>
> Thanks for the report.
>
> As a temporary workaround, it might help to visit <about:config> and
> change the setting for "security.sandbox.content.read_path_whitelist"
> to contain simply "/gnu/store/".
>
> Doing so will make your IceCat do what all other modern web browsers in
> Guix do: simply give the browser sandbox access to *all* of /gnu/store/.
> The disadvantage of doing so is that the sandbox will then able to see
> the complete list of Guix-installed software components installed on
> your system, as well as the precise version numbers of those software
> components.
>
> To my knowledge, IceCat is the only modern web browser packaged in Guix
> that attempts to build a precise whitelist of directories within
> /gnu/store/ that the sandbox is given access to.
>
> When updating our Guix package to IceCat 91, I discovered that it is now
> necessary to add font directories to the whitelist, whereas that was not
> needed in IceCat 78.  For now, I've added 'font-dejavu' as an explicit
> input to our 'icecat' package, and added its font/share directory to the
> whitelist.  However, I can see now that this solution is not adequate.
>
> To be continued...
>
>        Mark


-- 
over




  reply	other threads:[~2021-10-30  2:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29  9:40 bug#51478: icecat 91 can't display chinese font in many web page Z572 via Bug reports for GNU Guix
2021-10-29 14:05 ` Dr. Arne Babenhauserheide
2021-10-29 21:08   ` ison
2021-10-29 23:52     ` Mark H Weaver
2021-10-30  1:38       ` ison
2021-10-29 20:16 ` Mark H Weaver
     [not found]   ` <87cznnuufk.fsf@qq.com>
2021-10-30  2:15     ` Z572 via Bug reports for GNU Guix [this message]
2021-11-02 17:04       ` Mark H Weaver
2021-11-03  1:39         ` Z572 via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_79CBBF2C9DF7728492B45AB7CDBCD483AC07@qq.com \
    --to=bug-guix@gnu.org \
    --cc=51478@debbugs.gnu.org \
    --cc=873216071@qq.com \
    --cc=mhw@netris.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).