Function init
pub fn init()
Expand description
On Windows, and if the default feature “embed-icudtl” is not set, this function writes the
file icudtl.dat
into the current executable’s directory making sure that it’s available
when text shaping is used in Skia.
If your executable directory can not be written to, make sure that icudtl.dat
is
available.
Note that it is currently not possible to load icudtl.dat
from another location.
If the default feature “embed-icudtl” is set, the icudtl.dat
file is directly used from
memory, so no icudtl.dat
file is needed.