New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[css-fonts-3][css-fonts-4] letter-spacing disables optional ligatures. #2644 #3430
Conversation
…w3c#2644 A non-default value for letter-spacing should disable all optional ligatures, not just common ligatures. Defer to css-text for optional ligature definition.
The change to Lato-Medium is to add a mapping from U+fb06 to the 'st' ligature glyph, which was previously only accessible through the 'dlig' feature. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a
Thanks for the PR and test.
Do you mean this wording:
I agree that optional, rather than just common, ligatures is correct here. Oh - the ipr bot is complaining, could you link your GitHub account with your W3C account please? |
Since the checks are now passing, I assume that I've finally hit all the buttons and done all of the verifying required. By "Defer to css-text for optional ligature definition." I mean both of the sections you mention. css-text here is defining optional ligatures as "those that are not required for fundamentally correct glyph shaping" and that is a great general definition, especially in the css-text specification. The note about OpenType is also good in that it clarifies what this means for the 95% use case. If there were also a note about TrueType shaping in there it would hit 99.9% or so. However, this note is already straying a bit into the css-fonts specification area, so I understand why it is a note. |
The change to Lato-Medium is to add a mapping from U+fb06 to the 'st' ligature glyph, which was previously only accessible through the 'dlig' feature. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a
The change to Lato-Medium is to add a mapping from U+fb06 to the 'st' ligature glyph, which was previously only accessible through the 'dlig' feature. Lato-Medium is upgraded from version 2.015 to version 3.002. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a
The change to Lato-Medium is to add a mapping from U+fb06 to the 'st' ligature glyph, which was previously only accessible through the 'dlig' feature. Lato-Medium is upgraded from version 2.015 to version 3.002. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a
The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a
The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drott@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/master@{#791807}
The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drott@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/master@{#791807}
… for 'dlig'., a=testonly Automatic update from web-platform-tests Add wpt test for font feature precedence for 'dlig'. The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drott@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/master@{#791807} -- wpt-commits: f76fb70a30ce97c33425b30e4654ab4b5bce4fd1 wpt-pr: 14470
… for 'dlig'., a=testonly Automatic update from web-platform-tests Add wpt test for font feature precedence for 'dlig'. The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drott@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Commit-Position: refs/heads/master@{#791807} -- wpt-commits: f76fb70a30ce97c33425b30e4654ab4b5bce4fd1 wpt-pr: 14470
… for 'dlig'., a=testonly Automatic update from web-platform-tests Add wpt test for font feature precedence for 'dlig'. The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drottchromium.org> Commit-Queue: Ben Wagner <bungemanchromium.org> Cr-Commit-Position: refs/heads/master{#791807} -- wpt-commits: f76fb70a30ce97c33425b30e4654ab4b5bce4fd1 wpt-pr: 14470 UltraBlame original commit: bde3e6077ec1b8aa854283874cd64154787cebac
… for 'dlig'., a=testonly Automatic update from web-platform-tests Add wpt test for font feature precedence for 'dlig'. The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drottchromium.org> Commit-Queue: Ben Wagner <bungemanchromium.org> Cr-Commit-Position: refs/heads/master{#791807} -- wpt-commits: f76fb70a30ce97c33425b30e4654ab4b5bce4fd1 wpt-pr: 14470 UltraBlame original commit: bde3e6077ec1b8aa854283874cd64154787cebac
… for 'dlig'., a=testonly Automatic update from web-platform-tests Add wpt test for font feature precedence for 'dlig'. The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drottchromium.org> Commit-Queue: Ben Wagner <bungemanchromium.org> Cr-Commit-Position: refs/heads/master{#791807} -- wpt-commits: f76fb70a30ce97c33425b30e4654ab4b5bce4fd1 wpt-pr: 14470 UltraBlame original commit: bde3e6077ec1b8aa854283874cd64154787cebac
The new Lato-Medium-Liga font is based on Lato-Medium 3.002 available at https://github.com/latofonts/lato-source/tree/master/fonts/static/TTF It is subset with hb-subset with "fiststfi " and the 'fi' ligatures moved back to 'liga' (version 3.002 moved them to 'dlig'). The crossbar of 't' in the 'st' ligature was also shorted to ensure that it would not cover a normal 't'. The Lato-Medium currently available to the tests is version 2.015 and lacks a mapping from U+fb06 to the 'st' ligature glyph which was only accessible through the 'dlig' feature. Lato-Medium 3.002 added this mapping (required for this new test) but also moved the 'fi' ligatures to 'dlig' and some existing tests depend on the 'fi' ligatures being in 'liga'. This tests w3c/csswg-drafts#3430 Change-Id: Iaf0ff1f99f3ec282bacb0e3cb44ede27d47fac5a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1294874 Reviewed-by: Dominik Röttsches <drott@chromium.org> Commit-Queue: Ben Wagner <bungeman@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#791807} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: 6c73d460554157f1c479307f90d837f6bea8bc98
A non-default value for letter-spacing should disable all
optional ligatures, not just common ligatures. Defer to css-text for
optional ligature definition.
Test that letter-spacing disables discretionary ligatures in particular at
https://chromium-review.googlesource.com/c/chromium/src/+/1294874