Coder Social home page Coder Social logo

doctormo / capypdf Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jpakkane/capypdf

0.0 1.0 0.0 6.5 MB

A fully color managed PDF generation library (inkscape fork)

License: Apache License 2.0

Shell 0.04% C++ 87.03% Python 11.77% C 0.29% Meson 0.86%

capypdf's Introduction

CapyPDF

This is a library for generating PDF files. It aims to be very low level. It does not have its own document model, it merely exposes PDF primitives directly.

Features

  • Fully color managed using LittleCMS 2
  • All fonts are embedded as subsets
  • Not implemented in C
  • Provides a plain C API for easy integration into scripting languages
  • Ships with a ctypes Python binding
  • Minimal dependencies

Things the library does not do

  • Reading PDF files
  • Modifying PDF files
  • Supporting any other backend than PDF
  • Parsing any vector data files like SVG
  • Data conversions in general (apart from colorspaces)
  • Supporting PDF versions earlier than 1.7

API stability guarantees

Until 1.0 there is no guarantee of any kind. Anything can be changed. However we try not to change things without a good reason. Once 1.0 happens, we aim to provide the following:

  • The plain C is both API and ABI stable
  • The internal C++ implementation "API" is not stable in any way
  • Only C symbols are exported so in order to get to the C++ API you have to change build settings. If you do that, there is no stability guarantee.
  • The Python API shall be stable as well

Status

The basic functionality is there but it's not even close to feature complete.

capypdf's People

Contributors

jpakkane avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.