Commit Graph

11 Commits

Author SHA1 Message Date
Hajime Hoshi
813e3b28af text/v2: add Metrics.XHeight and Metrics.CapHeight
Closes #3082
2024-09-11 00:15:57 +09:00
Hajime Hoshi
6a8f37453e text/v2: bug fix: MultiFace should use the last face as the final resort 2023-12-05 21:40:53 +09:00
Hajime Hoshi
800835d081 Revert "text/v2: rename Glyph -> Cluster"
This reverts commit f0d23de3d3.

Reason: Cluster doesn't represent a cluster but a part of a cluster.
2023-12-05 19:44:32 +09:00
Hajime Hoshi
f0d23de3d3 text/v2: rename Glyph -> Cluster
This also changes AppendClusters to return cluster info even if a
cluster doesn't have a glyph.
2023-12-05 18:00:30 +09:00
Hajime Hoshi
800101da90 text/v2: fix an error message
Updates #2845
2023-12-04 01:17:46 +09:00
Hajime Hoshi
81e0e61a43 text/v2: let NewMultiFace return an error
Updates #2845
2023-12-04 01:16:47 +09:00
Hajime Hoshi
fa3ec12731 text/v2: bug fix: the given slice to MultiFace should be copied
Updates #2845
2023-12-02 22:59:14 +09:00
Hajime Hoshi
dfa058a961 text/v2: change the signature of NewMultiFace
Updates #2845
2023-12-02 22:51:37 +09:00
Hajime Hoshi
a6b4a7a2ac text/v2: add NewMultiFace
Updates #2857
2023-12-02 14:56:03 +09:00
Hajime Hoshi
a444f2dd40 text/v2: replace Metrics.Height/Width with HLineGap and VLineGap
Updates #2454
2023-12-02 14:33:41 +09:00
Hajime Hoshi
b925f28104 text/v2: add MultiFace
Closes #2845
2023-11-26 03:32:22 +09:00