This function is to select the good (and installed) font depending of the target system. We should send a collection with different font name, and Bloc can automatically select the first supported font.
I opened similar issue at number #185
Options include:
implement our own API at Alexandrie font manager that detects the first available... for exact font name is not hard and "monospace" could be a default that's included in a local resource, like... deployed with the Pharo app.
Create FFI bindings to fontconfig, a library done for this purpose, that works well with freetype and cairo.
Hi, is it possible to manage font name like CSS ?
For example :
This function is to select the good (and installed) font depending of the target system. We should send a collection with different font name, and Bloc can automatically select the first supported font.
We need this function for Toplo :)