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

Rotation of Glyphs #517

Closed
rvilarl opened this issue Jun 6, 2022 · 2 comments
Closed

Rotation of Glyphs #517

rvilarl opened this issue Jun 6, 2022 · 2 comments

Comments

@rvilarl
Copy link

rvilarl commented Jun 6, 2022

VexFlow uses OTF fonts including SMUFL glyphs. I have suggested to use OpenType.js for rendering, but some glyphs require a 90° rotation.
See w3c/smufl#218 (comment)
See https://www.smufl.org/version/latest/range/multiSegmentLines/

Expected Behavior

A method should be provided to rotate the glyphs.
(I am not an expert, perhaps there is already a way to do this, that I do not know)

Possible Solution

Glyph functions might include an additional optional parameter to indicate the rotation angle.

Context

I need to render the multi segment lines from SMUFL fonts vertically.
See https://www.smufl.org/version/latest/range/multiSegmentLines/

Your Environment

@rvilarl
Copy link
Author

rvilarl commented Jun 7, 2022

Ok it seems that it is not supported. I saw the comment in the code

// TODO rotation and stretch currently not supported

Any plan to support it?

@yne
Copy link
Contributor

yne commented Jul 17, 2022

No plan here, but a PR is always welcome :)

@rvilarl rvilarl closed this as not planned Won't fix, can't repro, duplicate, stale Nov 6, 2023
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

No branches or pull requests

2 participants