Revision: 4137
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4137&view=rev
Author:   hofman
Date:     2008-07-06 03:00:59 -0700 (Sun, 06 Jul 2008)

Log Message:
-----------
Add forward slash before annotation subtype in FDDF string to make it a 
postscript name.

Modified Paths:
--------------
    trunk/PDFAnnotation_SKExtensions.m

Modified: trunk/PDFAnnotation_SKExtensions.m
===================================================================
--- trunk/PDFAnnotation_SKExtensions.m  2008-07-05 14:06:01 UTC (rev 4136)
+++ trunk/PDFAnnotation_SKExtensions.m  2008-07-06 10:00:59 UTC (rev 4137)
@@ -104,7 +104,7 @@
     [fdfString appendFDFName:SKFDFTypeKey];
     [fdfString appendFDFName:SKFDFAnnotation];
     [fdfString appendFDFName:SKFDFAnnotationTypeKey];
-    [fdfString appendString:[[self type] isEqualToString:SKNNoteString] ? 
SKNTextString : [self type]];
+    [fdfString appendFormat:@"/%@", [[self type] 
isEqualToString:SKNNoteString] ? SKNTextString : [self type]];
     [fdfString appendFDFName:SKFDFAnnotationBoundsKey];
     [fdfString appendFormat:@"[%f %f %f %f]", NSMinX(bounds), NSMinY(bounds), 
NSMaxX(bounds), NSMaxY(bounds)];
     [fdfString appendFDFName:SKFDFAnnotationPageIndexKey];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to