Please go through the guide before working on this issue.
font-kerning is a keyword property which takes one of the following values: auto | normal | none. The default value is auto. The linked MDN has more information about this.
Make sure the MDN example has visible kerning. You may need to tweak the font to get this to work. If the MDN example shows no kerning difference between the two example lines, try the following HTML example:
<styletype="text/css">div {
font-size:2rem;
font-family: arial;
}
#nokern {font-kerning: none;}
#kern {font-kerning: normal;}
</style><divid=kern>
AV T. ij
</div><divid=nokern>
AV T. ij
</div>
Add support for 'font-kerning' in geckolib
Add support for 'font-kerning' in geckolib
These changes fix#13667
$ ./mach build -d
It looks like you passed an unrecognized argument into mach.
$ ./mach test-tidy
It looks like you are trying to run an unknown mach command: test-tidy
I'm clearly doing something wrong here, but I'm not sure what
- [x] These changes do not require tests because "[For stylo it's okay to not have tests since many of the reftests fail due to unrelated reasons](#13570 (comment))" :)
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13751)
<!-- Reviewable:end -->
Please go through the guide before working on this issue.
font-kerning
is a keyword property which takes one of the following values:auto | normal | none
. The default value isauto
. The linked MDN has more information about this.The constant prefix you should be using is
NS_FONT_KERNING
You will need to manually implement the glue, see https://github.com/servo/servo/pull/13570/files for an example of this.
Code:
servo/components/style/properties/longhand/font.mako.rs
The text was updated successfully, but these errors were encountered: