From 541ec6127a75c6094e152b51b7a020cefe170902 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 8 Jan 2023 10:48:03 +0100 Subject: Test and fix libfonts_calculate_subpixel_order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libfonts.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libfonts.h') diff --git a/libfonts.h b/libfonts.h index 1c3437f..326f301 100644 --- a/libfonts.h +++ b/libfonts.h @@ -1681,7 +1681,8 @@ int libfonts_do_font_descriptions_match(const char *, const char *); * @param spec The specification to test the description against, may include wildcards * @return 1 if the arguments match, 0 if they don't match */ -int libfonts_do_decoded_font_descriptions_match(const struct libfonts_font_description *, const struct libfonts_font_description *); +int libfonts_do_decoded_font_descriptions_match(const struct libfonts_font_description *, + const struct libfonts_font_description *); /* TODO implement libfonts_do_decoded_font_descriptions_match */ @@ -1772,8 +1773,8 @@ int libfonts_get_output_dpi(struct libfonts_output *, const char *); * @param transformation The applied transformation * @return The device's logical subpixel order */ -enum libfonts_subpixel_order libfonts_calculate_subpixel_order(enum libfonts_subpixel_order, const struct libfonts_transformation *); -/* TODO add test */ +enum libfonts_subpixel_order libfonts_calculate_subpixel_order(enum libfonts_subpixel_order, + const struct libfonts_transformation *); /** * Get the general subpixel layout, as well -- cgit v1.2.3-70-g09d2