* bug#51478: icecat 91 can't display chinese font in many web page
@ 2021-10-29 9:40 Z572 via Bug reports for GNU Guix
2021-10-29 14:05 ` Dr. Arne Babenhauserheide
2021-10-29 20:16 ` Mark H Weaver
0 siblings, 2 replies; 9+ messages in thread
From: Z572 via Bug reports for GNU Guix @ 2021-10-29 9:40 UTC (permalink / raw)
To: 51478
[-- Attachment #1: Type: text/plain, Size: 87 bytes --]
hello,
after update to 91, icecat can't display chinese font for many web page:
78:
[-- Attachment #2: Screenshot from 2021-10-29 17-54-33.png --]
[-- Type: image/png, Size: 541899 bytes --]
[-- Attachment #3: Type: text/plain, Size: 5 bytes --]
91:
[-- Attachment #4: Screenshot from 2021-10-29 17-43-00.png --]
[-- Type: image/png, Size: 375638 bytes --]
[-- Attachment #5: Type: text/plain, Size: 153 bytes --]
guix ad39268
repository URL: https://git.sjtu.edu.cn/sjtug/guix
branch: master
commit: ad39268cdf075f4c4eeb87ed78ce46ca6f817675
--
over
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#51478: icecat 91 can't display chinese font in many web page
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 20:16 ` Mark H Weaver
1 sibling, 1 reply; 9+ messages in thread
From: Dr. Arne Babenhauserheide @ 2021-10-29 14:05 UTC (permalink / raw)
To: Z572; +Cc: 51478
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
Hi,
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:
Thank you for your report!
Does it help to run
fc-cache -rv
on the commandline?
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#51478: icecat 91 can't display chinese font in many web page
2021-10-29 14:05 ` Dr. Arne Babenhauserheide
@ 2021-10-29 21:08 ` ison
2021-10-29 23:52 ` Mark H Weaver
0 siblings, 1 reply; 9+ messages in thread
From: ison @ 2021-10-29 21:08 UTC (permalink / raw)
To: Dr. Arne Babenhauserheide; +Cc: 51478, 873216071
I'm not entirely sure if this is related, but after upgrading to 91
icecat would no longer use fonts from anywhere but my home directories
(~/.fonts or ~/.local/share/fonts).
And changing the whitelist to /gnu/store doesn't fix it.
What's strange is that the fonts are still listed in the icecat font
settings, but it won't use them. Even if I uncheck the box to allow
pages to choose their own fonts.
For example my LiberationSans font stopped working. But if I copy it (or
symlink it) to my ~/.fonts then it works.
NOTE: I test it by changing security.sandbox.content.read_path_whitelist
in about:config to "/gnu/store", closing icecat, running fc-cache -fv
(both as root and normal user), then opening icecat again. And it still
only uses LiberationSans if it gets copied to my home.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#51478: icecat 91 can't display chinese font in many web page
2021-10-29 21:08 ` ison
@ 2021-10-29 23:52 ` Mark H Weaver
2021-10-30 1:38 ` ison
0 siblings, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2021-10-29 23:52 UTC (permalink / raw)
To: ison, Dr. Arne Babenhauserheide; +Cc: 51478, 873216071
ison <ison@airmail.cc> writes:
> NOTE: I test it by changing security.sandbox.content.read_path_whitelist
> in about:config to "/gnu/store"
That won't work. As I recall, there *must* be a slash at the end of
each directory in the whitelist, as in "/gnu/store/", not just
"/gnu/store". Does that make a difference for you?
Thanks,
Mark
--
Disinformation flourishes because many people care deeply about injustice
but very few check the facts. Ask me about <https://stallmansupport.org>.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#51478: icecat 91 can't display chinese font in many web page
2021-10-29 23:52 ` Mark H Weaver
@ 2021-10-30 1:38 ` ison
0 siblings, 0 replies; 9+ messages in thread
From: ison @ 2021-10-30 1:38 UTC (permalink / raw)
To: Mark H Weaver; +Cc: 51478, 873216071
Mark H Weaver <mhw@netris.org> writes:
> ison <ison@airmail.cc> writes:
>> NOTE: I test it by changing security.sandbox.content.read_path_whitelist
>> in about:config to "/gnu/store"
>
> That won't work. As I recall, there *must* be a slash at the end of
> each directory in the whitelist, as in "/gnu/store/", not just
> "/gnu/store". Does that make a difference for you?
That fixed it for me. Thanks for the help.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#51478: icecat 91 can't display chinese font in many web page
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 20:16 ` Mark H Weaver
[not found] ` <87cznnuufk.fsf@qq.com>
1 sibling, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2021-10-29 20:16 UTC (permalink / raw)
To: Z572, 51478
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
--
Disinformation flourishes because many people care deeply about injustice
but very few check the facts. Ask me about <https://stallmansupport.org>.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-11-03 2:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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).