mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibWeb: Explicitly disable ligatures if font_variant_ligatures
is none
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run
This commit is contained in:
parent
20d369b96d
commit
a14471b89b
Notes:
github-actions[bot]
2025-06-27 08:07:40 +00:00
Author: https://github.com/tcl3
Commit: a14471b89b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5231
Reviewed-by: https://github.com/gmta ✅
1 changed files with 6 additions and 1 deletions
|
@ -214,7 +214,12 @@ HashMap<StringView, u8> InlineLevelIterator::shape_features_map() const
|
|||
if (ligature_or_null.has_value()) {
|
||||
auto ligature = ligature_or_null.release_value();
|
||||
if (ligature.none) {
|
||||
/* nothing */
|
||||
// Specifies that all types of ligatures and contextual forms covered by this property are explicitly disabled.
|
||||
features.set("liga"sv, 0);
|
||||
features.set("clig"sv, 0);
|
||||
features.set("dlig"sv, 0);
|
||||
features.set("hlig"sv, 0);
|
||||
features.set("calt"sv, 0);
|
||||
} else {
|
||||
switch (ligature.common) {
|
||||
case Gfx::FontVariantLigatures::Common::Common:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue