From c7216dbf620eca0332950efdf903ddb52b137289 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Sat, 24 Jan 2026 18:30:47 +0100 Subject: [PATCH] Disable minikin hyphenation: disable minikin engine (#697) - moved from gn.args to patch --- build/cromite.gn_args | 4 ---- build/cromite_patches_list.txt | 1 + .../patches/Disable-minikin-hyphenation.patch | 18 ++++++++++++++++++ 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 build/patches/Disable-minikin-hyphenation.patch diff --git a/build/cromite.gn_args b/build/cromite.gn_args index b3d1fe9d..3530e420 100644 --- a/build/cromite.gn_args +++ b/build/cromite.gn_args @@ -68,10 +68,6 @@ enable_platform_dts_audio = false # see https://github.com/uazo/cromite/pull/317 for context use_v8_context_snapshot = false -# disable minikin engine -# see https://github.com/uazo/cromite/issues/697 -use_minikin_hyphenation = false - # disable automatic update of sync-related cookies # initial commit: https://source.chromium.org/chromium/chromium/src/+/fd9a841f7a63b9f5510f6b713d9c833d259c63ad enable_bound_session_credentials = false diff --git a/build/cromite_patches_list.txt b/build/cromite_patches_list.txt index cb37b095..773ac37e 100644 --- a/build/cromite_patches_list.txt +++ b/build/cromite_patches_list.txt @@ -307,6 +307,7 @@ Supporting-Dangling-Ptr-Detection-via-BackupRefPtr.patch Disable-device-bound-session.patch Keep-disabled-CpuPerformance.patch Immediately-destroy-shared-workers-when-closing-the-page.patch +Disable-minikin-hyphenation.patch # temporary or wip patches Temp-disable-predictive-back-gesture.patch diff --git a/build/patches/Disable-minikin-hyphenation.patch b/build/patches/Disable-minikin-hyphenation.patch new file mode 100644 index 00000000..41d83131 --- /dev/null +++ b/build/patches/Disable-minikin-hyphenation.patch @@ -0,0 +1,18 @@ +From: uazo +Date: Sat, 24 Jan 2026 16:38:38 +0000 +Subject: Disable minikin hyphenation + +--- + third_party/blink/public/public_features.gni | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/third_party/blink/public/public_features.gni b/third_party/blink/public/public_features.gni +--- a/third_party/blink/public/public_features.gni ++++ b/third_party/blink/public/public_features.gni +@@ -10,4 +10,4 @@ import("//build/config/ui.gni") + enable_unhandled_tap = is_android + + # Use Minikin hyphenation engine. +-use_minikin_hyphenation = !is_apple ++use_minikin_hyphenation = false +--