Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

fix(linux): initialize Skia and HarfBuzz with native Wayland backend

mahaveergurjar7db337d5a3a6
diff --git a/src/Filee.App/Program.cs b/src/Filee.App/Program.cs
index 7aa04f93..50e1fde5 100644
--- a/src/Filee.App/Program.cs
+++ b/src/Filee.App/Program.cs
@@ -277,7 +277,8 @@ internal static class Program
var builder = AppBuilder.Configure<App>();
#if FILEE_NATIVE_WAYLAND
// The native backend is only compiled into Linux builds and only used when asked for (FILEE_USE_WAYLAND=1).
- builder = Filee.Platform.Linux.WaylandSupport.NativeWaylandRequested ? builder.UseWayland() : builder.UsePlatformDetect();
+ // UseWayland configures the Wayland windowing subsystem; UseSkia registers the rendering subsystem; UseHarfBuzz provides text shaping.
+ builder = Filee.Platform.Linux.WaylandSupport.NativeWaylandRequested ? builder.UseWayland().UseSkia().UseHarfBuzz() : builder.UsePlatformDetect();
#else
builder = builder.UsePlatformDetect();
#endif