mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -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
693 B
C++
20 lines
693 B
C++
--- components/enterprise/watermarking/watermark.cc.orig 2025-03-24 20:50:14 UTC
|
|
+++ components/enterprise/watermarking/watermark.cc
|
|
@@ -31,7 +31,7 @@ gfx::Font WatermarkFont() {
|
|
"Segoe UI",
|
|
#elif BUILDFLAG(IS_MAC)
|
|
"SF Pro Text",
|
|
-#elif BUILDFLAG(IS_LINUX)
|
|
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
"Ubuntu",
|
|
#elif BUILDFLAG(IS_CHROMEOS)
|
|
"Google Sans",
|
|
@@ -47,7 +47,7 @@ gfx::Font::Weight WatermarkFontWeight() {
|
|
}
|
|
|
|
gfx::Font::Weight WatermarkFontWeight() {
|
|
-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
|
+#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
|
|
return gfx::Font::Weight::SEMIBOLD;
|
|
#else
|
|
return gfx::Font::Weight::MEDIUM;
|