aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add alias file parsing functionMattias Andrée2023-01-113-0/+152
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libfonts_get_font_root_dirsMattias Andrée2023-01-104-0/+160
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix previous commitMattias Andrée2023-01-101-2/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Match scaleable fonts with specific sizes and resolutionsMattias Andrée2023-01-101-18/+29
|
* Add todoMattias Andrée2023-01-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Ignore case (ASCII) when comparing font descriptionsMattias Andrée2023-01-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_do_font_descriptions_match: attempt to decode first to handle unnormalized dataMattias Andrée2023-01-102-16/+40
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + implement libfonts_do_{decoded_,}font_descriptions_matchMattias Andrée2023-01-106-35/+149
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2023-01-091-6/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Use XXX instead of TODO for missing function testsMattias Andrée2023-01-0910-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Implement libfonts_parse_double__ and last part of libfonts_get_output_rendering_settings (section aliases)Mattias Andrée2023-01-092-6/+36
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Print warningsMattias Andrée2023-01-087-17/+64
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + add testsMattias Andrée2023-01-085-104/+184
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix warningsMattias Andrée2023-01-0810-69/+111
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Partially implement libfonts_get_default_font, libfonts_get_{default,output}_rendering_settingsMattias Andrée2023-01-0813-27/+648
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix error handlingMattias Andrée2023-01-083-65/+81
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* struct libfonts_context will be used to print warningsMattias Andrée2023-01-084-50/+66
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2023-01-082-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Draft implementations of libfonts_get_{default,output}_rendering_settingsMattias Andrée2023-01-086-26/+242
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add environment spoofingMattias Andrée2023-01-088-65/+187
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve libfonts_get_default_font_name and draft implementation of libfonts_get_default_fontMattias Andrée2023-01-085-93/+254
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2023-01-081-0/+16
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix and test libfonts_get_output_dpiMattias Andrée2023-01-081-25/+303
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Move test-todos into .c-files and add empty test functionsMattias Andrée2023-01-085-9/+45
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix and test libfonts_get_default_font_nameMattias Andrée2023-01-083-2/+79
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2023-01-081-3/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Test and fix libfonts_calculate_subpixel_orderMattias Andrée2023-01-083-5/+346
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* More detailed subpixel layout descriptionsMattias Andrée2023-01-081-20/+50
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix documentationMattias Andrée2023-01-071-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add testsMattias Andrée2023-01-076-12/+335
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add textual descriptions of subpixel layoutsMattias Andrée2023-01-071-2/+264
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libfonts_{get,unget}_subpixel_order_classMattias Andrée2023-01-074-1/+271
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add LIBFONTS_SUBPIXEL_ORDER_BALANCED_??_?? subpixels ordersMattias Andrée2023-01-071-1/+277
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add subpixels diagramsMattias Andrée2023-01-072-1/+341
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add specifications to todosMattias Andrée2022-07-221-9/+32
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add default fontsMattias Andrée2022-07-223-0/+138
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add LIBFONTS_ANTIALIASING_GREYSCALE_FORCEDMattias Andrée2022-07-221-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Doc libfonts_antialiasingMattias Andrée2022-07-221-0/+24
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add LIBFONTS_ANTIALIASING_UNSPECIFIEDMattias Andrée2022-07-221-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_get_default_rendering_settings shall be used by output-unaware applicationsMattias Andrée2022-07-221-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add min_dpsqi_for_greyscale and min_dpsqi_for_subpixelMattias Andrée2022-07-221-0/+19
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Improve libfonts_rendering_settingsMattias Andrée2022-07-221-14/+25
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add documentationMattias Andrée2022-07-221-3/+64
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add some blank linesMattias Andrée2022-07-222-0/+9
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m docMattias Andrée2022-07-221-8/+6
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Put NULL, in doc, inside backticksMattias Andrée2022-07-221-5/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_get_output_dpi: inversion of transformation should be usedMattias Andrée2022-07-222-53/+88
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix EDID reading in libfonts_get_output_dpi and make it use the output transformationMattias Andrée2022-07-227-73/+98
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Calculate logical subpixel order from transformationMattias Andrée2022-07-222-69/+173
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add documentationMattias Andrée2022-07-222-3/+181
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>