Browse Source

Fix MTSDF error correction call in CLI mode with -scanline enabled #219

Chlumsky 6 months ago
parent
commit
84bfb2a402
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.cpp

+ 1 - 1
main.cpp

@@ -1290,7 +1290,7 @@ int main(int argc, const char *const *argv) {
                 break;
                 break;
             case MULTI_AND_TRUE:
             case MULTI_AND_TRUE:
                 distanceSignCorrection(mtsdf, shape, transformation, fillRule);
                 distanceSignCorrection(mtsdf, shape, transformation, fillRule);
-                msdfErrorCorrection(msdf, shape, transformation, postErrorCorrectionConfig);
+                msdfErrorCorrection(mtsdf, shape, transformation, postErrorCorrectionConfig);
                 break;
                 break;
             default:;
             default:;
         }
         }