From 77662b23fe75e1cf99cdbb69a844d67098a1427e Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Sun, 27 Jan 2008 10:43:16 +0000 Subject: [PATCH] Last pre-release tweaks --- Resources/Info.plist | 2 +- Sources/VLLilypondDocument.mm | 8 ++++---- Sources/VLXMLDocument.mm | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) 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];