src/hb-config.hh

Branch


Log

Author Commit Date CI Message
Behdad Esfahbod 6a2453bb 2025-09-25T21:54:20 Reapply "[VARC] Graduate out of experimental" (#5588) This reverts commit 673934f2ce569b81a2ac094d2316033425ab6928.
Behdad Esfahbod 673934f2 2025-08-07T22:58:14 Revert "[VARC] Graduate out of experimental" This reverts commit 7a708a935c9642a26ffa903759c41b5bd5289898.
Behdad Esfahbod 7af1df67 2025-07-28T10:24:45 Revert "Merge branch 'main' into HVF" This reverts commit 3a64fce9b73bc601e257d13d1ea8ac7f32ce60b6, reversing changes made to f63d960c4eda79514c060ddce796df9e607b5bae.
Behdad Esfahbod 64b50ec4 2025-07-23T17:40:12 [config] Kill HB_NO_BORING_EXPANSION As features graduate from it and become part of the standard / default, one tag doesn't do us any good. Features should be disabled individually, like using HB_NO_VAR_COMPOSITES.
Behdad Esfahbod 7a708a93 2025-07-23T17:36:54 [VARC] Graduate out of experimental
Behdad Esfahbod 6c06bdb3 2025-04-03T03:20:45 Merge branch 'main' into HVF
Behdad Esfahbod 6f5b8d59 2025-04-03T01:52:03 [ot-font] Streamline advance cache management
Behdad Esfahbod e3c2910f 2025-04-02T01:48:12 Merge branch 'main' into HVF
Behdad Esfahbod a5b00faa 2025-03-31T14:28:31 Fix build with HB_NO_DRAW
Behdad Esfahbod 6da4fb10 2025-01-26T19:13:43 [config] Add HB_NO_SIMD
Khaled Hosny 1e629c35 2025-01-12T23:06:23 [morx] Blocklist dysfunctional morx table of AALMAGHRIBI.ttf font Fixes #4108
Khaled Hosny 056cc560 2024-11-24T07:33:12 [config] Improve language handling with HB_LEAN Remove HB_NO_LANGUAGE_LONG and HB_NO_LANGUAGE_PRIVATE_SUBTAG defines to support language tags longer than 2 letters and private language tags (needed to set language using OpenType language tags) respectively. HB_LEAN is used when smaller binary size is desired, but in general it should not produce different shaping output. Fixes https://github.com/harfbuzz/harfbuzzjs/issues/108
Behdad Esfahbod e8de8d88 2024-10-07T06:11:25 [CONFIG] Remove unused HB_NDEBUG
Behdad Esfahbod bf27f4a3 2024-03-16T14:50:27 [varc] Fix config
Behdad Esfahbod 49730531 2023-07-16T13:09:49 Config
Behdad Esfahbod 00904503 2023-06-27T08:18:18 [config] Graduate avar2 from boring-expansion
Behdad Esfahbod 7e676cb4 2023-05-05T07:07:00 [config] Add HB_NO_OT_FONT_ADVANCE_CACHE Part of https://github.com/harfbuzz/harfbuzz/issues/4220
Behdad Esfahbod 8831ba7f 2023-05-05T07:03:25 [config] Add HB_NO_OT_FONT_CMAP_CACHE Part of https://github.com/harfbuzz/harfbuzz/issues/4220
Behdad Esfahbod 0e9ebf10 2023-05-05T06:57:51 [config] Add HB_OPTIMIZE_SIZE_MORE and enable in HB_TINY Part of https://github.com/harfbuzz/harfbuzz/issues/4220
Behdad Esfahbod da175c69 2023-05-05T06:51:59 [config] Add HB_MINIMIZE_MEMORY_USAGE Part of https://github.com/harfbuzz/harfbuzz/issues/4220
Behdad Esfahbod bbf4cfa3 2023-05-05T06:51:10 [config] Add missing HB_NO_BORING_EXPANSION options Those others are only HB_EXPERIMENTAL_API anyway, but still.
Behdad Esfahbod a10fad7c 2023-05-04T11:32:07 [config] Add HB_NO_GDEF_CACHE
Behdad Esfahbod e138319f 2023-05-04T11:28:50 [config] Allow overriding HB_OPTIMIZE_SIZE
Behdad Esfahbod 1056590f 2023-04-27T10:41:36 [config] Add HB_OPTIMIZE_SIZE_VAL
Behdad Esfahbod 209f63b7 2023-02-24T16:03:23 [TINY] Fix config issue
Behdad Esfahbod 91c2f098 2023-02-10T14:15:16 [cubic-glyf] Add HB_NO_CUBIC_GLYF
Behdad Esfahbod ceba6c9a 2022-12-30T10:44:34 [config] Sort
Matthias Clasen 3a219cfa 2022-12-19T11:15:37 [config] Make HB_LEAN imply HB_NO_PAINT
Behdad Esfahbod af450a75 2022-12-09T19:05:16 [config] Use HB_EXPERIMENTAL_API instead of adhoc HB_EXPERIMENTAL
Behdad Esfahbod 5cf0b9ae 2022-12-09T18:59:43 [varc] Mark as experimental feature with HB_NO_VAR_COMPOSITES
Behdad Esfahbod ad5588e8 2022-12-04T15:27:59 [config] If HB_NO_SHAPER then HB_NO_OT_SHAPE
Behdad Esfahbod 9e1239f4 2022-11-24T13:00:47 [config] Define HB_NO_VERTICAL in HB_LEAN and as such in HB_TINY
Behdad Esfahbod 12485744 2022-11-24T12:46:04 [config] Disable Zawgyi shaper in HB_MINI/HB_TINY
Behdad Esfahbod 02b76393 2022-10-29T11:15:03 [config] Re-enable BORING_EXPANSION Only the non-experimental parts (currently avar2) are enabled by default.
Behdad Esfahbod 6a47ef34 2022-10-29T11:14:27 [config] If not HB_EXPERIMENTAL, then HB_NO_BEYOND_64K
Behdad Esfahbod a0f999cd 2022-10-29T11:13:40 [config] Rename HB_NO_VARIATIONS2 to HB_NO_AVAR2
Behdad Esfahbod 71c6cba0 2022-09-01T13:43:19 [layout] Rename API: -hb_ot_layout_get_optical_bound() +hb_ot_layout_lookup_get_optical_bound()
Behdad Esfahbod 3892128a 2022-09-01T13:40:53 [layout] Add HB_NO_LAYOUT_RARELY_USED
Behdad Esfahbod 4ab7e579 2022-08-12T12:17:37 Make HB_BORING_EXPANSION opt-in instead of opt-out Fixes https://github.com/harfbuzz/harfbuzz/issues/3757
Behdad Esfahbod 17863bd1 2022-07-22T22:38:08 [config/avar2] add HB_NO_VARIATIONS2
Behdad Esfahbod 5a9c7930 2022-07-22T21:33:15 Add HB_NO_BEYOND_64K
Behdad Esfahbod a7960bdf 2022-06-17T15:10:20 [config] Add HB_NO_LANGUAGE_LONG and enable in TINY profile Disables 3letter language tags and more complex ones. Fixes https://github.com/harfbuzz/harfbuzz/issues/3664
Behdad Esfahbod 39820af7 2022-06-07T10:18:38 [layout] Add HB_NO_OT_LAYOUT_LOOKUP_CACHE to disable caching lookups Enabled when optimize-size profile is enabled.
Behdad Esfahbod 44be1e5d 2022-06-03T02:54:33 s/SHAPE_COMPLEX/SHAPER/g
Behdad Esfahbod 67eb9acf 2022-02-15T17:17:49 [config] Add HB_NO_BORING_EXPANSION
Behdad Esfahbod 5b1d813b 2022-01-28T13:49:21 [config] Enable HB_NO_BUFFER_VERIFY in HB_LEAN
Behdad Esfahbod b95d252f 2021-12-03T11:49:55 [CONFIG] Add HB_CONFIG_OVERRIDE_H to simplify config overrides
Behdad Esfahbod cf9538e8 2021-06-04T22:33:16 Removal remaining uses of "blacklist" terminology
Andrzej Perczak cab9d5a5 2021-03-19T22:10:50 hb-config: Include config-override earlier Currently config-override.h is included at the end of this file. This caused a problem for me while undefing HB_DISABLE_DEPRECATED, namely HB_IF_NOT_DEPRECATED was defined before actual undef took place and broke the whole build. I believe it would break builds for some other defines, too. Moving config-override.h include right after predefined configs is more sane and fixes all potential problems with includes.
Ebrahim Byagowi 22037499 2019-08-04T11:31:31 [style] New experimental API, hb_style_get_value Searches variation axes of a hb_font_t object for a specific axis first, if not set, then tries to get default style values from different tables of the font.
Ebrahim Byagowi ac81e940 2020-01-28T12:34:47 Rename hb_outline_decompose to hb_font_draw_glyph and hb_outline_decompose_funcs_t to hb_draw_funcs_t
Ebrahim Byagowi 981125aa 2020-01-25T21:31:36 Rename hb_ot_glyph_* to hb_outline_*
Ebrahim Byagowi b7762c70 2020-01-24T21:20:07 Disable hb_ot_glyph_decompose in HB_TINY
Ebrahim Byagowi 412d6cac 2019-09-16T13:50:11 Extract an avoid errno compile flag
Ebrahim Byagowi 3ac03bd6 2019-07-22T23:35:08 [meta] New API, hb_ot_metadata_reference_entry for fetching meta entries
Ebrahim Byagowi 2e5b49d1 2019-07-19T11:41:07 Add HB_NO_METRICS and fix HB_TINY build (#1839)
Behdad Esfahbod cd65305b 2019-06-26T14:57:48 [config] Don't disable emoji sequences in HB_TINY It makes sense to disable this code these if editing is not needed. However, this is also necessary to correctly display emoji sequences in right-to-left direction. For that reason, don't auto-disable it.
Behdad Esfahbod 5130c90a 2019-06-26T14:29:39 [config] Add HB_NO_EMOJI Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 8fe15485 2019-06-26T13:49:42 [config] Add HB_NO_OT_TAG Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod b0fd16ee 2019-06-26T13:31:51 [config] Add dependency
Behdad Esfahbod 12092a46 2019-06-26T13:31:01 [config] Rename HB_NO_SHAPE_AAT to HB_NO_AAT_SHAPE
Behdad Esfahbod bb4bbe61 2019-06-26T13:29:58 [config] Add HB_NO_OT_LAYOUT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod ab40a2fe 2019-06-26T13:25:02 [config] Enable HB_NO_OT_FONT in HB_NO_OT
Behdad Esfahbod 7aad5365 2019-06-26T13:21:03 [config] Add HB_NO_OT_SHAPE / HB_NO_OT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod ad97ec95 2019-06-21T00:44:29 [config/ucd] Add HB_NO_UNICODE_UNASSIGNED and activate in HB_TINY Saves another 12kb: $ python ./gen-ucd-table.py ucd.nounihan.grouped.zip > hb-ucd-table.hh && make -j5 CPPFLAGS='-Os -DHB_TINY' -C ~/hb/build/src/ && size ~/hb/build/src/.libs/libharfbuzz_la-hb-ucd.o INFO: Loading UCDXML... INFO: Preparing data tables... INFO: Generating output... INFO: Compression=1: INFO: Dataset=gc FullCost=18612 INFO: Dataset=ccc FullCost=3550 INFO: Dataset=bmg FullCost=1548 INFO: Dataset=sc FullCost=17765 INFO: Dataset=dm FullCost=13325 INFO: Compression=3: INFO: Dataset=gc FullCost=10726 INFO: Dataset=ccc FullCost=2389 INFO: Dataset=bmg FullCost=1052 INFO: Dataset=sc FullCost=13669 INFO: Dataset=dm FullCost=7780 INFO: Compression=5: INFO: Dataset=gc FullCost=8274 INFO: Dataset=ccc FullCost=2055 INFO: Dataset=bmg FullCost=908 INFO: Dataset=sc FullCost=4073 INFO: Dataset=dm FullCost=7780 INFO: Done. Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod fce3bf81 2019-06-19T20:34:29 [config] Add HB_NO_LAYOUT_COLLECT_GLYPHS Part of
Behdad Esfahbod 6c725c77 2019-06-19T20:12:25 [config] Add HB_NO_LAYOUT_FEATURE_PARAMS Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 27de7c44 2019-06-19T20:07:02 [config] Add HB_NO_FACE_COLLECT_UNICODES Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 3caa32d7 2019-06-19T19:50:54 [config] Add HB_NO_CMAP_LEGACY_SUBTABLES Part of https://vimeo.com/331852453/06eec89c65
Behdad Esfahbod c8f529a0 2019-06-19T19:33:15 [config] Add HB_NO_HINTING, enabled by HB_TINY Disables HintingDevice tables and Anchors addressing contour points. Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod a8498731 2019-06-19T19:26:22 [config] Add HB_NO_VAR to disable variations support, enabled by HB_TINY Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 230adf2c 2019-06-19T18:49:52 [config] Add HB_NO_OT_FONT_GLYPH_NAMES Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod a5897463 2019-06-19T18:36:35 [config] Add HB_NO_STAT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod d84932ba 2019-06-19T16:57:48 [config] add HB_NO_OT_SHAPE_FRACTIONS, enabled in HB_LEAN Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 971330c0 2019-06-19T16:37:35 [config] Add HB_NO_LANGUAGE_PRIVATE_SUBTAG Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 588697af 2019-06-19T16:24:51 [config] Add HB_NO_OT_KERN, enabled by HB_MINI / HB_NO_LEGACY Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 23ccd00a 2019-06-17T20:35:04 Minor
Behdad Esfahbod 23768a99 2019-06-17T20:29:29 [config] Replace HAVE_FALLBACK with HB_NO_FALLBACK_SHAPE This disables fallback shaper in tiny builds. Projects that don't use our build system and want to disable fallback shaper (eg. Firefox) should define HB_NO_FALLBACK_SHAPE now. Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 0c5da57d 2019-06-10T14:06:25 Fix typo :)
Ebrahim Byagowi b4a5a69a 2019-06-11T01:33:09 Add HB_NO_OEPN (#1767)
Ebrahim Byagowi a36ff941 2019-06-10T15:48:28 Add HB_NO_SETLOCALE
Ebrahim Byagowi 815f002b 2019-06-05T10:38:06 Don't use vsnprintf when HB_NO_BUFFER_MESSAGE is defined
Behdad Esfahbod d6de4659 2019-05-20T15:33:23 Add HB_OPTIMIZE_SIZE Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 42ae468a 2019-05-13T23:43:45 [config] Add NDEBUG and HB_NDEBUG Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod f8f9cb93 2019-05-12T15:56:25 [config] Define HB_NO_SUBSET_LAYOUT in HB_LEAN Assumning subsetter would be used for printing-like uses in that case, which don't need GSUB/GPOS.
Behdad Esfahbod a1394a28 2019-05-12T15:47:46 [config] Add HB_NO_UNISCRIBE_BUG_COMPATIBLE Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod dba1ac1b 2019-05-12T15:33:31 [config] Disable buffer serialize routines in HB_TINY Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 8694d608 2019-05-12T11:05:24 [config] Enable HB_NO_MT in HB_TINY Now that user can override it if needed... Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 5249eee4 2019-05-11T16:12:07 [config] Allow overriding chosen config
Behdad Esfahbod 7f45ce42 2019-05-11T01:28:31 [config] Rename
Behdad Esfahbod 0e78d4dd 2019-05-11T01:27:50 [config] Add HB_NO_NAME Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 1fc07721 2019-05-11T01:24:23 [config] HB_NO_OT_NAME_LANGUAGE AAT
Behdad Esfahbod 4381bb2d 2019-05-11T01:14:04 [config] Comment
Behdad Esfahbod 9c921e6c 2019-05-11T01:08:51 [config] Enable HB_NO_NAME_TABLE_AAT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 81b79dfc 2019-05-11T00:53:52 [config] Add HB_NO_COLOR to HB_LEAN Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod b63a8e17 2019-05-11T00:47:20 [config Add HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS to LEAN Already I don't like the inflexibility of this approach :(. Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 42a21284 2019-05-11T00:44:22 [config] Disbale getenv() and atexit() if HB_LEAN Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod fca27860 2019-05-11T00:37:01 [config] Make HB_DISABLE_DEPRECATED actually compile Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 5a48611c 2019-05-11T00:19:03 [config] Add HB_NO_OT_LAYOUT_UNUSED Part of https://github.com/harfbuzz/harfbuzz/issues/1652
Behdad Esfahbod 771f1b21 2019-05-11T00:16:18 [config] Adjust