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

[tx] Enable V option (remove overlaps) for UFO mode #1035

Open
miguelsousa opened this issue Nov 26, 2019 · 0 comments
Open

[tx] Enable V option (remove overlaps) for UFO mode #1035

miguelsousa opened this issue Nov 26, 2019 · 0 comments

Comments

@miguelsousa
Copy link
Member

I thought it would be just a matter of making this change

diff --git a/c/tx/source/tx.c b/c/tx/source/tx.c
index f508aa76..188c18a1 100644
--- a/c/tx/source/tx.c
+++ b/c/tx/source/tx.c
@@ -860,6 +860,7 @@ static void parseArgs(txCtx h, int argc, char *argv[]) {
                 switch (h->mode) {
                     case mode_cff:
                     case mode_t1:
+                    case mode_ufow:
                         h->flags &= ~PATH_REMOVE_OVERLAP;
                         break;
                     default:
@@ -870,6 +871,7 @@ static void parseArgs(txCtx h, int argc, char *argv[]) {
                 switch (h->mode) {
                     case mode_cff:
                     case mode_t1:
+                    case mode_ufow:
                         h->flags |= PATH_REMOVE_OVERLAP;
                         break;
                     default:

but it's more than that because using +V had no effect; the resulting UFO still had overlaps.

@miguelsousa miguelsousa changed the title [tx] Enable V option for UFO mode [tx] Enable V option (remove overlaps) for UFO mode Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant