Skip to content
Snippets Groups Projects
Commit 45eaee50 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame :jack_o_lantern:
Browse files

fixup! Bug 41901: Hardcode normalized FontSubstitutes.

parent a957130c
Branches
Tags
1 merge request!1049Bug 42616 (part 2): Rebased onto Firefox 128.0esr release
......@@ -1956,7 +1956,7 @@ nsresult gfxDWriteFontList::GetFontSubstitutes() {
if (nsContentUtils::ShouldResistFingerprinting(
"Ignore any fingerprintable user font customization and normalize "
"font substitutes across different Windows SKUs.",
RFPTarget::Unknown)) {
RFPTarget::FontVisibilityLangPack)) {
for (const FontSubstitute& fs : kFontSubstitutes) {
nsAutoCString substituteName(fs.substituteName);
nsAutoCString actualFontName(fs.actualFontName);
......
......@@ -540,7 +540,7 @@ nsresult gfxGDIFontList::GetFontSubstitutes() {
if (nsContentUtils::ShouldResistFingerprinting(
"Ignore any fingerprintable user font customization and normalize "
"font substitutes across different Windows SKUs.",
RFPTarget::Unknown)) {
RFPTarget::FontVisibilityLangPack)) {
for (const FontSubstitute& fs : kFontSubstitutes) {
nsAutoCString substituteName(fs.substituteName);
nsAutoCString actualFontName(fs.actualFontName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment