Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
f4c2a44e
by Benoit Pierre at 2024-10-12T10:47:38+00:00
2 changed files:
Changes:
... | ... | @@ -363,6 +363,10 @@ if brotli_dep.found() |
363 | 363 | ft2_deps += [brotli_dep]
|
364 | 364 | endif
|
365 | 365 | |
366 | +if get_option('error_strings')
|
|
367 | + ftoption_command += ['--enable=FT_CONFIG_OPTION_ERROR_STRINGS']
|
|
368 | +endif
|
|
369 | + |
|
366 | 370 | # We can now generate `ftoption.h`.
|
367 | 371 | ftoption_h = custom_target('ftoption.h',
|
368 | 372 | input: 'include/freetype/config/ftoption.h',
|
... | ... | @@ -52,4 +52,9 @@ option('zlib', |
52 | 52 | 'disabled', 'enabled' ],
|
53 | 53 | description: 'Support reading gzip-compressed font files')
|
54 | 54 | |
55 | +option('error_strings',
|
|
56 | + type: 'boolean',
|
|
57 | + value: false,
|
|
58 | + description: 'Enable support for meaningful error descriptions')
|
|
59 | + |
|
55 | 60 | # EOF |