#UplandSoftware
www.investing.com
July 28, 2025 at 2:29 PM
Browser Support • Re: Times New Roman font becomes italic after windows 11 update 26200.7171
Patch itself for convenience since BitBucket's frontend is broken in Pale Moon (requires PerformanceObserver and WeakRef, they both can be polyfilled as seen in their respective links however, with the former also being an opt-in feature in Pale Moon. You will have to deal with BitBucket's CSP though, which I personally just overrode to null with the moz-rewriter add-on): https://bitbucket.org/uplandsoftware/ob ... a725d6/raw CODE: From 9fdc998669e2a5bfae5d5f78771ee1ec9ba725d6 Mon Sep 17 00:00:00 2001From: David Cernoch <dcernoch@uplandsoftware.com>Date: Tue, 25 Nov 2025 16:25:20 +0100Subject: [PATCH] SHARED-96874 Times New Roman always italic- FIX: Restricted font technology optimization to the fonts with identical style.--- gfx/thebes/gfxGDIFontList.cpp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-)diff --git a/gfx/thebes/gfxGDIFontList.cpp b/gfx/thebes/gfxGDIFontList.cppindex cce880b45..a9a45248c 100644--- a/gfx/thebes/gfxGDIFontList.cpp+++ b/gfx/thebes/gfxGDIFontList.cpp@@ -447,13 +447,17 @@ GDIFontFamily::FamilyAddStylesProc(const ENUMLOGFONTEXW *lpelfe, GDIFontEntry *fe = nullptr; for (uint32_t i = 0; i < ff->mAvailableFonts.Length(); ++i) { fe = static_cast<GDIFontEntry*>(ff->mAvailableFonts[i].get());- if (feType > fe->mFontType) {- // if the new type is better than the old one, remove the old entries- ff->mAvailableFonts.RemoveElementAt(i);- --i;- } else if (feType < fe->mFontType) {- // otherwise if the new type is worse, skip it- return 1;+ // XXXOL DC Changed: Only optimize font entries with same weight and italic (see SHARED-96874)+ if (fe->mWeight == logFont.lfWeight &&+ fe->mItalic == (logFont.lfItalic == 0xFF)) {+ if (feType > fe->mFontType) {+ // if the new type is better than the old one, remove the old entries+ ff->mAvailableFonts.RemoveElementAt(i);+ --i;+ } else if (feType < fe->mFontType) {+ // otherwise if the new type is worse, skip it+ return 1;+ } } } -- 2.51.0 * * *
forum.palemoon.org
November 27, 2025 at 1:51 PM