On Fri, 5 Feb 2010, Christiaan Hofman wrote: > > On Feb 3, 2010, at 16:30, Adam R. Maxwell wrote: > > > > > On Feb 3, 2010, at 6:29 AM, Duke Normandin wrote: > > > >> I assume you are implying that Apple's pdfKit is open-source? Then would > >> not appKit be hackable then? Or is the API the only thing available to > >> the developer? > >
> > PDF Kit is not open source, and there is no API in PDF Kit for > > setting a page's background color; you'd have to use a subclass of > > PDFPage and handle all of the drawing. For the page itself, this > > would be easy using CoreGraphics to draw the -pageRef, but I'm not > > sure about the annotations. Also, this would not work for all PDF > > files, since some already have a page background. > > Another, probably bigger, problem is that the PDF content may assume > the background is white, for instance it may contain graphics with a > white background. That will be very ugly when you change the > background color. True enough! However, this would be only a minor issue for me. There are _a lot_ of PDF documents that have no images included; and if they do, there might be only a few pages out of many that do have images. having the capability of changing the background color to soemthing on the greyscale (for me) would be an immense boon. Be-that-as-it-may, those who do not need a different bg color, can leave well enough alone. Do it! Do it! Do it! Do it! ;)) -- duke ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Skim-app-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/skim-app-users
