fune/gfx/src
Jonathan Kew bfa1d70def Bug 1715501 - patch 2 - Pass the presContext to platform font lookup methods so they can query it for font visibility. r=emilio
This does not in itself change user-visible behavior, but is a foundation for bug
1715507 where we will make the behavior per-context instead of global. This is basically
just plumbing, passing a pointer to the presContext that's asking for fonts to be
resolved all the way down to the gfx code that handles the font list and looks up
fonts.

For the immediate goal of making font visibility work per-context, it would be
sufficient to pass the desired visibility level in to the font-selection methods.
However, passing the actual presContext down (and not just its visibility level)
will enable us to report back via the dev console when a font is blocked (see bug
1715537), so the approach here provides the basis for that upcoming enhancement.

Depends on D124194

Differential Revision: https://phabricator.services.mozilla.com/D124195
2021-09-08 12:18:17 +00:00
..
AppUnits.h
ArrayView.h
components.conf
CompositorHitTestInfo.h
DriverCrashGuard.cpp
DriverCrashGuard.h
FilterDescription.h
FilterSupport.cpp
FilterSupport.h
FontPropertyTypes.h
gfxCrashReporterUtils.cpp
gfxCrashReporterUtils.h
gfxTelemetry.cpp
gfxTelemetry.h
moz.build Bug 1725940 - patch 1 - Extract nsFontCache from nsDeviceContext.cpp to its own file. r=emilio 2021-08-16 13:58:03 +00:00
nsBoundingMetrics.h
nsColor.cpp
nsColor.h
nsColorNameList.h
nsColorNames.h
nsCoord.h Bug 1726620 Part 2 - Add structs representing strong-type app units coordinates. r=botond 2021-08-24 17:19:21 +00:00
nsDeviceContext.cpp Merge autoland to mozilla-central. a=merge 2021-09-04 12:38:27 +03:00
nsDeviceContext.h Bug 1725940 - patch 2 - Move nsFontCache from the device context to the prescontext. r=emilio 2021-08-16 13:58:03 +00:00
nsFont.cpp
nsFont.h Bug 1706080 - [css-fonts] Implement 'font-synthesis: small-caps'. r=jfkthame 2021-08-09 21:41:34 +00:00
nsFontCache.cpp Bug 1725297 - Remove expiring font telemetry probes. r=emilio 2021-08-31 13:48:51 +00:00
nsFontCache.h Bug 1725940 - patch 2 - Move nsFontCache from the device context to the prescontext. r=emilio 2021-08-16 13:58:03 +00:00
nsFontMetrics.cpp Bug 1715501 - patch 2 - Pass the presContext to platform font lookup methods so they can query it for font visibility. r=emilio 2021-09-08 12:18:17 +00:00
nsFontMetrics.h Bug 1725297 - Remove expiring font telemetry probes. r=emilio 2021-08-31 13:48:51 +00:00
nsGfxCIID.h
nsIFontEnumerator.idl
nsITheme.h
nsMargin.h
nsPoint.h
nsRect.cpp
nsRect.h
nsRectAbsolute.h
nsRegion.cpp
nsRegion.h
nsRegionFwd.h
nsSize.h
nsThebesFontEnumerator.cpp
nsThebesFontEnumerator.h
nsTransform2D.cpp
nsTransform2D.h
RegionBuilder.h
RelativeLuminanceUtils.h
TiledRegion.cpp
TiledRegion.h
X11UndefineNone.h
X11Util.cpp
X11Util.h