Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BaselineShift property to fabricJS #4765

Merged
merged 12 commits into from
Mar 1, 2018
Merged

Add BaselineShift property to fabricJS #4765

merged 12 commits into from
Mar 1, 2018

Conversation

asturur
Copy link
Member

@asturur asturur commented Feb 26, 2018

Add the baseline shift functionality to fabricJS

denim2x and others added 12 commits August 12, 2017 13:46
* Add 'deltaY' attribute

Added 'deltaY' to '_styleProperties' and updated 'getSvgSpanStyles' for 'deltaY' -> 'baseline-shift'

* 'deltaY', superscript, subscript etc.

 Honors 'deltaY' during rendering; provides functionality for 'superscript' & 'subscript'; some bug-fixing
* simplify setting the script property

* fix tests

* Update text.class.js

* swapped signs on the schemas, so no inversion later
* revert to original model, fix rendering

improvements over original model, fixed decoration rendering and '_extendStyles'

* fix code style issues, tests
@asturur asturur merged commit aa9b8a6 into master Mar 1, 2018
@asturur asturur mentioned this pull request Mar 6, 2018
@asturur asturur deleted the baseline-shift branch March 22, 2018 10:51
thiagocunha pushed a commit to thiagocunha/fabric.js that referenced this pull request Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants