22 lines
665 B
Plaintext
22 lines
665 B
Plaintext
Index: pdf/pdfium/pdfium_engine.cc
|
|
--- pdf/pdfium/pdfium_engine.cc.orig
|
|
+++ pdf/pdfium/pdfium_engine.cc
|
|
@@ -81,7 +81,7 @@
|
|
#include "gin/public/cppgc.h"
|
|
#endif
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
#include "pdf/pdfium/pdfium_font_linux.h"
|
|
#endif
|
|
|
|
@@ -516,7 +516,7 @@ void InitializeSDK(bool enable_v8, FontMappingMode fon
|
|
|
|
FPDF_InitLibraryWithConfig(&config);
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
g_font_mapping_mode = font_mapping_mode;
|
|
InitializeLinuxFontMapper();
|
|
#endif
|