font: set FT load and render flags from FontConfig properties

This commit is contained in:
Daniel Eklöf 2019-07-29 20:10:55 +02:00
parent fe882bddba
commit 4302d3eb68
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 129 additions and 21 deletions

View file

@ -10,7 +10,7 @@ project('foot', 'c',
is_debug_build = get_option('buildtype').startswith('debug')
add_project_arguments(
['-D_GNU_SOURCE',
['-D_GNU_SOURCE=200809L',
#'-DF00SEL_VERSION=@0@'.format(version)] +
] +
(is_debug_build ? ['-D_DEBUG'] : []),