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: Wed, 03 Nov 2021 09:39:38 +0800	[thread overview]
Message-ID: <tencent_E1A4B3F672932C35240BF2EF43E7AEDCA505@qq.com> (raw)
In-Reply-To: <87o872mqts.fsf@netris.org>


thanks for reminding :) .

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

> Hi,
>
> Z572 <873216071@qq.com> writes:
>> I add "/run/current-system/profile/share/fonts/" to
>> "security.sandbox.content.read_path_whitelist" fixed it for me.
>
> Thanks!  One very important note: you should "reset" this customization
> after updating to IceCat 91.3.0, or else IceCat will stop working
> correctly after some future update of Guix.  The reason is that the
> whitelist contains several other directories within /gnu/store/, and
> those directory will need to be updated whenever those components are
> updated in Guix.  For example, when 'ffmpeg' is updated to a newer
> version, or one of its dependent libraries is updated, the directory
> name /gnu/store/…-ffmpeg-4.4 will change; if you don't update the
> whitelist accordingly, video playback will stop working.
>
> In the IceCat 91.3.0 update that I pushed a few hours ago, I added
> "/run/current-system/profile/share/fonts/" to the default whitelist.
>
> So, I suggest that you update to IceCat 91.3.0 at your earliest
> opportunity, and then visit <about:config>, navigate to the
> "security.sandbox.content.read_path_whitelist" setting, and click on its
> "reset" button (the one with an arrow pointing to the left), to erase
> the customization of that setting.
>
> Note that it is not enough to simply remove the directory that you
> added.  You must click the reset button on that customization in order
> to allow it to be automatically updated in the future.
>
> * * *
>
> Going forward, I think that we should create a patch for IceCat
> analogous to the webkitgtk-bind-all-fonts.patch that Liliana wrote for
> WebKitGTK.  I think that all of the directories that currently comprise
> the default value of "security.sandbox.content.read_path_whitelist"
> should instead be *implicitly* added to the whitelist, in *addition* to
> the contents of "security.sandbox.content.read_path_whitelist".  That
> would enable users to customize that setting without having to manually
> keep the /gnu/store/…/ entries updated.
>
> I'll keep this bug open for now, pending a more proper fix.
>
>       Thanks,
>         Mark


-- 
over




      reply	other threads:[~2021-11-03  2:11 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
2021-11-02 17:04       ` Mark H Weaver
2021-11-03  1:39         ` Z572 via Bug reports for GNU Guix [this message]

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_E1A4B3F672932C35240BF2EF43E7AEDCA505@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).