Our latest release has been having some font trouble on Solus. Our snapcraft.yaml file hasn’t changed between releases so I’m wondering if it’s something to do with the integration. We’re seeing the following error which causes the app to fail to launch. Noto Sans is a Google web font we include in our Electron app.
[3821:1219/085127.455085:FATAL:platform_font_linux.cc(63)] Check failed: typeface. Could not find any font: Noto Sans, sans
#0 0x000001f8d157 <unknown>
#1 0x000001fa130b <unknown>
#2 0x000001beee0f <unknown>
#3 0x000001beea4f <unknown>
#4 0x000001bef776 <unknown>
#5 0x000001bd7ad9 <unknown>
#6 0x000000cdd5b0 <unknown>
#7 0x000000f79ea3 <unknown>
#8 0x000003ee819d atom::api::WebContents::InitWithSessionAndOptions()
#9 0x000003ee89af atom::api::WebContents::WebContents()
#10 0x000003ef4196 atom::api::WebContents::Create()
#11 0x000003f061fa atom::api::Window::Window()
#12 0x000003f07dfc atom::api::Window::New()
#13 0x000003ea7ef0 mate::internal::InvokeNew<>()
#14 0x000003ea8080 mate::internal::Dispatcher<>::DispatchToCallback()
#15 0x7fdb394e4df9 <unknown>
#16 0x7fdb3994d51c <unknown>
#17 0x7fdb3994cf56 <unknown>
#18 0x130603b8437d <unknown>
I’ve also tested on Ubuntu and there’s no such error there. A little bit of Googling reveals that another project has had similar issues more info. Their suggestion was to include the desktop plug, however when we tried this we ended up with no fonts rendering whatsoever.
Any help would be much appriciated! Thanks