Skip to content

xinyu391/pdfium_with_cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

pdfium_with_cmake

convert pdf to image

compile pdfium with cmake on Ubuntu.
using agg, without V8/xfa
using libjpeg-turbo (need to install nasm)
using system zlib

download pdfium source code follow PDFium

mkdir repo
cd repo
gclient config --unmanaged https://pdfium.googlesource.com/pdfium.git
gclient sync
cd pdfium

修改代码

third_party/freetype/src/src/psnames/psmodule.c remove first #include "pstables.h"

// #include "pstables.h"
#define  DEFINE_PS_TABLES
#define  DEFINE_PS_TABLES_DATA
#include "pstables.h"

build

mkdir out
cd out
cmake ..
make -j4

About

build pdfium(render function) with pdf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published