Cargo Features

[dependencies]
usvg-text-layout = { version = "0.38.0", default-features = false, features = ["system-fonts", "memmap-fonts"] }
default = memmap-fonts, system-fonts

These default features are set whenever usvg-text-layout is added without default-features = false somewhere in the dependency tree.

system-fonts default

Enables system fonts loading.

Enables fontconfig and fs of fontdb ^0.16

memmap-fonts default

Enables font files memmaping for faster loading.

Enables memmap of fontdb ^0.16