summaryrefslogtreecommitdiff
path: root/src/font.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-07-24 00:46:18 +0200
committerCarl Hetherington <cth@carlh.net>2026-07-24 00:46:18 +0200
commit6d830c63ba53993f2818b4fb61dbc17284f8f557 (patch)
treef37fd664623391a025e37915a681d547e7c4e484 /src/font.h
parentc6c34ad5a24f99f9f7919a4bb72f22d7c6452ada (diff)
Basic TTC (collection) support.HEADv0.0.7main
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/font.h b/src/font.h
index 99cb892..e9ce85d 100644
--- a/src/font.h
+++ b/src/font.h
@@ -46,6 +46,7 @@ public:
Font(boost::filesystem::path const& ttf_file);
/** Read and parse a TTF font from a block of memory */
Font(uint8_t const* data, int size);
+ Font(Source& source);
/** Write the font to a file */
void write(boost::filesystem::path const& ttf_file) const;