Compare commits

..

No commits in common. "ed884c39da23a9d44370fd028ee2336f56d93aee" and "2615ab2abbdd8a26dcbae6a403f608ffff4d8643" have entirely different histories.

6 changed files with 18 additions and 51 deletions

18
.gitmodules vendored
View File

@ -88,21 +88,3 @@
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!
// 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-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",
);
lockPref(
"font.name-list.sans-serif.x-cyrillic",
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, OpenDyslexic, Inclusive Sans, SourceSans3VF, Roboto, Liberation Sans, Noto Sans, sans-serif",
);
// 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-western",
"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",
"Atkinson Hyperlegible Next, Atkinson Hyperlegible, Inclusive Sans, Roboto, Liberation Sans, Noto Sans, sans-serif",
);
//lockPref(
// "font.name-list.serif.x-cyrillic",
// "OpenDyslexic, Liberation Serif, Roboto Serif, Noto Serif, serif",
// );
lockPref(
"font.name-list.serif.x-western",
"Source Serif 4 Variable, Liberation Serif, Roboto Serif, Noto Serif, serif",
"OpenDyslexic, 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,12 +339,6 @@ 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
@ -467,12 +461,6 @@ 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

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

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

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