alibaba / alibaba/font-toolkit

Support TextMetrics API

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
85
Forks
15
PR merge metrics
No merged PRs in 30d

Description

https://developer.mozilla.org/en-US/docs/Web/API/TextMetrics

- [ ] actualBoundingBoxAscent
- [ ] actualBoundingBoxDescent
- [ ] actualBoundingBoxLeft
- [ ] actualBoundingBoxRight
- [ ] alphabeticBaseline
- [ ] emHeightAscent
- [ ] emHeightDescent
- [ ] fontBoundingBoxAscent
- [ ] fontBoundingBoxDescent
- [ ] hangingBaseline
- [ ] ideographicBaseline
- [ ] width

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked MDN TextMetrics reference and inspect the repository's existing font-metric entry points. Done means supporting each listed TextMetrics property, including width and the requested bounding-box, baseline, and em-height metrics; no files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api, computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.