tectonic/crates/xetex_layout
Winston H d260961426
fix: use c++ 17
2024-06-26 07:05:10 +08:00
..
layout Add graphite tests, make Graphite work correctly in more cases 2024-04-16 20:47:15 -07:00
src Fixes for Clippy 1.53.0 2021-06-19 10:13:56 -04:00
CHANGELOG.md crates/xetex_layout: add this 2021-01-27 23:03:14 -05:00
Cargo.toml bridge_icu: put the libicudata link hack here, where it belongs 2023-09-17 14:38:05 -04:00
README.md BREAKING: fix up include-dir handling 2021-01-30 11:47:09 -05:00
build.rs fix: use c++ 17 2024-06-26 07:05:10 +08:00

README.md

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.