After commit 5de22d1e559cd0f1f5fa4e247f0ce153710fbeab (and ab612633003c75dfb30664db8cc8924c086a91ee), Android Viewer and gtktiledviewer crash when trying to open any doc.
Regression from commit 5de22d1e559cd0f1f5fa4e247f0ce153710fbeab Author: Tor Lillqvist Date: Wed Mar 9 11:33:16 2022 +0200 Handle "addfont" from Collabora Online We use the AddTempDevFont() API to add a new font. Sadly there is no corresponding way to remove such a temporarily added font. Change-Id: I6fe61919daa5af29e964cec1caf7293aefa8ea4f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132948 Adding CC: to Tor Lillqvist Could you please take a look at this? Or should I just revert those commits for now?
What about the follow-up fix ab612633003c75dfb30664db8cc8924c086a91ee , does that help?
(In reply to Tor Lillqvist from comment #2) > What about the follow-up fix ab612633003c75dfb30664db8cc8924c086a91ee , does > that help? Unfortunately not, that was included in my builds already.
This was fixed by: commit 63bad2bf8dc0d1052532e92be1a18118c0398fbf Author: Tor Lillqvist Date: Tue Apr 19 16:40:11 2022 +0300 Fix regression in the iOS app (and possibly the Android and GTK apps) The problem was caused by my remote font downloading changes. We need to be more careful in lo_initialize() and libreofficekit_hook_2() to distinguish whether the code is called from "normal" Online (with "pre-initialisation" through lok_preinit_2()) or otherwise, for instance the iOS app, where not pre-initialisation is done. Sadly, this fix makes state handling in init.cxx even more complex with one more static Boolean flag. Change-Id: I2a8fa96740eb79725aa162cf7adc86d49a8ba603 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133175 Tested-by: Jenkins CollaboraOffice Reviewed-by: Tor Lillqvist Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133196 Tested-by: Jenkins Thanks!