This repository was archived by the owner on Dec 10, 2024. It is now read-only.
Fontlayout: Speedup, show progress per polygon#31
Draft
iopapamanoglou wants to merge 8 commits intoatopile:mainfrom
Draft
Fontlayout: Speedup, show progress per polygon#31iopapamanoglou wants to merge 8 commits intoatopile:mainfrom
iopapamanoglou wants to merge 8 commits intoatopile:mainfrom
Conversation
Speedup the finding of distributed points in a polygon by introducing a higher convergence threshold and an absolute limit on the amount of points per polygon Also add options for showing progress
…ts_in_polygon Lowers the default theshold to get more accurate positioning
- Fix moving point inside polygon when COM is outside Moves the new point inside the polygon again when the calculated center-of-mass of the point is outside the polygon. - Fix exception when no points have travelled - Add check for empty polygon to return empty array - Fix some tasks not updating
Add support for left-aligned multiline strings
Add get_point_on_bezier_curve()
Adds a resolution parameter to string_to_polygons() which specifies in how many points a bezier curve in a font is approximated.
Improve placement of characters that have disjoint polygons by iterating until threshold, then forcing the points to be inside the polygon and iterating again instead of always forcing the points to be inside the polygon.
8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fontlayout: Speedup, show progress per polygon
Description
Reopened from faebryk/faebryk#213
string_to_polygons()Checklist
Please read and execute the following:
Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct: