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

#1501 in Text processing

Download history 83/week @ 2023-12-20 77/week @ 2023-12-27 98/week @ 2024-01-03 107/week @ 2024-01-10 100/week @ 2024-01-17 171/week @ 2024-01-24 176/week @ 2024-01-31 178/week @ 2024-02-07 193/week @ 2024-02-14 251/week @ 2024-02-21 231/week @ 2024-02-28 177/week @ 2024-03-06 156/week @ 2024-03-13 203/week @ 2024-03-20 155/week @ 2024-03-27 165/week @ 2024-04-03

711 downloads per month
Used in 18 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

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

~5–17MB
~158K SLoC