diff --git a/GlyphsSource/SpeedPunk.xcodeproj/project.pbxproj b/GlyphsSource/SpeedPunk.xcodeproj/project.pbxproj index 47fd26d..8cc5248 100644 --- a/GlyphsSource/SpeedPunk.xcodeproj/project.pbxproj +++ b/GlyphsSource/SpeedPunk.xcodeproj/project.pbxproj @@ -32,7 +32,7 @@ 5649E5E72AC60A6700A0FF33 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/Localizable.strings; sourceTree = ""; }; 5649E5E82AC60A6800A0FF33 /* pt */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pt; path = pt.lproj/Localizable.strings; sourceTree = ""; }; 5649E5E92AC60A6A00A0FF33 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = ""; }; - 5649E5EA2AC61EBC00A0FF33 /* GlyphsCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GlyphsCore.framework; path = "../../../../../../Applications/Glyphs 3.app/Contents/Frameworks/GlyphsCore.framework"; sourceTree = ""; }; + 5649E5EA2AC61EBC00A0FF33 /* GlyphsCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GlyphsCore.framework; path = "/Applications/Glyphs 3.app/Contents/Frameworks/GlyphsCore.framework"; sourceTree = ""; }; 5664B2B02AC4597800A28703 /* SpeedPunk.glyphsReporter */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SpeedPunk.glyphsReporter; sourceTree = BUILT_PRODUCTS_DIR; }; 5664B2B32AC4597800A28703 /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; 5664B2B62AC4597800A28703 /* SpeedPunk.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SpeedPunk.h; sourceTree = ""; }; diff --git a/GlyphsSource/SpeedPunk/SpeedPunk.m b/GlyphsSource/SpeedPunk/SpeedPunk.m index 9ff45d1..622e75c 100644 --- a/GlyphsSource/SpeedPunk/SpeedPunk.m +++ b/GlyphsSource/SpeedPunk/SpeedPunk.m @@ -373,7 +373,7 @@ - (void)awakeFromNib { } - (NSUInteger)interfaceVersion { - // Distinguishes the API verison the plugin was built for. Return 1. + // Distinguishes the API version the plugin was built for. Return 1. return 1; } @@ -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