Change TextMetrics to return a dictionary of baselines instead of separate values
Some fonts do not set values for all baselines (hanging, ideographic), and in those cases we're setting 0, which is a valid value. This new interface getBaselines(), returns a dictionary with the set baselines and their values. Bug: 277215 Change-Id: Ie94c74d1c95c7205ed47acaed589ae965f0e32f6 Reviewed-on: https://chromium-review.googlesource.com/1141084Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Commit-Queue: David Quiroz Marin <davidqu@chromium.org> Cr-Commit-Position: refs/heads/master@{#577670}
Showing
Please register or sign in to comment