-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
descender
and ascender
for font metrics + fix several t…
…ext rendering issues (#8781) * Introduce descender+ascender, fix fonts dis-alignment * Fix failing tests * Add glyph baseine checker * Update render test * Update font baseline, make vertical mode applying with font baseline * Fix failing tests * Update render test case source position * Move ascender/descender to font level attributes, remove non-necessary pbf files * Add new glyph pbfs Remove duplicates render tests Fix confilicts * rename the inner callback parameter naming * gl-native parity: Extend Ideographs rasterization range to include CJK symbols and punctuations update comments * Adjust text shaping fix flow and lint errors code clean * Fix shaping.test contents parsing Fix error * Update render tests expectation update expectations Update test ignore list * Fix vertical text rendering with 'text-offset' property * Fix text shaping for characters that have very big part below baselines, such as p, g, y, etc. Fix vertical text shaping with ZWSP and punctuations. additional fix * Update test expectations * Fix text rendering when both 'text-rotate' and 'text-offset' is set * Update render tests * Fix text rendering for line labels * Enable ignored render tests regarding text rendering Update render tests * Make ascender and descender optional * Update render tests * Update shaping.js logic * Update render test expectations * Update shaping.test Fix unit tests * Fix review comments * fix typo
- Loading branch information
Showing
82 changed files
with
573 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.