mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-29 17:54:59 +01:00
25 lines
906 B
TOML
25 lines
906 B
TOML
[package]
|
|
name = "pdfcraft-fonts"
|
|
description = "Font metrics and text encoding helpers for generated appearances (standard fonts, WinAnsi)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
# `EmbeddedFace`, the type of the generated `CRAFT_FONTS` table (and the manifest parser `tests/build_input.rs` runs).
|
|
craft-fonts-build = { workspace = true }
|
|
craft-pdf = { workspace = true }
|
|
pdfcraft-cos = { workspace = true }
|
|
# Glyph outlines of the bundled script font (typed signatures); already in the tree via egui.
|
|
skrifa = "0.44"
|
|
# Arabic shaping for text written into PDFs; already in the tree via egui, on the same read-fonts.
|
|
harfrust = "0.12"
|
|
unicode-bidi = "0.3"
|
|
|
|
[build-dependencies]
|
|
# `build.rs` reads each craft-fonts manifest with its parser, so the table carries the face index and role.
|
|
craft-fonts-build = { workspace = true }
|