Remove font rendering patch due to it being merged upstream

This commit is contained in:
Laura Hausmann 2023-11-13 01:40:54 +01:00
parent f6951e7546
commit 21ccfa46b0
Signed by untrusted user: zotan
GPG key ID: D044E84C5BE01605
2 changed files with 0 additions and 18 deletions

View file

@ -8,7 +8,6 @@ lockPref("browser.startup.homepage", "about:blank");
lockPref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
lockPref("browser.uidensity", 1);
lockPref("browser.startup.page", 3);
//lockPref("layout.css.system-ui.enabled", false);
lockPref("privacy.fingerprintingProtection", false);
lockPref("signon.rememberSignons", false);
lockPref("browser.download.viewableInternally.typeWasRegistered.jxl", true);

View file

@ -1,17 +0,0 @@
diff --git a/gfx/thebes/gfxFont.cpp b/gfx/thebes/gfxFont.cpp
--- a/gfx/thebes/gfxFont.cpp
+++ b/gfx/thebes/gfxFont.cpp
@@ -841,11 +841,11 @@
}
void gfxShapedText::AdjustAdvancesForSyntheticBold(float aSynBoldOffset,
uint32_t aOffset,
uint32_t aLength) {
- uint32_t synAppUnitOffset = aSynBoldOffset * mAppUnitsPerDevUnit;
+ int32_t synAppUnitOffset = aSynBoldOffset * mAppUnitsPerDevUnit;
CompressedGlyph* charGlyphs = GetCharacterGlyphs();
for (uint32_t i = aOffset; i < aOffset + aLength; ++i) {
CompressedGlyph* glyphData = charGlyphs + i;
if (glyphData->IsSimpleGlyph()) {
// simple glyphs ==> just add the advance