#typesetting #xetex #tectonic #font-loading #jxoesneon #latex #git #tectonic-xetex-layout

sys jxoesneon-tectonic-xetex_layout

Internal crate for the Tectonic project: tectonic_xetex_layout

5 releases

0.17.3 Jan 12, 2026
0.17.2 Jan 12, 2026
0.16.1 Jan 5, 2026

#8 in #font-loading


Used in 2 crates

MIT license

2MB
48K SLoC

C++ 35K SLoC // 0.3% comments Rust 8K SLoC // 0.1% comments Python 3.5K SLoC // 0.1% comments M4 1K SLoC // 0.3% comments Automake 653 SLoC // 0.0% comments C 444 SLoC // 0.1% comments Shell 148 SLoC // 0.1% comments Templ 39 SLoC // 0.6% comments

The tectonic_xetex_layout crate

[!NOTE] This crate is part of the FerroTeX project, a specialized fork of Tectonic. It is published to crates.io as jxoesneon-tectonic-xetex_layout.

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

~3–15MB
~147K SLoC