https://github.com/miyako/4d-plugin-xpdf
PDF tools based on Xpdf
https://github.com/miyako/4d-plugin-xpdf
4d-plugin pdf
Last synced: 11 months ago
JSON representation
PDF tools based on Xpdf
- Host: GitHub
- URL: https://github.com/miyako/4d-plugin-xpdf
- Owner: miyako
- License: gpl-3.0
- Created: 2020-04-19T00:13:02.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-18T00:23:40.000Z (about 4 years ago)
- Last Synced: 2025-01-08T17:57:01.659Z (over 1 year ago)
- Topics: 4d-plugin, pdf
- Language: C++
- Homepage:
- Size: 119 MB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README



### Dependencies and Licensing
* the source code of this plugin developed using the [4D Plug-in SDK](https://github.com/4d/4D-Plugin-SDK) is licensed under the MIT license
* see [Xpdf](https://www.xpdfreader.com/opensource.html) for the licensing of **Xpdf** (shared library).
* the licensing of the binary product of this plugin is subject to the licensing of all its dependencies.
# 4d-plugin-xpdf
Extract text from PDF, images from PDF.
see also [4d-plugin-poppler](https://github.com/miyako/4d-plugin-poppler)
### Syntax
[miyako.github.io](https://miyako.github.io/2020/04/19/4d-plugin-xpdf.html)
#### Notes
To build Xpdf without Qt dependency, open ``cmake-config.txt`` and remove the block the checks for the library. (``#--- look for Qt``). Otherwise, CMake configure fails. Note that only the ``xpdf`` tool requires Qt. For this project, we want to build ``libfofi`` ``libgoo`` ``libxpdf_objs`` ``libsplash``.
in CMake, set `CMAKE_EXE_LINKER_FLAGS` to add fontconfig
```
"-lfontconfig -L{LIBRARY_SEARCH_PATH}"
```
generate UNIX *Makefile*
in *aconf.c*, set
```
#define HAVE_FREETYPE_H 1
```