diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-08 10:48:03 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-08 10:48:03 +0100 |
commit | 541ec6127a75c6094e152b51b7a020cefe170902 (patch) | |
tree | 1d1d098a0d1263cfb771d478e87a1990a2a3a379 /libfonts.h | |
parent | More detailed subpixel layout descriptions (diff) | |
download | libfonts-541ec6127a75c6094e152b51b7a020cefe170902.tar.gz libfonts-541ec6127a75c6094e152b51b7a020cefe170902.tar.bz2 libfonts-541ec6127a75c6094e152b51b7a020cefe170902.tar.xz |
Test and fix libfonts_calculate_subpixel_order
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libfonts.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |