mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-24 18:26:50 -06:00
Characters the primary font lacks try a fallback chain by language before the language-blind search: Japanese (the craft-fonts Japanese faces first, Mincho first), Simplified Chinese (also plain Chinese), Traditional Chinese and Korean each list their macOS, Windows and Linux system families. Hangul, kana and Bopomofo pick their language's chain whatever the character language; ideographs and CJK punctuation follow it, and keep today's fallback without a CJK language. Chain families load from the system font catalog the first time they are needed. designcraft_fonts::testing (feature `testing`) builds synthetic fonts with a given family name and coverage for tests.
25 lines
727 B
TOML
25 lines
727 B
TOML
[package]
|
||
name = "designcraft-compose"
|
||
version.workspace = true
|
||
edition.workspace = true
|
||
license.workspace = true
|
||
description = "DesignCraft text composition: paragraph composer (Knuth–Plass), hyphenation, justification, columns, threading, wrap"
|
||
|
||
[lints]
|
||
workspace = true
|
||
|
||
[dependencies]
|
||
unicode-bidi = { workspace = true }
|
||
unicode-bidi-mirroring = { workspace = true }
|
||
designcraft-geom = { workspace = true }
|
||
designcraft-color = { workspace = true }
|
||
designcraft-doc = { workspace = true }
|
||
designcraft-fonts = { workspace = true }
|
||
log = { workspace = true }
|
||
regex = { workspace = true }
|
||
miniz_oxide = "0.8"
|
||
|
||
[dev-dependencies]
|
||
designcraft-fonts = { workspace = true, features = ["testing"] }
|
||
proptest = { workspace = true }
|