Bug 552290 (stretchy-diagonal)

Stretching in diagonal directions

NEW
Unassigned

Status

()

Core
MathML
P5
normal
7 years ago
5 years ago

People

(Reporter: fredw, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
In the current implementation, Gecko can only stretch characters in vertical/horizontal directions. Some symbols - at least diagonal arrows - should be stretchable in "diagonal" directions. Note that the MathML spec does not distinguish these directions from "vertical+horizontal", so we should add them in our private dictionary. Here is the idea:

- extend the work of bug 524275 to add new directions "updiagonal", "downdiagonal" in the dictionary.

- extend the work of bug 414277 to be able to use a rotation as a transform. To draw the diagonal arrows, we draw horizontal arrows with the length of the diagonal (stretched with the "parts of glyph" techniques + possibly a scale transform) and rotate using the slope of the expected diagonal as angle.
(Reporter)

Updated

7 years ago
Alias: stretchy-diagonal
(Reporter)

Comment 1

6 years ago
Created attachment 526296 [details] [diff] [review]
MathML Operator dictionary: add entries for diagonal arrows
(Reporter)

Updated

5 years ago
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.