aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mMattias Andrée2023-01-211-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_parse_encoding_line: add support for octal and hexadecimalMattias Andrée2023-01-211-9/+38
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libfonts_get_subpixel_mapMattias Andrée2023-01-213-0/+471
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add tests for libfonts_get_subpixel_expansionMattias Andrée2023-01-211-0/+58
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libfonts_get_subpixel_expansionMattias Andrée2023-01-213-4/+81
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libfonts_create_transcoding_tableMattias Andrée2023-01-214-1/+210
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_parse_encoding_line: add warning messingMattias Andrée2023-01-202-62/+56
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_parse_encoding_line: fix whitespace compressionMattias Andrée2023-01-191-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add encoding parsing and m fix libfonts_parse_alias_lineMattias Andrée2023-01-198-1/+871
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Fix libfonts_get_font_root_dirs and add libfonts dirMattias Andrée2023-01-181-10/+39
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2023-01-171-1/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add libfonts_char_is_in_subsetMattias Andrée2023-01-173-0/+92
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2023-01-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* mMattias Andrée2023-01-171-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_do_decoded_font_descriptions_match: check charset subset coverageMattias Andrée2023-01-172-2/+67
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Doc using libfonts_parse_dir_line for encodings.dir and add LIBFONTS_ENCODING_DIR_FILE_NAMEMattias Andrée2023-01-121-3/+19
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* libfonts_parse_dir_line: do not allow / in file nameMattias Andrée2023-01-121-6/+11
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m + add libfonts_parse_dir_lineMattias Andrée2023-01-124-5/+191
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* m docMattias Andrée2023-01-121-6/+12
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add support for FILE_NAMES_ALIASESMattias Andrée2023-01-122-20/+97
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add support for backslash in alias fileMattias Andrée2023-01-121-63/+65
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Clearify that aliases are to XFDL that may contain wildcardsMattias Andrée2023-01-121-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* 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>