StevenCyb / SimplePdfJs

A simple JS-library to create PDF's on client site.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimplePdfJs

This is a simple JS-library to create PDF's on client site. I was simply interested in how PDF documents are written. Therefore I have implemented a small library.

Demos / Examples

Below are a few examples/demos.

Blank Page

Description Illustration
This demo shows how easily an empty PDF can be created.

Blank Page With Metainformations

Description Illustration
This demo shows how to embedded metainformations in a PDF.

Hello World

Description Illustration
This demo shows how a text is added to the PDF.

Fonts And Two Pages

Description Illustration
This demo shows how several texts with different fonts and pages can be added to a PDF.

Text Colors

Description Illustration
This demo shows how texts can be colored.

Links

Description Illustration
This demo shows how links can be embedded in a PDF.

Draw Lines

Description Illustration
This demo shows how to draw lines.

Draw Curves

Description Illustration
This demo shows how to draw curves.

Draw Areas

Description Illustration
This demo shows how to draw areas.

Add Images

Description Illustration
This demo shows how to add images from URL, the canvas or image elements.

About

A simple JS-library to create PDF's on client site.

License:Apache License 2.0


Languages

Language:JavaScript 100.0%