mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 22:26:49 -06:00
French and Italian text is hyphenated with hyph-utf8's patterns, through hypher's "french" and "italian" features (hyph-fr.tex 2.13, MIT; hyph-it.tex 4.9, LPPL or MIT, taken under MIT; NOTICE has both). The Character panel's French, French: Canadian, French: Swiss and Italian, and fr / it locale codes, select them. A word with an elision hyphenates after its apostrophe (l'im-pri-me-rie, dell'im-pa-gi-na-zio-ne) in the patterned languages; before, any word with an apostrophe was left whole. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
991 B
TOML
29 lines
991 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-segmentation = { workspace = true }
|
||
unicode-bidi-mirroring = { workspace = true }
|
||
unicode-script = { workspace = true }
|
||
designcraft-geom = { workspace = true }
|
||
designcraft-color = { workspace = true }
|
||
designcraft-doc = { workspace = true }
|
||
designcraft-fonts = { workspace = true }
|
||
log = { workspace = true }
|
||
regex = { workspace = true }
|
||
fancy-regex = { workspace = true }
|
||
miniz_oxide = "0.8"
|
||
hypher = { version = "0.1.8", default-features = false, features = ["alloc", "french", "greek", "italian", "portuguese", "spanish", "norwegian"] }
|
||
|
||
[dev-dependencies]
|
||
designcraft-fonts = { workspace = true, features = ["testing"] }
|
||
proptest = { workspace = true }
|