Commit Graph
106 Commits
Author SHA1 Message Date
Behdad Esfahbod 80311aa923 [indic/khmer] Remove uniscribe-bug-compatible mode (#5641)
Remove HB_OPTIONS env-var with it.
2025-11-12 14:04:34 -05:00
Behdad Esfahbod 6a2453bb20 Reapply "[VARC] Graduate out of experimental" (#5588)
This reverts commit 673934f2ce.
2025-09-25 21:54:20 -04:00
Behdad Esfahbod 673934f2ce Revert "[VARC] Graduate out of experimental"
This reverts commit 7a708a935c.
2025-08-07 22:58:14 -06:00
Behdad Esfahbod 7af1df6725 Revert "Merge branch 'main' into HVF"
This reverts commit 3a64fce9b7, reversing
changes made to f63d960c4e.
2025-07-28 10:24:45 -06:00
Behdad Esfahbod 64b50ec4dc [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.
2025-07-23 17:40:12 -06:00
Behdad Esfahbod 7a708a935c [VARC] Graduate out of experimental 2025-07-23 17:36:54 -06:00
Behdad Esfahbod 6c06bdb3b6 Merge branch 'main' into HVF 2025-04-03 04:04:11 -06:00
Behdad Esfahbod 6f5b8d59c7 [ot-font] Streamline advance cache management 2025-04-03 02:57:48 -06:00
Behdad Esfahbod e3c2910fec Merge branch 'main' into HVF 2025-04-02 01:48:12 -06:00
Behdad Esfahbod a5b00faaf8 Fix build with HB_NO_DRAW 2025-03-31 14:29:16 -06:00
Behdad Esfahbod 6da4fb10fc [config] Add HB_NO_SIMD 2025-03-02 16:57:54 -07:00
Khaled Hosny 1e629c3511 [morx] Blocklist dysfunctional morx table of AALMAGHRIBI.ttf font
Fixes #4108
2025-01-13 11:30:00 -07:00
Khaled Hosny 056cc56044 [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
2024-11-24 17:42:43 -07:00
Behdad Esfahbod e8de8d88df [CONFIG] Remove unused HB_NDEBUG 2024-10-07 06:11:25 -06:00
Behdad Esfahbod bf27f4a3b2 [varc] Fix config 2024-04-16 17:10:46 -06:00
Behdad Esfahbod 4973053109 Config 2023-07-16 13:09:49 -06:00
Behdad Esfahbod 00904503d8 [config] Graduate avar2 from boring-expansion 2023-06-27 08:18:18 -06:00
Behdad Esfahbod 7e676cb4cf [config] Add HB_NO_OT_FONT_ADVANCE_CACHE
Part of https://github.com/harfbuzz/harfbuzz/issues/4220
2023-05-05 07:07:00 -06:00
Behdad Esfahbod 8831ba7f55 [config] Add HB_NO_OT_FONT_CMAP_CACHE
Part of https://github.com/harfbuzz/harfbuzz/issues/4220
2023-05-05 07:03:25 -06:00
Behdad Esfahbod 0e9ebf1062 [config] Add HB_OPTIMIZE_SIZE_MORE and enable in HB_TINY
Part of https://github.com/harfbuzz/harfbuzz/issues/4220
2023-05-05 06:57:51 -06:00
Behdad Esfahbod da175c6935 [config] Add HB_MINIMIZE_MEMORY_USAGE
Part of https://github.com/harfbuzz/harfbuzz/issues/4220
2023-05-05 06:51:59 -06:00
Behdad Esfahbod bbf4cfa393 [config] Add missing HB_NO_BORING_EXPANSION options
Those others are only HB_EXPERIMENTAL_API anyway, but still.
2023-05-05 06:51:10 -06:00
Behdad Esfahbod a10fad7cc2 [config] Add HB_NO_GDEF_CACHE 2023-05-04 11:32:07 -06:00
Behdad Esfahbod e138319fcc [config] Allow overriding HB_OPTIMIZE_SIZE 2023-05-04 11:28:50 -06:00
Behdad Esfahbod 1056590f00 [config] Add HB_OPTIMIZE_SIZE_VAL 2023-04-27 11:56:03 -06:00
Behdad Esfahbod 209f63b785 [TINY] Fix config issue 2023-02-24 16:03:40 -07:00
Behdad Esfahbod 91c2f098d0 [cubic-glyf] Add HB_NO_CUBIC_GLYF 2023-02-10 14:15:16 -07:00
Behdad Esfahbod ceba6c9a90 [config] Sort 2022-12-30 10:44:34 -07:00
Matthias Clasen 3a219cfa6a [config] Make HB_LEAN imply HB_NO_PAINT 2022-12-23 13:37:59 -07:00
Behdad Esfahbod af450a757d [config] Use HB_EXPERIMENTAL_API instead of adhoc HB_EXPERIMENTAL 2022-12-09 19:05:16 -07:00
Behdad Esfahbod 5cf0b9ae7d [varc] Mark as experimental feature with HB_NO_VAR_COMPOSITES 2022-12-09 18:59:43 -07:00
Behdad Esfahbod ad5588e800 [config] If HB_NO_SHAPER then HB_NO_OT_SHAPE 2022-12-04 15:27:59 -07:00
Behdad Esfahbod 9e1239f443 [config] Define HB_NO_VERTICAL in HB_LEAN and as such in HB_TINY 2022-11-24 13:00:47 -07:00
Behdad Esfahbod 1248574454 [config] Disable Zawgyi shaper in HB_MINI/HB_TINY 2022-11-24 12:46:04 -07:00
Behdad Esfahbod 02b76393ef [config] Re-enable BORING_EXPANSION
Only the non-experimental parts (currently avar2) are
enabled by default.
2022-10-29 11:19:04 -06:00
Behdad Esfahbod 6a47ef34b1 [config] If not HB_EXPERIMENTAL, then HB_NO_BEYOND_64K 2022-10-29 11:14:27 -06:00
Behdad Esfahbod a0f999cd95 [config] Rename HB_NO_VARIATIONS2 to HB_NO_AVAR2 2022-10-29 11:13:40 -06:00
Behdad Esfahbod 71c6cba097 [layout] Rename API:
-hb_ot_layout_get_optical_bound()
+hb_ot_layout_lookup_get_optical_bound()
2022-09-01 13:43:19 -06:00
Behdad Esfahbod 3892128a1f [layout] Add HB_NO_LAYOUT_RARELY_USED 2022-09-01 13:41:50 -06:00
Behdad Esfahbod 4ab7e579cb Make HB_BORING_EXPANSION opt-in instead of opt-out
Fixes https://github.com/harfbuzz/harfbuzz/issues/3757
2022-08-12 12:23:48 -06:00
Behdad Esfahbod 17863bd16b [config/avar2] add HB_NO_VARIATIONS2 2022-07-22 22:38:08 -06:00
Behdad Esfahbod 5a9c7930ef Add HB_NO_BEYOND_64K 2022-07-22 21:33:31 -06:00
Behdad Esfahbod a7960bdfb0 [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
2022-06-20 17:55:28 -06:00
Behdad Esfahbod 39820af72f [layout] Add HB_NO_OT_LAYOUT_LOOKUP_CACHE to disable caching lookups
Enabled when optimize-size profile is enabled.
2022-06-07 10:27:55 -06:00
Behdad Esfahbod 44be1e5dfb s/SHAPE_COMPLEX/SHAPER/g 2022-06-03 10:30:34 +01:00
Behdad Esfahbod 67eb9acf79 [config] Add HB_NO_BORING_EXPANSION 2022-02-15 17:17:49 -06:00
Behdad Esfahbod 5b1d813b69 [config] Enable HB_NO_BUFFER_VERIFY in HB_LEAN 2022-01-28 13:53:44 -07:00
Behdad Esfahbod b95d252fab [CONFIG] Add HB_CONFIG_OVERRIDE_H to simplify config overrides 2021-12-03 11:49:55 -07:00
Behdad Esfahbod cf9538e808 Removal remaining uses of "blacklist" terminology 2021-06-04 22:33:16 -06:00
Andrzej Perczak cab9d5a57d 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.
2021-03-30 20:50:02 -06:00