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

#1276 in Text processing

Download history 105/week @ 2024-01-22 177/week @ 2024-01-29 205/week @ 2024-02-05 209/week @ 2024-02-12 233/week @ 2024-02-19 234/week @ 2024-02-26 199/week @ 2024-03-04 159/week @ 2024-03-11 195/week @ 2024-03-18 133/week @ 2024-03-25 234/week @ 2024-04-01 212/week @ 2024-04-08 138/week @ 2024-04-15 162/week @ 2024-04-22 121/week @ 2024-04-29 109/week @ 2024-05-06

547 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
~157K SLoC