fune/gfx
Jonathan Kew 4170df881e Bug 1871009 - Improve mapping of the CoreText font-weight trait to values for the CSS font-weight property. r=layout-reviewers,emilio
Checking the fonts in HelveticaNeue.ttc on macOS Sonoma, both HelveticaNeue-Medium and -MediumItalic have the same weight (500) in their OS/2 table, and return the same value (0.23) for their kCTFontWeightTrait. Back in bug 931426 when the weight override pref was added, we were getting different weights from appKit for these two "Medium" faces, but that no longer appears to be an issue.

This patch makes our CoreTextWeightToCSSWeight mapping a bit more sophisticated, with the added data point of CSS/OpenType weight 500 = CoreText weight 0.23, which we're seeing here in HelveticaNeue. With this refinement in the mapping, we can drop the old override for the HelveticaNeue-MediumItalic face.

Differential Revision: https://phabricator.services.mozilla.com/D197665
2024-01-04 15:46:47 +00:00
..
2d Bug 1871613 - Ensure CanvasDrawEventRecorder releases external surface dependencies. r=gfx-reviewers,lsalzman 2023-12-23 01:34:31 +00:00
angle
cairo Bug 1870243 - Cherry-pick https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/256 to correctly reset the current operator when several added highlights in a pdf are printed r=jfkthame 2024-01-03 16:09:28 +00:00
config Bug 1870277 - Include failure message when a feature is marked as failed. r=aosmond 2023-12-15 15:07:17 +00:00
docs Bug 1519636 - Remove nbsp in the doc r=firefox-source-docs-reviewers,geckoview-reviewers,ahal,m_kato 2023-12-03 11:01:53 +00:00
gl Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman 2023-12-19 09:23:21 +00:00
graphite2
harfbuzz Bug 1864285 - Update harfbuzz to 8.3.0 r=jfkthame 2023-11-22 16:01:03 +00:00
ipc Bug 1871467 - Remove unused ReplayTexture support. r=aosmond CLOSED TREE 2023-12-22 04:58:16 +00:00
layers Bug 1872646 - Only use DrawTargetWebgl::BeginFrame when actually mutating a canvas. r=aosmond 2024-01-02 19:35:04 +00:00
ots
qcms Bug 1871185 - Add support for creating a displayP3 profile. r=aosmond 2023-12-21 15:00:54 +00:00
skia Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
src Bug 1872545 - Hoist color-font palette cache out of TextRunDrawParams to the nsPresContext or CanvasRenderingContext2D, for greater effectiveness. r=gfx-reviewers,lsalzman 2024-01-04 11:07:44 +00:00
tests Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
thebes Bug 1871009 - Improve mapping of the CoreText font-weight trait to values for the CSS font-weight property. r=layout-reviewers,emilio 2024-01-04 15:46:47 +00:00
vr Bug 1861605 - Use IDXGIResource1::CreateSharedHandle() instead of IDXGIResource::GetSharedHandle() r=gfx-reviewers,lsalzman 2023-12-19 09:23:21 +00:00
webrender_bindings Backed out changeset 22c07e92d841 (bug 1868928) for causing memory leaks. 2023-12-30 14:52:41 +02:00
wgpu_bindings Bug 1872658 - Update wgpu to revision 46757372cc02d6608124502104a0c225e1744fd7. r=webgpu-reviewers,supply-chain-reviewers,teoxoy 2024-01-03 09:33:06 +00:00
wr Bug 1604280 - Implement an APZ minimap for WebRender. r=dlrobertson,gw 2023-12-21 19:02:32 +00:00
ycbcr Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille 2023-12-08 10:43:59 +00:00
metrics.yaml Bug 1870021 - Add some GPU process telemetry probes. r=jrmuizel 2023-12-21 11:43:39 +00:00
moz.build