7 releases

0.2.4 Feb 5, 2024
0.2.3 Jun 12, 2023
0.2.2 May 18, 2023
0.2.1 Oct 3, 2022
0.1.0 Jun 4, 2021

#2639 in Text processing

Download history 257/week @ 2025-09-11 216/week @ 2025-09-18 270/week @ 2025-09-25 215/week @ 2025-10-02 184/week @ 2025-10-09 289/week @ 2025-10-16 195/week @ 2025-10-23 188/week @ 2025-10-30 184/week @ 2025-11-06 167/week @ 2025-11-13 166/week @ 2025-11-20 171/week @ 2025-11-27 145/week @ 2025-12-04 85/week @ 2025-12-11

250 downloads per month
Used in 21 crates (2 directly)

MIT license

2MB
44K SLoC

C++ 37K SLoC // 0.3% comments Python 3.5K SLoC // 0.1% comments Rust 1K SLoC // 0.1% comments M4 1K SLoC // 0.3% comments Automake 653 SLoC // 0.0% comments C 429 SLoC // 0.1% comments Objective-C++ 182 SLoC // 0.2% comments Shell 148 SLoC // 0.1% comments Templ 39 SLoC // 0.6% comments

The tectonic_xetex_layout crate

This crate is part of the Tectonic project. It provides the font loading and layout routines of XeTeX as a crate, currently providing only a C API.

If your project depends on this crate, Cargo will export for your build script an environment variable named DEP_TECTONIC_XETEX_LAYOUT_INCLUDE_PATH, which will be a semicolon-separated list of directories enabling your code to include the tectonic_xetex_layout.h header.

You will need to ensure that your Rust code actually references this crate in order for the linker to include linked libraries. A use statement will suffice:

#[allow(unused_imports)]
#[allow(clippy::single_component_path_imports)]
use tectonic_xetex_layout;

Cargo features

This crate provides the following Cargo features:

  • external-harfbuzz: activates the same-named feature in the tectonic_bridge_harfbuzz dependency.

Dependencies

~2–14MB
~116K SLoC