Posts Tagged ‘Ocaml’

Proview PDF Editor 1.2 Released

Wednesday, August 18th, 2010

The new version of the Proview PDF Editor for Mac OS X is now available for download. The update is free for existing users - your license key will still work - just download and install from the website.

New features include Visual Crop and the setting of crop and trim boxes on individual pages. It’s also about twice as fast as before.

Proview 1.2 - Coming Soon

Sunday, August 15th, 2010

New Document Window in Version 1.2

A new version of our PDF Editor for the Mac will be launched next week. New features include Visual Crop and the setting of crop and trim boxes on individual pages. It’s also about twice as fast as before.

It’s not too late to join the beta program - just sign up with MacDeveloper.net. Proview 1.2 will be a free upgrade for existing users.

GraphPDF: A PDF Version of Ocaml’s Graphics Module

Saturday, April 3rd, 2010

I’ve written a version of Ocaml’s Graphics module which outputs PDF directly, using the CamlPDF library - its only dependency. It’s based on the approach of Pierre Weis’ GraphPS program.

It has the same API as Ocaml’s module - just have your build process find the GraphPDF files before it finds the system ones - the vast majority of programs shouldn’t need altering.

Get it here.

CamlPDF 0.5 Released

Monday, March 15th, 2010

I’m pleased to announce the CamlPDF 0.5 release, which includes a couple of new modules (Pdfdate for date manipulation, Pdfannot for annotations and Pdfmarks for bookmarks). Almost every other module has been improved in some way.

Download it here: http://www.coherentpdf.com/ocaml-libraries.html

More importantly, I’ve finally found time to write a short introduction to CamlPDF, which lets you try some basic work within the OCaml top level:

http://www.coherentpdf.com/introduction_to_camlpdf.pdf

There have been some API modifications which are not backward compatible, but the changes to your source are easy to make. This should be the last release with such changes.

There is now a CamlPDF mailing list:

http://www.freelists.org/list/camlpdf

PDF Editor for Mac OS X

Tuesday, February 9th, 2010

Our new PDF Editor for the mac is out - get it here.

  • Merge, split and rearrange files
  • Edit and manage bookmarks
  • Scale, rotate and crop pages
  • Add text, page numbers and dates and stamp watermarks
  • Edit document metadata
  • Manage PDF Attachments

Technical note: Written in OCaml and Objective C with Cocoa.

Thanks to all the beta testers - your license codes will be sent out shortly.

Last Call for Beta Testers

Thursday, October 15th, 2009

After some unexpectedly intricate work involving encryption, we’re almost ready for the closed Beta Test of our new PDF editor for OS X, written in OCaml.

Anyone wishing to join the test should email us via the form on the front page at http://www.coherentpdf.com/

Caml-based OS X PDF Editor - Beta testers wanted

Tuesday, July 21st, 2009

I’m beginning a closed beta test of our new PDF Editor for Mac OS X - see posts below for details.

If you’d like to be included, please use the contact form on our front page, giving if possible a short explanation of the kinds of things you might do with such a product. Feel free to pass on this invitation to friends who might be interested.

Another Quick Shot of the Desktop Product

Thursday, June 4th, 2009

Not very mac-like or slick yet, but the core functionality is almost there. The architecture for error handling and progress-bars between Cocoa and Ocaml is now complete.

PDF Editor for OS X

Launch sometime later this year.

Linking OCaml code into Cocoa

Tuesday, April 21st, 2009

Here’s a screenshot of an early version of our next product, a PDF editor for Mac OS X:

Screenshot

The architecture is:

  • A plain C wrapper around the higher-level interface to the CamlPDF library (the same interface used by our command line tools)
  • An Objective-C cocoa program using call-backs to Ocaml through the wrapper library
  • Callbacks from Ocaml into C to deal with error reporting and progress-bar updates.
  • CamlPDF is used for all the PDF modification. OS X Pdfkit is used for displaying the PDF and thumbnails in the document window.

The C wrapper will also be used to release a plain C version of our PDF tools to go with the .NET and command line versions, but not until the bugs are ironed out by using the same code to write the OS X product.

It ought to be possible to produce a Windows version of the product using the .NET version of CamlPDF at some point in the future.

An OCaml Interface for GPC

Friday, March 27th, 2009

Alan Murta’s General Polygon Clipper is the standard way of finding the intersection, union etc. of polygons.

I wrote an Ocaml interface for this many years ago for a dead project, but I’ve only just got around to packaging it up for release. You can get it here.