Shipping on desktop
|
137
|
Shipping on Android
|
137
|
Shipping on WebView
|
137
|
Shipping on iOS
|
137
|
On 4/21/25 11:20 PM, 'Sejal Anand' via blink-dev wrote:
Contact emailsExplainerNone
SpecificationSummaryThis feature adds logic to ignore the letter-spacing setting for cursive scripts as specified by the web author, in line with the spec, to ensure that letter spacing does not disrupt word structure and aims to produce better user experience for users relying on cursive scripts.The spec suggests that the UA may apply letter spacing to cursive scripts by translating the total extra space into cursive elongation or compression. Otherwise, if the UA cannot expand text from a cursive script without breaking its cursive connections, it must not apply spacing between any pair of that script’s typographic letter units at all.Ignoring letter spacing altogether for cursive scripts is simpler and helps avoid performance issues as handling spacing for such scripts requires complex calculations to maintain cursive connections and account for script-specific factors like elongation glyphs, typefaces, and calligraphy preferences. With this feature, Chromium ensures that cursive scripts will be readable and properly spaced, even if the fonts don’t have advanced typographic features.The scripts that we are proposing to apply this to in Chromium are Arabic, Hanifi Rohingya, Mandaic, Mongolian, N’Ko, Phags Pa, and Syriac as these scripts are considered cursive as per spec.
Blink componentTAG reviewNone
TAG review statusNot applicable
Risks
Interoperability and CompatibilityOther browsers currently do not support this feature, as there are open bugs for handling letter-spacing settings in cursive scripts. Our implementation introduces a behavior change that aligns with the spec by ignoring letter-spacing settings to preserve script integrity, prioritizing readability.Since this behavior diverges from other browsers, there are interoperability differences. With this change, letter spacing will no longer be applied to cursive scripts, even if specified by web authors. It’s important to note that this could affect sites relying on letter-spacing for cursive scripts.
Can you please say a little more here? Is this going to strictly
improve readability, or will there be cases where a site appears
"broken" to users or authors as a result of this change?
Gecko: No signal (https://bugzilla.mozilla.org/show_bug.cgi?id=1342835)
WebKit: No signal (https://bugs.webkit.org/show_bug.cgi?id=195745)
Web developers: Positive (https://github.com/harfbuzz/harfbuzz/issues/358) Three users have noted they are impacted by the CRBug.
Other signals:
WebView application risksDoes this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?None
Debuggability
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/KUXP153MB1400FE8EC556E78C1D98DCB4D4BB2%40KUXP153MB1400.APCP153.PROD.OUTLOOK.COM.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4bb27d17-9a02-4a9b-a517-e746c0d25577%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4bb27d17-9a02-4a9b-a517-e746c0d25577%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/KUXP153MB1400EF4CF7EE768FA9553C7AD48D2%40KUXP153MB1400.APCP153.PROD.OUTLOOK.COM.
LGTM2
/Daniel