EXC_BAD_ACCESS on ios, 3rd party patch exists
Hello, I wanted to point out that on ios arm64 fontconfig fails to scan a font directory with error
Attached an example of a failing initfontconfig.cpp font config initialization. The problem appear to be known elsewhere to the point a simple 3rdparty patch exists and other users workaround the problem in a similar way.
The culprit of the problem fixed by the patch (also attached) is that selection of platform
src/fcatomic.h is performed checking the non existing
__IPHONE_VERSION_MIN_REQUIRED macro (correct is
__IPHONE_OS_VERSION_MIN_REQUIRED). Also the provided fallbacks are not working on ios arm64, causing the above error. I highly recommend apply a reviewed version of the patch.