aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 17:04:08 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 17:04:08 +0100
commitaaac48299e7c29df0418974cdc99494864a610f8 (patch)
treef0490bc90babb2c48d8d8f158aec2b48e347fdca
parentDraft implementations of libfonts_get_{default,output}_rendering_settings (diff)
downloadlibfonts-aaac48299e7c29df0418974cdc99494864a610f8.tar.gz
libfonts-aaac48299e7c29df0418974cdc99494864a610f8.tar.bz2
libfonts-aaac48299e7c29df0418974cdc99494864a610f8.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--Makefile1
-rw-r--r--libfonts_get_output_rendering_settings.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 46df5b2..c915208 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ PUBLIC_OBJ =\
libfonts_get_default_font_name.o\
libfonts_get_default_rendering_settings.o\
libfonts_get_output_dpi.o\
+ libfonts_get_output_rendering_settings.o\
libfonts_get_subpixel_order_class.o\
libfonts_unget_subpixel_order_class.o\
libfonts_used_environs.o
diff --git a/libfonts_get_output_rendering_settings.c b/libfonts_get_output_rendering_settings.c
index 07a967c..7554d51 100644
--- a/libfonts_get_output_rendering_settings.c
+++ b/libfonts_get_output_rendering_settings.c
@@ -23,6 +23,7 @@ getn(const char *file_part1, size_t file_part1_len, const char *file_part2,
memcpy(path, file_part1, file_part1_len);
memcpy(&path[file_part1_len], file_part2, file_part2_len + 1);
+ /* TODO aliases should be declarable above the first "[$name]" */
/* TODO look for "[$name]" */
/* TODO (use LIST_RENDERING_SETTINGS) */