ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
include/ascii-chat/os/font.h
Go to the documentation of this file.
1
6#pragma once
7#include <stdbool.h>
8#include <stddef.h>
9#include <stdint.h>
11#include <libplatform/font.h>
12
13// Resolve a font spec to a usable form for the current platform.
14// spec: NULL/empty → platform default; bundled name; family name; or absolute path.
15// out: resolved file path or unresolved specification. macOS passes unknown
16// names through; the FreeType renderer does not resolve family names.
17// out_is_path: true if out is an absolute file path; false for names or bundled data.
18// out_font_data: non-NULL only for bundled fonts; points to TTF data in memory.
19// out_font_data_size: size of font_data, or 0 if not used.
Synchronized per-thread pending error stacks and value snapshots. SET_ERRNO pushes,...