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

#1304 in Text processing

Download history 212/week @ 2024-07-22 194/week @ 2024-07-29 162/week @ 2024-08-05 154/week @ 2024-08-12 165/week @ 2024-08-19 138/week @ 2024-08-26 135/week @ 2024-09-02 200/week @ 2024-09-09 242/week @ 2024-09-16 250/week @ 2024-09-23 307/week @ 2024-09-30 160/week @ 2024-10-07 144/week @ 2024-10-14 115/week @ 2024-10-21 133/week @ 2024-10-28 142/week @ 2024-11-04

540 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–13MB
~106K SLoC