Skip to content
/ lhpdf-fix Public

A fix that allows LuaHPDF to use Lua 5.3+ and libHaru to work with LuaHPDF when libpng is not available.

Notifications You must be signed in to change notification settings

lhf/lhpdf-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A fix that allows LuaHPDF to use Lua 5.3+ and libHaru to work with LuaHPDF when libpng is not available.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published