Skip to content

Commit 004d5ce

Browse files
committed
refine comment
1 parent a5b2ea0 commit 004d5ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/text/typesetter.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -434,8 +434,8 @@ export class Typesetter {
434434
Typesetter.transformVertices(label.staticTransform, vertices, line[0], line[1]);
435435
}
436436

437-
// transform extent from Typesetting Space to label space (depending on the label, e.g. screen space (px) or
438-
// world space)
437+
// transform extent from Typesetting Space to the label's fontUnitSize space (depending on the label, e.g.
438+
// screen space (px) or world space)
439439
const width = boundingRectangle[3] - boundingRectangle[0];
440440
const height = boundingRectangle[4] - boundingRectangle[1];
441441

0 commit comments

Comments
 (0)