diff --git a/GlyphsSource/SpeedPunk/SpeedPunk.m b/GlyphsSource/SpeedPunk/SpeedPunk.m index 9ff45d1..41e9b38 100644 --- a/GlyphsSource/SpeedPunk/SpeedPunk.m +++ b/GlyphsSource/SpeedPunk/SpeedPunk.m @@ -490,7 +490,7 @@ - (NSArray *)_calcCurvaturesQuadratic:(NSPoint)p1 p2:(NSPoint)p2 p3:(NSPoint)p3 - (void)calcCurvatures:(GSPathSegment *)segment steps:(int)steps { NSArray *curvatureSets; - if( segment.type == CURVE) { + if (segment.type == CURVE) { // curvatureSets = self._calcCurvaturesCubic(segment[0], segment[1], segment[2], segment[3], steps) curvatureSets = [self _calcCurvaturesCubic:segment->elements[0] p2:segment->elements[1] p3:segment->elements[2] p4:segment->elements[3] steps:steps]; } @@ -498,7 +498,7 @@ - (void)calcCurvatures:(GSPathSegment *)segment steps:(int)steps { if (segment->count == 3) { curvatureSets = [self _calcCurvaturesQuadratic:segment->elements[0] p2:segment->elements[1] p3:segment->elements[2] steps:steps]; } - else { + else if (segment->count > 3) { curvatureSets = [NSMutableArray new]; NSPoint prevOn = segment->elements[0]; steps /= segment->count - 2; diff --git a/GlyphsSource/SpeedPunk/common.xcconfig b/GlyphsSource/SpeedPunk/common.xcconfig index c96d9a5..8161cc7 100644 --- a/GlyphsSource/SpeedPunk/common.xcconfig +++ b/GlyphsSource/SpeedPunk/common.xcconfig @@ -1,9 +1,9 @@ // common -MARKETING_VERSION = 1.3 -CURRENT_PROJECT_VERSION = 20 +MARKETING_VERSION = 1.3.1 +CURRENT_PROJECT_VERSION = 21 -HUMAN_READABLE_COPYRIGHT = © 2023 Yanone +HUMAN_READABLE_COPYRIGHT = © 2025 Yanone PRODUCT_BUNDLE_IDENTIFIER = de.Yanone.${PRODUCT_NAME:rfc1034identifier} diff --git a/SpeedPunk.glyphsReporter/Contents/Info.plist b/SpeedPunk.glyphsReporter/Contents/Info.plist index 4249338..087de89 100644 --- a/SpeedPunk.glyphsReporter/Contents/Info.plist +++ b/SpeedPunk.glyphsReporter/Contents/Info.plist @@ -3,7 +3,7 @@ BuildMachineOSBuild - 21G726 + 22H420 CFBundleDevelopmentRegion en CFBundleExecutable @@ -17,13 +17,13 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 1.3 + 1.3.1 CFBundleSupportedPlatforms MacOSX CFBundleVersion - 20 + 21 DTCompiler com.apple.compilers.llvm.clang.1_0 DTPlatformBuild diff --git a/SpeedPunk.glyphsReporter/Contents/MacOS/SpeedPunk b/SpeedPunk.glyphsReporter/Contents/MacOS/SpeedPunk index 295157c..f7463f7 100755 Binary files a/SpeedPunk.glyphsReporter/Contents/MacOS/SpeedPunk and b/SpeedPunk.glyphsReporter/Contents/MacOS/SpeedPunk differ