summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/unifont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-terminal/unifont.c')
-rw-r--r--src/libsystemd-terminal/unifont.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libsystemd-terminal/unifont.c b/src/libsystemd-terminal/unifont.c
index aa91794410..7520015988 100644
--- a/src/libsystemd-terminal/unifont.c
+++ b/src/libsystemd-terminal/unifont.c
@@ -181,6 +181,18 @@ unifont *unifont_unref(unifont *u) {
return NULL;
}
+unsigned int unifont_get_width(unifont *u) {
+ assert(u);
+
+ return 8U;
+}
+
+unsigned int unifont_get_height(unifont *u) {
+ assert(u);
+
+ return 16U;
+}
+
unsigned int unifont_get_stride(unifont *u) {
assert(u);