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

Get correct text orientation when base line points are equal and fix #741 #877

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

BobLd
Copy link
Collaborator

@BobLd BobLd commented Aug 8, 2024

No description provided.

@BobLd BobLd requested a review from EliotJones August 8, 2024 13:04
return TextOrientation.Rotate270;
}

throw new Exception($"Could not find TextOrientation for rotation '{rotation}'.");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I follow this change but is there a risk that e.g. 270 throws, should we return Other here instead of throwing? Or 270 is just handled by the 90/-90 cases? Should we check that the value is divisible by 90 cleanly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @EliotJones, apologies I completely missed your comment here...

You are 100%, this needs to be handled differently. I will push a fix shorlty

@BobLd BobLd merged commit 689c127 into UglyToad:master Sep 29, 2024
1 check passed
@BobLd BobLd deleted the zero-width-letter-orient-2 branch September 29, 2024 15:43
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