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. | |
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.
| std::string_view notex::assets::EmbeddedHexFile::hex_content |
Contents, encoded as lowercase hex.
Definition at line 43 of file assets.hpp.
| std::string_view notex::assets::EmbeddedHexFile::name |
File name (e.g. "NotoSans.ttf").
Definition at line 42 of file assets.hpp.