meson_options.txt (1698B)
1 # 2 # meson_options.txt 3 # 4 5 # Copyright (C) 2020-2025 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: 'combo', 27 choices: ['auto', 'enabled', 'dynamic', 'disabled'], 28 value: 'auto', 29 description: 'Use Harfbuzz library to improve auto-hinting;' 30 + ' if available, many glyphs not directly addressable' 31 + ' by a font\'s character map will be hinted also') 32 33 option('mmap', 34 type: 'feature', 35 value: 'auto', 36 description: 'Use mmap() to open font files for faster parsing') 37 38 option('png', 39 type: 'feature', 40 value: 'auto', 41 description: 'Support color bitmap glyph formats in the PNG format;' 42 + ' requires libpng') 43 44 option('tests', 45 type: 'feature', 46 value: 'disabled', 47 description: 'Enable FreeType unit and regression tests') 48 49 option('zlib', 50 type: 'combo', 51 choices: [ 'auto', 'none', 52 'internal', 'external', 'system', 53 'disabled', 'enabled' ], 54 description: 'Support reading gzip-compressed font files') 55 56 option('error_strings', 57 type: 'boolean', 58 value: false, 59 description: 'Enable support for meaningful error descriptions') 60 61 # EOF