NoTeX 1.0.0
A modern noteworthy LaTeX template
Loading...
Searching...
No Matches
notex::assets::EmbeddedHexFile Struct Reference

One binary file embedded into the binary as hexadecimal text. More...

#include <notex/assets.hpp>

Public Attributes

std::string_view name
 File name (e.g. "NotoSans.ttf").
std::string_view hex_content
 Contents, encoded as lowercase hex.

Detailed Description

One binary file embedded into the binary as hexadecimal text.

Used only as the intermediate representation the generated font header produces: font files are binary, so cmake/generate_embedded_assets.cmake reads them as a hex-encoded byte stream (binary-safe, unlike the raw string literals used for text assets) rather than as an EmbeddedFile directly. font_files() decodes these into ordinary EmbeddedFile values the first time it is called.

Definition at line 41 of file assets.hpp.

Member Data Documentation

◆ hex_content

std::string_view notex::assets::EmbeddedHexFile::hex_content

Contents, encoded as lowercase hex.

Definition at line 43 of file assets.hpp.

◆ name

std::string_view notex::assets::EmbeddedHexFile::name

File name (e.g. "NotoSans.ttf").

Definition at line 42 of file assets.hpp.


The documentation for this struct was generated from the following file: