Imported Upstream version 2.13.2
[platform/upstream/freetype2.git] / meson_options.txt
1 #
2 # meson_options.txt
3 #
4
5 # Copyright (C) 2020-2023 by
6 # David Turner, Robert Wilhelm, and Werner Lemberg.
7 #
8 # This file is part of the FreeType project, and may only be used, modified,
9 # and distributed under the terms of the FreeType project license,
10 # LICENSE.TXT.  By continuing to use, modify, or distribute this file you
11 # indicate that you have read the license and understand and accept it
12 # fully.
13
14
15 option('brotli',
16   type: 'feature',
17   value: 'auto',
18   description: 'Use Brotli library to support decompressing WOFF2 fonts')
19
20 option('bzip2',
21   type: 'feature',
22   value: 'auto',
23   description: 'Support reading bzip2-compressed font files')
24
25 option('harfbuzz',
26   type: 'feature',
27   value: 'auto',
28   description: 'Use Harfbuzz library to improve auto-hinting;'
29                + ' if available, many glyphs not directly addressable'
30                + ' by a font\'s character map will be hinted also')
31
32 option('mmap',
33   type: 'feature',
34   value: 'auto',
35   description: 'Use mmap() to open font files for faster parsing')
36
37 option('png',
38   type: 'feature',
39   value: 'auto',
40   description: 'Support color bitmap glyph formats in the PNG format;'
41                + ' requires libpng')
42
43 option('tests',
44   type: 'feature',
45   value: 'disabled',
46   description: 'Enable FreeType unit and regression tests')
47
48 option('zlib',
49   type: 'combo',
50   choices: [ 'auto', 'none',
51              'internal', 'external', 'system',
52              'disabled', 'enabled' ],
53   description: 'Support reading gzip-compressed font files')
54
55 # EOF