mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
On the port side, this update brings: - libvulkan enabled by default - more unit tests enabled - no longer dependent on Python 2.7 Security: https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-3065ec8fd3ec.html
20 lines
1 KiB
C++
20 lines
1 KiB
C++
--- ui/gfx/font_render_params.h.orig 2022-02-28 16:54:41 UTC
|
|
+++ ui/gfx/font_render_params.h
|
|
@@ -109,7 +109,7 @@ GFX_EXPORT FontRenderParams GetFontRenderParams(
|
|
const FontRenderParamsQuery& query,
|
|
std::string* family_out);
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// Clears GetFontRenderParams()'s cache. Intended to be called by tests that are
|
|
// changing Fontconfig's configuration.
|
|
GFX_EXPORT void ClearFontRenderParamsCacheForTest();
|
|
@@ -119,7 +119,7 @@ GFX_EXPORT void ClearFontRenderParamsCacheForTest();
|
|
GFX_EXPORT float GetFontRenderParamsDeviceScaleFactor();
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
|
|
- BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA)
|
|
+ BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD)
|
|
// Sets the device scale factor for FontRenderParams to decide
|
|
// if it should enable subpixel positioning.
|
|
GFX_EXPORT void SetFontRenderParamsDeviceScaleFactor(
|