aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-09Implement libfonts_parse_double__ and last part of libfonts_get_output_rendering_settings (section aliases)Mattias Andrée2-6/+36
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Print warningsMattias Andrée7-17/+64
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08m + add testsMattias Andrée5-104/+184
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Fix warningsMattias Andrée10-69/+111
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Partially implement libfonts_get_default_font, libfonts_get_{default,output}_rendering_settingsMattias Andrée13-27/+648
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Fix error handlingMattias Andrée3-65/+81
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08struct libfonts_context will be used to print warningsMattias Andrée4-50/+66
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08mMattias Andrée2-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Draft implementations of libfonts_get_{default,output}_rendering_settingsMattias Andrée6-26/+242
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Add environment spoofingMattias Andrée8-65/+187
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Improve libfonts_get_default_font_name and draft implementation of libfonts_get_default_fontMattias Andrée5-93/+254
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08mMattias Andrée1-0/+16
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Fix and test libfonts_get_output_dpiMattias Andrée1-25/+303
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Move test-todos into .c-files and add empty test functionsMattias Andrée5-9/+45
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Fix and test libfonts_get_default_font_nameMattias Andrée3-2/+79
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08mMattias Andrée1-3/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08Test and fix libfonts_calculate_subpixel_orderMattias Andrée3-5/+346
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-08More detailed subpixel layout descriptionsMattias Andrée1-20/+50
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-07Fix documentationMattias Andrée1-4/+4
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-07Add testsMattias Andrée6-12/+335
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-07Add textual descriptions of subpixel layoutsMattias Andrée1-2/+264
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-07Add libfonts_{get,unget}_subpixel_order_classMattias Andrée4-1/+271
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-07Add LIBFONTS_SUBPIXEL_ORDER_BALANCED_??_?? subpixels ordersMattias Andrée1-1/+277
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-07Add subpixels diagramsMattias Andrée2-1/+341
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add specifications to todosMattias Andrée1-9/+32
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add default fontsMattias Andrée3-0/+138
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add LIBFONTS_ANTIALIASING_GREYSCALE_FORCEDMattias Andrée1-0/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Doc libfonts_antialiasingMattias Andrée1-0/+24
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add LIBFONTS_ANTIALIASING_UNSPECIFIEDMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22libfonts_get_default_rendering_settings shall be used by output-unaware applicationsMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add min_dpsqi_for_greyscale and min_dpsqi_for_subpixelMattias Andrée1-0/+19
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Improve libfonts_rendering_settingsMattias Andrée1-14/+25
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add documentationMattias Andrée1-3/+64
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add some blank linesMattias Andrée2-0/+9
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22m docMattias Andrée1-8/+6
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Put NULL, in doc, inside backticksMattias Andrée1-5/+5
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22libfonts_get_output_dpi: inversion of transformation should be usedMattias Andrée2-53/+88
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Fix EDID reading in libfonts_get_output_dpi and make it use the output transformationMattias Andrée7-73/+98
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Calculate logical subpixel order from transformationMattias Andrée2-69/+173
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-22Add documentationMattias Andrée2-3/+181
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-02-19Improve makefileMattias Andrée5-4/+12
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-21Fix union of overlapping charset subset rangesMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-20Implement libfonts_decode_font_descriptionMattias Andrée2-0/+217
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-20Add prototype for libfonts_do_decoded_font_descriptions_matchMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-11Implement libfonts_encode_font_descriptionMattias Andrée3-1/+107
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-10Store DPI in floating point instead of deci-integer + implement libfonts_get_output_dpiMattias Andrée3-5/+46
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-10Add function prototype: libfonts_do_font_descriptions_matchMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-10Implement libfonts_calculate_subpixel_orderMattias Andrée3-2/+63
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-11-10Add missing include directiveMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>