Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 851 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 851 Bytes

This repository fixes LuaHPDF to use Lua 5.3+ and libHaru to work with LuaHPDF when libpng is not available (the default in macOS). See also issue 266 in libHaru.

The fix is tiny and is concentrated in fix.h, which is included in a slightly patched hpdf.c (see the DIFFS).

To build do

make -C src get
make

This will also run test.lua and output test.pdf. Try also the LuaHPDF demos.

See also these generic instructions for my Lua libraries.

The code in hpdf.c is subject to the LuaHPDF License.