• Home
  • Raw
  • Download

Lines Matching +full:- +full:graphite2

5 HarfBuzz library plus hb-shape / hb-view utilities, make sure FreeType and Cairo
9 you need Glib, ICU, Graphite2, as well as CoreText / Uniscribe / DWrite. Make
21 this is `-Os`, and can be enabled by passing `CXXFLAGS=-Os`. On clang there
22 is an even more extreme flag, `-Oz`. Meson also provides `--buildtype=minsize`
25 HarfBuzz heavily uses inline functions and the optimize-size flag can make the
27 the optimize-size builds perform *faster* as well, thanks to lower code
34 Another compiler option to consider is "link-time optimization", also known as
35 'lto'. To enable that, feel free to use `-Db_lto=true` of meson.
45 * https://lwn.net/Articles/741494/ (all of the four-part series)
46 * https://elinux.org/images/2/2d/ELC2010-gc-sections_Denys_Vlasenko.pdf
51 options are all enabled by defining pre-processor macros, which can be done
55 ## Unicode-functions
57 Access to Unicode data can be configured at compile time as well as run-time.
59 Unicode Character Database that it needs. This is a highly-optimized
60 implementation that depending on compile settings (optimize-size or not)
65 For example, if you are enabling ICU as a built-in option, or GLib, those
70 If, however, you provide your own Unicode data to HarfBuzz at run-time by
78 ## Font-functions
80 Access to certain font functionalities can also be configured at run-time. By
82 functionality for this. This internal implementation is called `hb-ot-font`.
83 All newly-created `hb_font_t` objects by default use `hb-ot-font`. Using this
86 Most embedded uses will probably use HarfBuzz with FreeType using `hb-ft.h`.
88 `hb_font_set_funcs()` on every font you create, you can disable `hb-ot-font`
107 ## Thread-safety
109 By default HarfBuzz builds as a thread-safe library. The exception is that
110 the `HB_TINY` predefined configuration (more below) disables thread-safety.
112 If you do *not* need thread-safety in the library (eg. you always call into
113 HarfBuzz from the same thread), you can disable thread-safety by defining
117 ## Pre-defined configurations
119 The [`hb-config.hh`](src/hb-config.hh) internal header supports three
120 pre-defined configurations as well grouping of various configuration options.
121 The pre-defined configurations are:
126 * `HB_LEAN`: Disables various non-shaping functionality in the library, as well
127 as esoteric or rarely-used shaping features. See the definition for details.
130 disabling thread-safety and debugging, and use even more size-optimized data
135 $ meson setup build -Dcpp_args=-DHB_MINI -Dc_args=-DHB_MINI
140 Most of the time, one of the pre-defined configuration is exactly what one needs.
141 Sometimes, however, the pre-defined configuration cuts out features that might
143 configurations from the command-line.
152 fixed and called `config-override.h`, and was activated by defining the macro