Revision: 2886
          http://skim-app.svn.sourceforge.net/skim-app/?rev=2886&view=rev
Author:   hofman
Date:     2007-09-10 16:15:23 -0700 (Mon, 10 Sep 2007)

Log Message:
-----------
Set a default border when parsing fdf.

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

Modified: trunk/SKFDFParser.m
===================================================================
--- trunk/SKFDFParser.m 2007-09-10 23:14:56 UTC (rev 2885)
+++ trunk/SKFDFParser.m 2007-09-10 23:15:23 UTC (rev 2886)
@@ -205,6 +205,9 @@
                  [dictionary setObject:[NSNumber 
numberWithInt:kPDFBorderStyleSolid] forKey:@"borderStyle"];
             }
         }
+    } else {
+        [dictionary setObject:[NSNumber numberWithFloat:1.0] 
forKey:@"lineWidth"];
+        [dictionary setObject:[NSNumber numberWithInt:kPDFBorderStyleSolid] 
forKey:@"borderStyle"];
     }
     
     if (CGPDFDictionaryGetName(annot, "Name", &name)) {


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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to