mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00

ttf is an industry standard format that is the most widely used in the products. Now thorvg supports the basic features of the font to supplement the text drawing. The implementation is followed the ttf spec, the covered features are: - horizontal layouting with kerning. - utf8 -> utf32 converted glyph drawing. To use the feature, please enable ttf loader: $meson -Dloaders="ttf_beta, ..." @Issue: https://github.com/thorvg/thorvg/issues/969
54 lines
1.3 KiB
Meson
54 lines
1.3 KiB
Meson
option('engines',
|
|
type: 'array',
|
|
choices: ['sw', 'gl_beta', 'wg_beta'],
|
|
value: ['sw'],
|
|
description: 'Enable Rasterizer Engine in thorvg')
|
|
|
|
option('loaders',
|
|
type: 'array',
|
|
choices: ['', 'tvg', 'svg', 'png', 'jpg', 'lottie', 'ttf_beta', 'webp_beta', 'all'],
|
|
value: ['svg', 'tvg', 'lottie'],
|
|
description: 'Enable File Loaders in thorvg ("all" does not include "*_beta".)')
|
|
|
|
option('savers',
|
|
type: 'array',
|
|
choices: ['', 'tvg', 'gif', 'all'],
|
|
value: [''],
|
|
description: 'Enable File Savers in thorvg')
|
|
|
|
option('vector',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Enable CPU Vectorization(SIMD) in thorvg')
|
|
|
|
option('bindings',
|
|
type: 'array',
|
|
choices: ['', 'capi', 'wasm_beta'],
|
|
value: [''],
|
|
description: 'Enable API bindings')
|
|
|
|
option('tools',
|
|
type: 'array',
|
|
choices: ['', 'svg2tvg', 'svg2png', 'lottie2gif', 'all'],
|
|
value: [''],
|
|
description: 'Enable building thorvg tools')
|
|
|
|
option('examples',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Enable building examples')
|
|
|
|
option('tests',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Enable building Unit Tests')
|
|
|
|
option('log',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Enable log message')
|
|
|
|
option('static',
|
|
type: 'boolean',
|
|
value: false,
|
|
description: 'Force to use static linking modules in thorvg')
|