WebKit Bugzilla
Attachment 372233 Details for
Bug 198909
: [WinCairo] incorrect font height for 'Google Sans Display' font
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
WIP patch
wip.patch (text/plain), 775 bytes, created by
Fujii Hironori
on 2019-06-16 23:22:29 PDT
(
hide
)
Description:
WIP patch
Filename:
MIME Type:
Creator:
Fujii Hironori
Created:
2019-06-16 23:22:29 PDT
Size:
775 bytes
patch
obsolete
>diff --git a/Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp b/Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp >index 157f80b51f2..2dc023651c3 100644 >--- a/Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp >+++ b/Source/WebCore/platform/graphics/win/SimpleFontDataCairoWin.cpp >@@ -76,7 +76,7 @@ void Font::platformInit() > const UINT useTypoMetricsMask = 1 << 7; > if (metrics.otmfsSelection & useTypoMetricsMask) { > ascent = metrics.otmAscent * metricsMultiplier; >- descent = metrics.otmDescent * metricsMultiplier; >+ descent = -metrics.otmDescent * metricsMultiplier; > lineGap = metrics.otmLineGap * metricsMultiplier; > } else { > ascent = textMetrics.tmAscent * metricsMultiplier;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 198909
:
372231
|
372232
|
372233
|
372624
|
372821
|
372822
|
372823
|
372825
|
372828
|
372829
|
372831
|
372833