mirror of
https://github.com/storytold/designcraft.git
synced 2026-10-26 03:06:56 -06:00
Text set in Portuguese ("Portuguese: Brazilian", "Portuguese", pt_BR) got
no hyphenation, so justified Portuguese columns could only stretch their
word spaces (up to 335 % of the normal space in a 56 mm column of 10 pt
Times).
Turn on hypher's "portuguese" feature, beside Spanish: hyph-pt.tex 1.4
(2024-07-13) from hyph-utf8, BSD-3-Clause, credited in NOTICE.
Lang::for_language already maps the Portuguese names and locale codes.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
26 lines
831 B
TOML
26 lines
831 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"
|
||
hypher = { version = "0.1.8", default-features = false, features = ["alloc", "portuguese", "spanish"] }
|
||
|
||
[dev-dependencies]
|
||
designcraft-fonts = { workspace = true, features = ["testing"] }
|
||
proptest = { workspace = true }
|