Compare commits

...

4 Commits

Author SHA1 Message Date
ed884c39da
add source code pro to complete the set 2025-10-23 18:15:48 +03:00
6cc7c46f88
install: link the rest of source-{sans,serif} 2025-10-23 18:07:40 +03:00
84179cbd28
firefox-forbidden-policies.js: revert and U-turn on the font adjustment
This reverts commit 2615ab2abbdd8a26dcbae6a403f608ffff4d8643 and goes somewhat
opposite direction...
2025-10-23 16:18:44 +03:00
dfcaf46736
add source-{sans,serif} 2025-10-23 16:10:10 +03:00
6 changed files with 51 additions and 18 deletions

18
.gitmodules vendored
View File

@ -88,3 +88,21 @@
branch = master
ignore = dirty
shallow = true
[submodule "submodules/source-sans"]
path = submodules/source-sans
url = https://github.com/adobe-fonts/source-sans.git
branch = release
ignore = dirty
shallow = true
[submodule "submodules/source-serif"]
path = submodules/source-serif
url = https://github.com/adobe-fonts/source-serif.git
branch = release
ignore = dirty
shallow = true
[submodule "submodules/source-code-pro"]
path = submodules/source-code-pro
url = https://github.com/adobe-fonts/source-code-pro.git
branch = release
ignore = dirty
shallow = true

View File

@ -20,38 +20,38 @@ lockPref("cookiebanners.service.mode.privateBrowsing", 2);
// I can set my preferred fonts in an order! :O
// but obviously this is forbidden in policies.json!
//lockPref(
// "font.name-list.monospace.x-cyrillic",
// "Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
//);
// Remember to allow fonts in privacy.fingerprintingProtection overrides and forbid document fonts to defeat font fingerprinting kind of
lockPref(
"font.name-list.monospace.x-cyrillic",
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
);
lockPref(
"font.name-list.monospace.x-western",
"Atkinson Hyperlegible Mono, Comic Shanns Mono, Roboto Mono, Liberation Mono, Noto Sans Mono, monospace",
);
// Forcing document fonts defeats font fingerprinting, don't worry.
//lockPref(
// "font.name-list.sans-serif.x-cyrillic",
// "Atkinson Hyperlegible Next, Atkinson Hyperlegible, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
//);
lockPref(
"font.name-list.sans-serif.x-cyrillic",
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, SourceSans3VF, Roboto, Liberation Sans, Noto Sans, sans-serif",
);
lockPref(
"font.name-list.sans-serif.x-western",
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, SourceSans3VF, Liberation Sans, Comic Neue, Roboto, Noto Sans, sans-serif",
);
lockPref(
"font.name-list.serif.x-cyrillic",
"Source Serif 4 Variable, Liberation Serif, Roboto Serif, Noto Serif, serif",
);
//lockPref(
// "font.name-list.serif.x-cyrillic",
// "OpenDyslexic, Liberation Serif, Roboto Serif, Noto Serif, serif",
// );
lockPref(
"font.name-list.serif.x-western",
"OpenDyslexic, Liberation Serif, Roboto Serif, Noto Serif, serif",
"Source Serif 4 Variable, Liberation Serif, Roboto Serif, Noto Serif, serif",
);
// Uncomment when giving up on messing up with fonts
clearPref("font.name-list.monospace.x-cyrillic");
//clearPref("font.name-list.monospace.x-cyrillic");
//clearPref("font.name-list.monospace.x-western");
clearPref("font.name-list.sans-serif.x-cyrillic");
//clearPref("font.name-list.sans-serif.x-cyrillic");
//clearPref("font.name-list.sans-serif.x-western");
clearPref("font.name-list.serif.x-cyrillic");
//clearPref("font.name-list.serif.x-cyrillic");
//clearPref("font.name-list.serif.x-western");
// Play animated images only once, accessibility.

12
install
View File

@ -339,6 +339,12 @@ if [ "$(id -u)" == "0" ]; then
ln -nsfv $HOME/.shell-things/submodules/nicoverbruggen-ebook-fonts/fonts /usr/local/share/fonts/nicoverbruggen-ebook-fonts
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.ttf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-sans/VF/*.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-sans/OTF/ /usr/local/share/fonts/source-sans
ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-serif/OTF /usr/local/share/fonts/source-serif
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/VF/*.otf /usr/local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/OTF/ /usr/local/share/fonts/source-code-pro
fi
# Symlink cleanup
@ -461,6 +467,12 @@ if [ -d "$HOME/.shell-things" ]; then
ln -nsfv $HOME/.shell-things/submodules/nicoverbruggen-ebook-fonts/fonts $HOME/.local/share/fonts/nicoverbruggen-ebook-fonts
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.ttf $HOME/.local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/microsoft-fonts/Symbols/*.otf $HOME/.local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-sans/VF/*.otf $HOME/.local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-sans/OTF/ $HOME/.local/share/fonts/source-sans
ln -nsfv $HOME/.shell-things/submodules/source-serif/VAR/*.otf $HOME/.local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-serif/OTF $HOME/.local/share/fonts/source-serif
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/VF/*.otf $HOME/.local/share/fonts/
ln -nsfv $HOME/.shell-things/submodules/source-code-pro/OTF/ $HOME/.local/share/fonts/source-code-pro
# Font cleanup
if hash symlinks 2> /dev/null; then

@ -0,0 +1 @@
Subproject commit 208d9ac7a6827ceb51ea2dc635794839d9659e52

@ -0,0 +1 @@
Subproject commit 82818d477056d06ae48f9c68970f9bffd56ce139

@ -0,0 +1 @@
Subproject commit d713003556bcf2dc7eb13593a45b5d48296846bc