| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
fix to error in calculation of Y offset in text rotation. todo: test and test baseline
see baseline_images for corresponding baseline
|
Thanks a lot for the pull request! Unfortunately this broke some existing tests in test_text.py, so this isn't compatible with the existing behaviour. So you will either have to change the old tests and argue that they were wrong, or modify this.... |
Sorry, something went wrong.
|
hey @Alex-Carter01, do you have any bandwidth to finish up this PR? |
Sorry, something went wrong.
|
Oh, and we should double-check with the Cairo renderer, although I suspect it might have the same bug if this is happening at a layer above AGG/Cairo? |
Sorry, something went wrong.
|
Thanks for opening this PR. Unfortunately I don't think this is the correct fix. ymax1 - baseline / 2.0 seems to be the correct logic, putting the offset halfway between the baseline and ymax, so I think subtracting ymin1 is incorrect. As such I'm going to close this PR - if I've missed something feel free to comment and I will open it up again, and thanks again for the contribution. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
PR Summary
Resolves issue #13044. Fixing calculation error of Y-offset for specific rotation mode of text. This pull also includes a proposed minimal test (based off the original bug report).
PR Checklist