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

#1396 in Text processing

Download history 159/week @ 2024-10-09 119/week @ 2024-10-16 128/week @ 2024-10-23 148/week @ 2024-10-30 105/week @ 2024-11-06 91/week @ 2024-11-13 124/week @ 2024-11-20 164/week @ 2024-11-27 219/week @ 2024-12-04 216/week @ 2024-12-11 119/week @ 2024-12-18 52/week @ 2024-12-25 79/week @ 2025-01-01 119/week @ 2025-01-08 171/week @ 2025-01-15 139/week @ 2025-01-22

508 downloads per month
Used in 19 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
~107K SLoC