aboutsummaryrefslogtreecommitdiffstats
path: root/common.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-01-11Add alias file parsing functionMattias Andrée3-0/+152
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-10Add libfonts_get_font_root_dirsMattias Andrée4-0/+160
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-10Fix previous commitMattias Andrée1-2/+0
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-10Match scaleable fonts with specific sizes and resolutionsMattias Andrée1-18/+29
2023-01-10Add todoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-10Ignore case (ASCII) when comparing font descriptionsMattias Andrée1-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-10libfonts_do_font_descriptions_match: attempt to decode first to handle unnormalized dataMattias Andrée2-16/+40
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-10m + implement libfonts_do_{decoded_,}font_descriptions_matchMattias Andrée6-35/+149
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-09mMattias Andrée1-6/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-01-09Use XXX instead of TODO for missing function testsMattias Andrée10-12/+12
Signed-off-by: Mattias Andrée <maandree@kth.se>
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>