Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

code-supply/mudbrick

Open more actions menu

Repository files navigation

Mudbrick

API Documentation

PDF generator, beelining for:

  • PDF 2.0 support.
  • In-process, pure functional approach.
  • OpenType support.
  • Special characters and ligatures, like ₛᵤ₆ₛ꜀ᵣᵢₚₜₛ for chemical compounds etc.

Currently working:

  • OpenType fonts with ligatures, special characters and automatic kerning.
  • Text positioning.
  • Right and centre alignment.
  • Coloured text.
  • JPEG images.
  • Compression.
  • Underline with colour and thickness options.
  • Basic line drawing.

To do:

  • Other image formats.
  • Font subsetting.
  • Vector graphics.
  • Strikethrough.
  • Text highlight.

Installation

def deps do
  [
    {:mudbrick, "~> 0.0"}
  ]
end

What's the deal with the name?

It's a play on Adobe, which means mudbrick in Spanish.

See also

  • elixir-pdf, a more mature library, supporting AFM instead of OTF fonts, but only the base WinAnsiEncoding and no special characters. Uses a GenServer for state.
  • erlguten, an antiquated Erlang PDF generator.
  • opentype-elixir, used for OTF parsing.
  • ex_image_info, used for image metadata parsing.

About

PDF-2.0 generator

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.