diff --git a/Resources/Info.plist b/Resources/Info.plist index 3a57773..1dca0ab 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -171,7 +171,7 @@ CFBundleSignature VçEz CFBundleVersion - 1.0a5 + 1.0b1 NSMainNibFile MainMenu NSPrincipalClass diff --git a/Sources/VLLilypondDocument.mm b/Sources/VLLilypondDocument.mm index 112ab3e..e5447ba 100644 --- a/Sources/VLLilypondDocument.mm +++ b/Sources/VLLilypondDocument.mm @@ -156,15 +156,15 @@ static const char * sPaperNames[] = { [ly substituteMacro:@"VLVERSION" withValue: [bndl objectForInfoDictionaryKey:@"CFBundleVersion"]]; [ly substituteMacro:@"PAPERSIZE" withValue:paper]; - [ly substituteMacro:@"FORMATTING" withValue:@"ragged-last-bottom = ##f"]; + // [ly substituteMacro:@"FORMATTING" withValue:@"ragged-last-bottom = ##f"]; [ly substituteMacro:@"VLVERSION" withValue: [bndl objectForInfoDictionaryKey:@"CFBundleVersion"]]; [ly substituteMacro:@"CHORDSIZE" withValue: - [NSString stringWithFormat:@"%.1f", chordSize]]; + [NSString stringWithFormat:@"%f", chordSize]]; [ly substituteMacro:@"LYRICSIZE" withValue: - [NSString stringWithFormat:@"%.1f", lyricSize]]; + [NSString stringWithFormat:@"%f", lyricSize]]; [ly substituteMacro:@"STAFFSIZE" withValue: - [NSString stringWithFormat:@"%.1f", staffSize*scaling]]; + [NSString stringWithFormat:@"%f", staffSize*scaling]]; [ly substituteMacro:@"CHORDS" withValue: [NSString stringWithUTF8String:writer.Chords().c_str()]]; [ly substituteMacro:@"NOTES" withValue: diff --git a/Sources/VLXMLDocument.mm b/Sources/VLXMLDocument.mm index 0c611ab..96b4616 100644 --- a/Sources/VLXMLDocument.mm +++ b/Sources/VLXMLDocument.mm @@ -72,6 +72,7 @@ } // // Read print info + // NSFileWrapper * print = [wrappers objectForKey:@"PrintInfo"]; if (print) { NSUndoManager * undoMgr = [self undoManager];