{"id":25,"date":"2009-01-20T08:01:17","date_gmt":"2009-01-20T13:01:17","guid":{"rendered":"http:\/\/coherentpdf.com\/blog\/?p=25"},"modified":"2010-02-16T10:05:28","modified_gmt":"2010-02-16T15:05:28","slug":"camlpdf-version-04-for-ocaml-and-f","status":"publish","type":"post","link":"https:\/\/coherentpdf.com\/blog\/?p=25","title":{"rendered":"CamlPDF Version 0.4 (for Ocaml and F#)"},"content":{"rendered":"<p><a href=\"http:\/\/www.coherentpdf.com\/ocaml-libraries.html\">CamlPDF Version 0.4<\/a> has been released. <\/p>\n<p>The biggest change is that this release now compiles with <a href=\"http:\/\/msdn.microsoft.com\/en-us\/fsharp\/default.aspx\">Microsoft F Sharp<\/a> as well as with <a href=\"http:\/\/caml.inria.fr\/\">OCaml<\/a>.<\/p>\n<p>Some major non-compatible changes have been made to the low-level API, due to the experience of building large software with the library. These should be the last such changes, at least to the basic modules.<\/p>\n<p>One of the changes is that many functions which used to take a Pdf.pdfdoc and return another one now modify the document in-place. This is rather un-idiomatic for a functional library, but threading all the documents through complicated functions in code using CamlPDF became wearying.<\/p>\n<p>There are several new modules:<\/p>\n<ul>\n<li>PDFSpace (Parsing Colourspaces) <\/li>\n<li>PDFText module extended for more encodings and better text extraction<\/li>\n<li>Cff module (Parse Type 1 fonts and convert to Type 3)<\/li>\n<li>PDFMarks (Bookmark handling &#8211; unfinished)<\/li>\n<li>PDFAnnot (PDF Annotations &#8211; unfinished)<\/li>\n<li>PDFGraphics (Structured graphics &#8211; unfinished &#8211; included only because Cff uses it<\/li>\n<\/ul>\n<p>This release is about a third faster in general than the last one, due to profiling under .NET. Many bug fixes are included, and extra facilities for dealing with malformed PDF files.<\/p>\n<p>CamlPDF is in commercial use in our <a href=\"http:\/\/www.coherentpdf.com\/\">Command Line PDF Toolkit and PDF Toolkit for .NET<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CamlPDF Version 0.4 has been released. The biggest change is that this release now compiles with Microsoft F Sharp as well as with OCaml. Some major non-compatible changes have been made to the low-level API, due to the experience of &hellip; <a href=\"https:\/\/coherentpdf.com\/blog\/?p=25\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[5],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-ocaml"],"_links":{"self":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":0,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}