cginternals / cginternals/webgl-operate

line anchor in multi-line label based on first line

Open
#171 2 comments 0 reactions 0 assignees View on GitHub
haeley-webgl-text
Dominant language
TypeScript
Stars
170
Forks
25
PR merge metrics
No merged PRs in 30d

Description

The line anchor (`Label.LineAnchor`) only takes the first line of a label into account. Given a multi-line label, the line anchor `Centered` won't vertically center the label at the given point.

Is this desired behaviour, since it is called `Lineanchor` and not `LabelAnchor`?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing Label.LineAnchor handling for multi-line labels, especially the Centered case. Confirm whether vertical centering uses only the first line, then determine the intended behavior from the existing label-anchor implementation or tests; done means the behavior is clarified and covered by an appropriate regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.