mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
20 lines
786 B
C++
20 lines
786 B
C++
--- ui/gfx/font_util.cc.orig 2024-04-15 20:34:30 UTC
|
|
+++ ui/gfx/font_util.cc
|
|
@@ -6,7 +6,7 @@
|
|
|
|
#include "build/build_config.h"
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
#include <fontconfig/fontconfig.h>
|
|
#include "ui/gfx/linux/fontconfig_util.h"
|
|
#endif
|
|
@@ -24,7 +24,7 @@ void InitializeFonts() {
|
|
// background (resources have not yet been granted to cast) since it prevents
|
|
// the long delay the user would have seen on first rendering.
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
// Early initialize FontConfig.
|
|
InitializeGlobalFontConfigAsync();
|
|
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|