Cargo Features

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

These default features are set whenever usvgr-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.12

memmap-fonts default

Enables font files memmaping for faster loading.

Enables memmap of fontdb ^0.12