GithubHelp home page GithubHelp logo

pdf2htmlex / pdf2htmlex Goto Github PK

View Code? Open in Web Editor NEW
3.4K 53.0 334.0 135.91 MB

Convert PDF to HTML without losing text or format.

Home Page: https://pdf2htmlEX.github.io/pdf2htmlEX/

License: Other

CMake 0.35% Python 1.21% Shell 2.42% CSS 0.34% JavaScript 1.05% C++ 9.97% C 0.54% TeX 0.03% HTML 83.63% Roff 0.45% Makefile 0.01%
pdf html pdf-document-processor pdf-viewer

pdf2htmlex's Introduction

pdf2htmlEX

Build Status

Differences from upstream pdf2htmlEX:

This is my branch of pdf2htmlEX which aims to allow an open collaboration to help keep the project active. A number of changes and improvements have been incorporated from other forks:

  • Lots of bugs fixes, mostly of edge cases
  • Integration of latest Cairo code
  • Out of source building
  • Rewritten handling of obscured/partially obscured text - now much more accurate
  • Some support for transparent text
  • Improvement of DPI settings - clamping of DPI to ensure output graphic isn't too big

--correct-text-visibility tracks the visibility of 4 sample points for each character (currently the 4 corners of the character's bounding box, inset slightly) to determine visibility. It now has two modes. 1 = Fully occluded text handled (i.e. doesn't get put into the HTML layer). 2 = Partially occluded text handled.

The default is now "1", so fully occluded text should no longer show through. If "2" is selected then if the character is partially occluded it will be drawn in the background layer. In this case, the rendered DPI of the page will be automatically increased to --covered-text-dpi (default: 300) to reduce the impact of rasterized text.

For maximum accuracy I strongly recommend using the output options: --font-size-multiplier 1 --zoom 25. This will circumvent rounding errors inside web browsers. You will then have to scale down the resulting HTML page using an appropriate "scale" transform.

If you are concerned about file size of the resulting HTML, then I recommend patching fontforge to prevent it writing the current time into the dumped fonts, and then post-process the pdf2htmlEX data to remove duplicate files - there will usually be many duplicate background images and fonts.

一图胜千言
A beautiful demo is worth a thousand words

  • Bible de Genève, 1564 (fonts and typography): HTML / PDF
  • Cheat Sheet (math formulas): HTML / PDF
  • Scientific Paper (text and figures): HTML / PDF
  • Full Circle Magazine (read while downloading): HTML / PDF
  • Git Manual (CJK support): HTML / PDF

pdf2htmlEX renders PDF files in HTML, utilizing modern Web technologies. Academic papers with lots of formulas and figures? Magazines with complicated layouts? No problem!

pdf2htmlEX is also an online publishing tool which is flexible for many different use cases.

Learn more about who and why should use pdf2htmlEX.

Features

  • Native HTML text with precise font and location.
  • Flexible output: all-in-one HTML or on demand page loading (needs JavaScript).
  • Moderate file size, sometimes even smaller than PDF.
  • Supporting links, outlines (bookmarks), printing, SVG background, Type 3 fonts and more...

Compare to others

Portals

LICENSE

pdf2htmlEX, as a whole package, is licensed under GPLv3+. Some resource files are released with relaxed licenses, read LICENSE for more details.

Acknowledgements

pdf2htmlEX is made possible thanks to the following projects:

Testing Powered By SauceLabs

pdf2htmlEX is inspired by the following projects:

  • pdftohtml from poppler
  • MuPDF
  • PDF.js
  • Crocodoc
  • Google Doc

Special Thanks

  • Hongliang Tian
  • Wanmin Liu

pdf2htmlex's People

Contributors

afrosimon avatar akhuettel avatar brollb avatar chriscinelli avatar coolwanglu avatar dsablic avatar duanyao avatar gtryf avatar iapain avatar jahewson avatar jgoldfar avatar joshweinstein avatar jwilk avatar jwuttke avatar marcsanfacon avatar mortonfox avatar nnsth avatar pablgonz avatar rafiot avatar rmorlok avatar rockstar04 avatar scrouthtv avatar srijs avatar stephengaito avatar tatetian avatar teddytrombone avatar viliussutkus89 avatar wanminliu avatar witwall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdf2htmlex's Issues

Open at 100% width

How can I tell pdf2htmlEX to open the document using 100% width by default?

Connot finish make on version 0.14.6

can not finish make.
and there are errors:
--------------------------------------------------------------------- CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o: In function pdf2htmlEX::HTMLRenderer::install_external_font(GfxFont*, pdf2htmlEX::FontInfo&)':
font.cc:(.text+0x4984): undefined reference to GfxFont::locateFont(XRef*, bool)' CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o: In function pdf2htmlEX::HTMLRenderer::install_font(GfxFont*)':
font.cc:(.text+0x50ef): undefined reference to GfxFont::locateFont(XRef*, bool)' CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o: In function pdf2htmlEX::SplashBackgroundRenderer::SplashBackgroundRenderer(std::string const&, pdf2htmlEX::HTMLRenderer*, pdf2htmlEX::Param const&)':
SplashBackgroundRenderer.cc:(.text+0x198): undefined reference to SplashOutputDev::SplashOutputDev(SplashColorMode, int, bool, unsigned char*, bool, bool, SplashThinLineMode, bool)' CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o: In function CairoFreeTypeFont::create(GfxFont*, XRef*, FT_LibraryRec_*, bool)':
CairoFontEngine.cc:(.text+0x792): undefined reference to GfxFont::locateFont(XRef*, bool)' collect2: error: ld returned 1 exit status make[2]: *** [pdf2htmlEX] Error 1 make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2 make: *** [all] Error 2 ----------------------------------------------------------------------

Poppler compiler option change

The building wiki is a bit out of date it seems.

The new compiler options for poppler's xpdf are -DENABLE_UNSTABLE_API_ABI_HEADERS=ON, instead of --enable-xpdf-headers.

Not sure which version of poppler made the change, and it isn't in the INSTALL file provided by them. But is found by grepping their cmake options:

> egrep '^ *(option|set.*STRING)' CMakeLists.txt
option(ENABLE_UNSTABLE_API_ABI_HEADERS "Install API/ABI unstable xpdf headers." OFF)
...

Get new organization up and running

Todo list

  • Migrate wiki
  • Setup travis.ci for quality testing
  • Setup travis.ci for github release building (if feasible)
  • Establish a new ubuntu PPA
  • Review contributing guidelines and issue/pull request templates
  • Migrate existing credible issues from parent repo
  • Evaluate code changes in all existing branches (#4 ,#5, #6, #7, #8, #9)
  • Evaluate and merge outstanding pull requests from parent repo

Internal Error: Lookup sub table and attempt to output 2147483647 into a 16-bit field.

I'm trying to convert a simple PDF file like this on windows 64-bit 7 machine but it result in the below error. My guess it's missing some font on the machine, but I'm unsure nor do know which one.

Preprocessing: 0/4
Preprocessing: 1/4
Preprocessing: 2/4
Preprocessing: 3/4
Preprocessing: 4/4
Working: 0/4
Internal Error: Attempt to output 2147483647 into a 16-bit field. It will be truncated and the file may not be useful.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Arabic lookup 1 subtable in 'mark' Mark Positioning in Arabic lookup 1, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Arabic lookup 2 subtable in 'mark' Mark Positioning in Arabic lookup 2, contains no data.
Internal Error: Lookup sub table, 'mkmk' Mark to Mark in Arabic lookup 3 subtable in 'mkmk' Mark to Mark in Arabic lookup 3, contains no data.
Internal Error: Lookup sub table, 'mkmk' Mark to Mark in Arabic lookup 4 subtable in 'mkmk' Mark to Mark in Arabic lookup 4, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 5 subtable in 'mark' Mark Positioning lookup 5, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 6 subtable in 'mark' Mark Positioning lookup 6, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 7 subtable in 'mark' Mark Positioning lookup 7, contains no data.
Internal Error: Lookup sub table, Mark to base attachment lookup 8 subtable in Mark to base attachment lookup 8, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 9 subtable in 'mark' Mark Positioning lookup 9, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 10 subtable in 'mark' Mark Positioning lookup 10, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 11 subtable in 'mark' Mark Positioning lookup 11, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 12 subtable in 'mark' Mark Positioning lookup 12, contains no data.
Internal Error: Lookup sub table, Mark to base attachment lookup 13 subtable in Mark to base attachment lookup 13, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning lookup 14 subtable in 'mark' Mark Positioning lookup 14, contains no data.
Internal Error: Lookup sub table, 'mkmk' Mark to Mark lookup 15 subtable in 'mkmk' Mark to Mark lookup 15, contains no data.
Internal Error: Lookup sub table, 'mkmk' Mark to Mark lookup 16 subtable in 'mkmk' Mark to Mark lookup 16, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 17 subtable in 'mark' Mark Positioning in Hebrew lookup 17, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 18 subtable in 'mark' Mark Positioning in Hebrew lookup 18, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 19 subtable in 'mark' Mark Positioning in Hebrew lookup 19, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 20 subtable in 'mark' Mark Positioning in Hebrew lookup 20, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 21 subtable in 'mark' Mark Positioning in Hebrew lookup 21, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 22 subtable in 'mark' Mark Positioning in Hebrew lookup 22, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 23 contextual 0 in 'mark' Mark Positioning in Hebrew lookup 23, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 23 contextual 1 in 'mark' Mark Positioning in Hebrew lookup 23, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 23 contextual 2 in 'mark' Mark Positioning in Hebrew lookup 23, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 23 contextual 3 in 'mark' Mark Positioning in Hebrew lookup 23, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 24 contextual 0 in 'mark' Mark Positioning in Hebrew lookup 24, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 24 contextual 1 in 'mark' Mark Positioning in Hebrew lookup 24, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 24 contextual 2 in 'mark' Mark Positioning in Hebrew lookup 24, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 24 contextual 3 in 'mark' Mark Positioning in Hebrew lookup 24, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 25 contextual 0 in 'mark' Mark Positioning in Hebrew lookup 25, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 25 contextual 1 in 'mark' Mark Positioning in Hebrew lookup 25, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 25 contextual 2 in 'mark' Mark Positioning in Hebrew lookup 25, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 25 contextual 3 in 'mark' Mark Positioning in Hebrew lookup 25, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 26 contextual 0 in 'mark' Mark Positioning in Hebrew lookup 26, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 26 contextual 1 in 'mark' Mark Positioning in Hebrew lookup 26, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 26 contextual 2 in 'mark' Mark Positioning in Hebrew lookup 26, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 26 contextual 3 in 'mark' Mark Positioning in Hebrew lookup 26, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 27 subtable in 'mark' Mark Positioning in Hebrew lookup 27, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 28 subtable in 'mark' Mark Positioning in Hebrew lookup 28, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 29 subtable in 'mark' Mark Positioning in Hebrew lookup 29, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 0 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 1 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 2 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 3 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 4 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 5 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 6 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 30 contextual 7 in 'mark' Mark Positioning in Hebrew lookup 30, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 0 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 1 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 2 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 3 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 4 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 5 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 6 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 7 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 8 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 9 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 10 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 11 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 31 contextual 12 in 'mark' Mark Positioning in Hebrew lookup 31, contains no data.
Internal Error: Lookup sub table, 'mark' Mark Positioning in Hebrew lookup 32 subtable in 'mark' Mark Positioning in Hebrew lookup 32, contains no data.
Internal Error: Lookup sub table, Single Positioning lookup 33 subtable in Single Positioning lookup 33, contains no data.
Internal Error: Lookup sub table, Mark to base attachment lookup 34 subtable in Mark to base attachment lookup 34, contains no data.
Internal Error: Lookup sub table, Mark to base attachment lookup 35 subtable in Mark to base attachment lookup 35, contains no data.
Internal Error: Lookup sub table, Mark to base attachment lookup 36 subtable in Mark to base attachment lookup 36, contains no data.
Internal Error: Lookup sub table, Mark to base attachment lookup 37 subtable in Mark to base attachment lookup 37, contains no data.
Internal Error: Lookup sub table, Single Positioning lookup 38 subtable in Single Positioning lookup 38, contains no data.
Internal Error: Device Table offsets wrong in simple positioning 2
Internal Error: Lookup sub table, Single Positioning lookup 39 subtable in Single Positioning lookup 39, contains no data.
Internal Error: Lookup sub table, Pairwise Positioning (kerning) lookup 40 subtable in Pairwise Positioning (kerning) lookup 40, contains no data.
Internal Error: Lookup sub table, 'ccmp' Glyph Composition/Decomposition lookup 0 subtable in 'ccmp' Glyph Composition/Decomposition lookup 0, contains no data.
Internal Error: Lookup sub table, 'ccmp' Glyph Composition/Decomposition lookup 1 subtable in 'ccmp' Glyph Composition/Decomposition lookup 1, contains no data.
Internal Error: Lookup sub table, 'ccmp' Glyph Composition/Decomposition lookup 2 subtable in 'ccmp' Glyph Composition/Decomposition lookup 2, contains no data.
Internal Error: Lookup sub table, 'locl' Localized Forms in Latin lookup 3 subtable in 'locl' Localized Forms in Latin lookup 3, contains no data.
Internal Error: Lookup sub table, 'ccmp' Glyph Composition/Decomposition in Arabic lookup 4 subtable in 'ccmp' Glyph Composition/Decomposition in Arabic lookup 4, contains no data.
Internal Error: Lookup sub table, 'ccmp' Glyph Composition/Decomposition in Hebrew lookup 5 subtable in 'ccmp' Glyph Composition/Decomposition in Hebrew lookup 5, contains no data.
Internal Error: Lookup sub table, 'ccmp' Glyph Composition/Decomposition in Hebrew lookup 6 subtable in 'ccmp' Glyph Composition/Decomposition in Hebrew lookup 6, contains no data.
Internal Error: Lookup sub table, 'locl' Localized Forms in Arabic lookup 7 subtable in 'locl' Localized Forms in Arabic lookup 7, contains no data.
Internal Error: Lookup sub table, 'isol' Isolated Forms in Arabic lookup 8 subtable in 'isol' Isolated Forms in Arabic lookup 8, contains no data.
Internal Error: Lookup sub table, 'fina' Terminal Forms in Arabic lookup 9 subtable in 'fina' Terminal Forms in Arabic lookup 9, contains no data.
Internal Error: Lookup sub table, 'medi' Medial Forms in Arabic lookup 10 subtable in 'medi' Medial Forms in Arabic lookup 10, contains no data.
Internal Error: Lookup sub table, 'init' Initial Forms in Arabic lookup 11 subtable in 'init' Initial Forms in Arabic lookup 11, contains no data.
Internal Error: Lookup sub table, 'rlig' Required Ligatures in Arabic lookup 12 subtable in 'rlig' Required Ligatures in Arabic lookup 12, contains no data.
Internal Error: Lookup sub table, 'liga' Standard Ligatures in Arabic lookup 13 subtable in 'liga' Standard Ligatures in Arabic lookup 13, contains no data.
Internal Error: Lookup sub table, 'dlig' Discretionary Ligatures in Hebrew lookup 14 subtable in 'dlig' Discretionary Ligatures in Hebrew lookup 14, contains no data.
Internal Error: Lookup sub table, Single Substitution lookup 15 subtable in Single Substitution lookup 15, contains no data.
Internal Error: Lookup sub table, Ligature Substitution lookup 16 subtable in Ligature Substitution lookup 16, contains no data.
Internal Error: File Offset wrong for ttf table (name-data), -1 expected 570
Cannot save font to C:\Users\RREG2~1.CAN\AppData\Local\Temp//pdf2htmlEX-a04444/__tmp_font1.ttf

Webkit performance problem

pdf2htmlEX faces to performance issues in Webkit-based browsers (mainly Safari macOS and iOS + Epiphany on Linux). Epiphany is good browser for testing because not everybody can access Apple devices. Whole page is slowly rendered, sometimes browser just crashes and if loaded then scrolling is too slow and browser keeps repainting whole page (instead of neccessary parts).

Blink engine (Chrome, Edge) is working fine.

If you use element inspector in browser and uncheck CSS rule position: absolute on #page-container, everything will be OK (but this breaks other things like AJAX loading - it loads all pages, etc.).

I tried to get rid of position: absolute and rewrite CSS styles for sidebar and page-container to display: flex (visual look was the same and performance issues remained). After that I tried to rewrite CSS styles to display: inline-block - visual look was the same and performance issues remained and different issues occured in other browsers.

Create buildscripts for RPM based distributions

Today, almost all distributions on DistroWatch.com had either apt or rpm based package management systems... so adding getBuildToolsRpm, getDevLibrariesRpm and buildInstallLocallyRpm would probably be useful to other users.

At the moment this is a nice to have (rather than a must have) issue.

CairoFontEngine.cc cannot compile

/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc: In member function ‘virtual bool CairoFont::matches(Ref&, bool)’:
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:83:17: error: no match for ‘operator==’ (operand types are ‘Ref’ and ‘Ref’)
   return (other == ref);
                 ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc: In static member function ‘static CairoFreeTypeFont* CairoFreeTypeFont::create(GfxFont*, XRef*, FT_Library, bool)’:
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:420:47: error: ‘class GooString’ has no member named ‘c_str’
      gfxFont->getName() ? gfxFont->getName()->c_str()
                                               ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:439:27: error: ‘class GooString’ has no member named ‘c_str’
     fileNameC = fileName->c_str();
                           ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:465:11: error: ‘getAlternateName’ is not a member of ‘GfxFont’
    name = GfxFont::getAlternateName(name);
           ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:488:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         ff = FoFiTrueType::load(fileNameC);
                                          ^
In file included from /home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:45:0:
/usr/include/poppler/fofi/FoFiTrueType.h:53:24: error:   initializing argument 1 of ‘static FoFiTrueType* FoFiTrueType::load(char*, int)’ [-fpermissive]
   static FoFiTrueType *load(char *fileName, int faceIndexA=0);
                        ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:502:40: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
       ff = FoFiTrueType::load(fileNameC);
                                        ^
In file included from /home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:45:0:
/usr/include/poppler/fofi/FoFiTrueType.h:53:24: error:   initializing argument 1 of ‘static FoFiTrueType* FoFiTrueType::load(char*, int)’ [-fpermissive]
   static FoFiTrueType *load(char *fileName, int faceIndexA=0);
                        ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:531:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         ff1c = FoFiType1C::load(fileNameC);
                                          ^
In file included from /home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:46:0:
/usr/include/poppler/fofi/FoFiType1C.h:154:22: error:   initializing argument 1 of ‘static FoFiType1C* FoFiType1C::load(char*)’ [-fpermissive]
   static FoFiType1C *load(char *fileName);
                      ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:563:37: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
    ff = FoFiTrueType::load(fileNameC);
                                     ^
In file included from /home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:45:0:
/usr/include/poppler/fofi/FoFiTrueType.h:53:24: error:   initializing argument 1 of ‘static FoFiTrueType* FoFiTrueType::load(char*, int)’ [-fpermissive]
   static FoFiTrueType *load(char *fileName, int faceIndexA=0);
                        ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc: In function ‘cairo_status_t _render_type3_glyph(cairo_scaled_font_t*, long unsigned int, cairo_t*, cairo_text_extents_t*)’:
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:700:37: error: no matching function for call to ‘Dict::getVal(long unsigned int&)’
   charProc = charProcs->getVal(glyph);
                                     ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:700:37: note: candidate is:
In file included from /usr/include/poppler/Object.h:302:0,
                 from /usr/include/poppler/GfxFont.h:39,
                 from /home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.h:38,
                 from /home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:42:
/usr/include/poppler/Dict.h:85:11: note: Object* Dict::getVal(int, Object*)
   Object *getVal(int i, Object *obj);
           ^
/usr/include/poppler/Dict.h:85:11: note:   candidate expects 2 arguments, 1 provided
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc: In member function ‘virtual bool CairoType3Font::matches(Ref&, bool)’:
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:786:17: error: no match for ‘operator==’ (operand types are ‘Ref’ and ‘Ref’)
   return (other == ref && printing == printingA);
                 ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc: In member function ‘virtual bool CairoFont::matches(Ref&, bool)’:
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:84:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc: In member function ‘virtual bool CairoType3Font::matches(Ref&, bool)’:
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:787:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o] Error 1
make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
make: *** [all] Error 2

What should I do?

memory leak

Hi all:
sample.pdf
This file on page 2 and 3 will cause memory leak. I compile a docker and the libfontforge version is 20190801.

pdf2htmlEX version 0.18.7
Copyright 2012-2015 Lu Wang <[email protected]> and other contributors
Libraries: 
  poppler 0.80.0
  libfontforge 20190801
  cairo 1.16.0
Default data-dir: /usr/local/share/pdf2htmlEX
Supported image format: png jpg svg

Regards
guoxuequan

Compile Alpine version of pdf2htmlEX using gnu-iconv

At the moment the Alpine version of pdf2htmlEX uses static versions of FontForge and Poppler which have been compiled against Alpine's standard iconv library.

Unfortunately, the Alpine version of iconv is unable to deal with some 'standard' fonts, and so you might find these fonts are not transferred into the resulting html.

We need to change the buildScripts/getDevLibrariesAlpie and buildScript/createAlpineTarFile scripts to compile FontForge and Poppler using the gnu-libiconv-dev Alpine package

Fails to build on Debian unstable

Hi,

I'm the Debian maintainer of pdf2htmlex. I tried building version 0.15.0 of your fork in Debian unstable but ran into the following error:

[  2%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/pdf2htmlEX.cc.o
/usr/bin/c++   -I/<<PKGBUILDDIR>>/src -I/usr/include/poppler -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/fontforge  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -std=c++0x -pthread   -o CMakeFiles/pdf2htmlEX.dir/src/pdf2htmlEX.cc.o -c /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc
In file included from /<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:31,
                 from /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:34:
/<<PKGBUILDDIR>>/src/Preprocessor.h:33:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool upsideDown() { return gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/Preprocessor.h:34:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool useDrawChar() { return gTrue; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/Preprocessor.h:35:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool interpretType3Chars() { return gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/Preprocessor.h:36:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool needNonText() { return gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/Preprocessor.h:37:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool needClipToCropBox() { return gTrue; }
             ^~~~~
             bool
In file included from /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:34:
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:61:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool upsideDown() { return gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:64:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool useDrawChar() { return gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:69:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool useShadedFills(int type) { return (type == 2) ? gTrue: gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:73:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool interpretType3Chars() { return gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:76:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool needNonText() { return (param.process_nontext) ? gTrue: gFalse; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:80:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool needClipToCropBox() { return gTrue; }
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:131:126: error: ‘GBool’ has not been declared
     virtual void drawImage(GfxState * state, Object * ref, Stream * str, int width, int height, GfxImageColorMap * colorMap, GBool interpolate, int *maskColors, GBool inlineImg);
                                                                                                                              ^~~~~
In file included from /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:34:
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:131:162: error: ‘GBool’ has not been declared
     virtual void drawImage(GfxState * state, Object * ref, Stream * str, int width, int height, GfxImageColorMap * colorMap, GBool interpolate, int *maskColors, GBool inlineImg);
                                                                                                                                                                  ^~~~~
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:136:24: error: ‘GBool’ has not been declared
                        GBool interpolate,
                        ^~~~~
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:140:24: error: ‘GBool’ has not been declared
                        GBool maskInterpolate);
                        ^~~~~
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:145:13: error: ‘GBool’ does not name a type; did you mean ‘bool’?
     virtual GBool axialShadedFill(GfxState *state, GfxAxialShading *shading, double tMin, double tMax);
             ^~~~~
             bool
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:149:39: error: ‘GBool’ has not been declared
                                       GBool /*isolated*/, GBool /*knockout*/,
                                       ^~~~~
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:149:59: error: ‘GBool’ has not been declared
                                       GBool /*isolated*/, GBool /*knockout*/,
                                                           ^~~~~
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:150:39: error: ‘GBool’ has not been declared
                                       GBool /*forSoftMask*/);
                                       ^~~~~
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:325:18: error: cannot declare field ‘pdf2htmlEX::HTMLRenderer::preprocessor’ to be of abstract type ‘pdf2htmlEX::Preprocessor’
     Preprocessor preprocessor;
                  ^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:31,
                 from /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:34:
/<<PKGBUILDDIR>>/src/Preprocessor.h:26:7: note:   because the following virtual functions are pure within ‘pdf2htmlEX::Preprocessor’:
 class Preprocessor : public OutputDev {
       ^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:15,
                 from /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:34:
/usr/include/poppler/OutputDev.h:90:16: note: 	‘virtual bool OutputDev::upsideDown()’
   virtual bool upsideDown() = 0;
                ^~~~~~~~~~
/usr/include/poppler/OutputDev.h:93:16: note: 	‘virtual bool OutputDev::useDrawChar()’
   virtual bool useDrawChar() = 0;
                ^~~~~~~~~~~
/usr/include/poppler/OutputDev.h:113:16: note: 	‘virtual bool OutputDev::interpretType3Chars()’
   virtual bool interpretType3Chars() = 0;
                ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pdf2htmlEX.cc: In function ‘int main(int, char**)’:
/<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:423:56: error: invalid new-expression of abstract class type ‘pdf2htmlEX::HTMLRenderer’
         unique_ptr<HTMLRenderer>(new HTMLRenderer(param))->process(doc);
                                                        ^
In file included from /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:34:
/<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:48:8: note:   because the following virtual functions are pure within ‘pdf2htmlEX::HTMLRenderer’:
 struct HTMLRenderer : OutputDev
        ^~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/src/HTMLRenderer/HTMLRenderer.h:15,
                 from /<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:34:
/usr/include/poppler/OutputDev.h:90:16: note: 	‘virtual bool OutputDev::upsideDown()’
   virtual bool upsideDown() = 0;
                ^~~~~~~~~~
/usr/include/poppler/OutputDev.h:93:16: note: 	‘virtual bool OutputDev::useDrawChar()’
   virtual bool useDrawChar() = 0;
                ^~~~~~~~~~~
/usr/include/poppler/OutputDev.h:113:16: note: 	‘virtual bool OutputDev::interpretType3Chars()’
   virtual bool interpretType3Chars() = 0;
                ^~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:441:13: error: ‘memCheck’ is not a member of ‘Object’
     Object::memCheck(stderr);
             ^~~~~~~~
/<<PKGBUILDDIR>>/src/pdf2htmlEX.cc:442:5: error: ‘gMemReport’ was not declared in this scope
     gMemReport(stderr);
     ^~~~~~~~~~
make[4]: *** [CMakeFiles/pdf2htmlEX.dir/build.make:66: CMakeFiles/pdf2htmlEX.dir/src/pdf2htmlEX.cc.o] Error 1

Is some include missing?

Conversion of documents with Arabic script not perfect

When I convert documents that contain texts in Arabic script I get mixed results. When I force conversion to Unicode (1) it's the worst but all the settings (-1, 0) don't give satisfactory results either. Is there a build that does this better or any other recommendation?

[Solved] Compile on Debian 10 buster

Hello,

I'm trying to build pdf2htmlEX on debian 10 with poppler 0.71 . Which version (branch/tag?) to try ? I've tried for Ubuntu 18.10 (for poppler 0.68) and 19.04 (for poppler 0.74), but both failed compiling with different errors.

Just for fun pdf2htmlEX under WSL working OK

Just as a report, it works perfectly under WSL, yes, you must follow the instructions of Building yourself. The version available in .deb cannot be installed directly (or I could not at least).

pablo@worktex:/mnt/d/linux/pdf2htmlEX$ uname -a
Linux worktex 4.4.0-19041-Microsoft #1-Microsoft Fri Dec 06 14:06:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
pablo@worktex:/mnt/d/linux/pdf2htmlEX$ pdf2htmlEX --version
pdf2htmlEX version 0.18.8.rc1
Copyright 2012-2015 Lu Wang <[email protected]> and other contributors
Libraries:
  poppler 0.89.0
  libfontforge (date) 20200314
  cairo 1.16.0
Default data-dir: /usr/local/share/pdf2htmlEX
Poppler data-dir: /usr/local/share/pdf2htmlEX/poppler
Supported image format: png jpg svg

Greetings and thank you all for the great work.

text order is reversed

Hi,
I am trying to convert a pdf that has some sections of data

top lef, top right
center bottom

the output of the conversion is correct but the order of the divs is reversed.
center bottom is first
than top lef, top right.

This causes the text selection to behave wierd.

Has anyone encountered this?

Thanks

Segmentation fault during processing

pdf2htmlEX version 0.18.7, installed on Debian Stretch with poppler 0.81.0 compiled.

I'm receiving "segmentation fault" when I try to process a PDF file:

me@server:~$ pdf2htmlEX --version
pdf2htmlEX version 0.18.7
Copyright 2012-2015 Lu Wang <[email protected]> and other contributors
Libraries: 
  poppler 0.81.0
  libfontforge 20190114
  cairo 1.14.8
Default data-dir: /usr/share/pdf2htmlEX
Supported image format: png jpg svg

me@server:~$ pdf2htmlEX --embed cfijo --fit-width 1024 --bg-format jpg --split-page 1 --dest-dir /tmp/test/ file.pdf 
Preprocessing: 44/44
Segmentation fault

[0.18.7]fatal error: poppler-config.h: No such file or directory

error

[ 8%] Building CXX object CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o
/home/pdf2htmlEX/pdf2htmlEX-0.18.7-poppler-0.81.0/3rdparty/poppler/git/CairoFontEngine.cc:39:28: fatal error: poppler-config.h: No such file or directory
#include <poppler-config.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o] Error 1
make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
make: *** [all] Error 2


I had success compile poppler-0.81.0 and installed.
and I use find /usr/ -name poppler-config.h reture nothing output.

my OS is CentOS 7.

Anyone having success using pdf2htmlex on ubuntu 20.04?

I tried using the latest version on the latest LTS of Ubuntu but it won't work due to the newer version of Poppler.
Compiling it manually doesn't do the trick either.
Do you have any tips? Or will there be a release for the newer Poppler versions?

unable pip install pdf2htmlex

ERROR: Could not find a version that satisfies the requirement pdf2htmlex (from versions: none)
ERROR: No matching distribution found for pdf2htmlex

Font process issue

Hello,

I am stuck on processing a pdf file.
I am getting these kind of warnings:

  • No glyph for the key character to derive standard width and height
    for the latin script, this key character is 'o'
  • To Unicode cmap is not valid and got dropped for font
  • Encoding confliction detected in font

I have included on command line: --tounicode 1 and/or call to ttfautohint
How can I get past this issue?

Html text, looks like this:
Electrical System - Alternator
Electrical System - Alternator

  
 
  
 


Extract text retaining references to html divs

Hello. Sorry if this is not an appropriate place to do that but I'm not an experienced web-developer and I'd like to ask for help and guidance:
I'd like to be able to process the html output by pdf2htmlEX in such a way that certain (but not known before running the program) phrases are highlighted. So I'd figured that I should:

  • parse the html with BeautifulSoup in Python,
  • extract the id="page-container" div,
  • glue the text fields into a plain text on the side without losing information which text-bite came form which div, and figure out which divs need to be highlighted,
  • place a modified version of the id="page-container" div back into the original html.

Would you say that this makes sense? Is there some functionality in pdf2htmlEX which could make my task easier and which I seem to be missing? Some sort of sentence-extractor for example?
Many thanks!

Can't compile pdf2htmlEX in one server

**Hi,

I have problem with building last version just in one of 7 servers. Another 6 is ok.
Ubuntu 18.04 64-bit on all servers.**

`

BUILDING pdf2htmlEX (using gcc)

cd pdf2htmlEX
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cairo>=1.10.0'
--   Found cairo, version 1.15.10
-- Trying to locate cairo-svg...
--    found cairo-svg...
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.8.1")
-- Performing Test CXX0X_SUPPORT
-- Performing Test CXX0X_SUPPORT - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/web/git/pdf2htmlEX/pdf2htmlEX/build
make $MAKE_PARALLEL
Scanning dependencies of target pdf2htmlEX_resources
Scanning dependencies of target pdf2htmlEX
[  2%] Generating ../share/base.min.css, ../share/fancy.min.css
+ dirname ../share/build_css.sh
[  5%] Generating ../share/pdf2htmlEX.min.js
+ dirname ../share/build_js.sh
+ BASEDIR=../share
+ + CLOSURE_COMPILER_DIR=../share/../3rdparty/closure-compilerBASEDIR=../share

+ CLOSURE_COMPILER_JAR=../share/../3rdparty/closure-compiler/compiler.jar+
YUI_DIR=../share/../3rdparty/yuicompressor
+ INPUT=../share/pdf2htmlEX.js
+ + YUI_JAR=../share/../3rdparty/yuicompressor/yuicompressor-2.4.8.jarOUTPUT_FN=pdf2htmlEX.min.js

+ OUTPUT=../share/pdf2htmlEX.min.js
+ build base.css base.min.css
+ INPUT=../share/base.css
+ OUTPUT=../share/base.min.css
+ echo Building pdf2htmlEX.min.js with closure-compiler...
Building pdf2htmlEX.min.js with closure-compiler...
+ java -jar ../share/../3rdparty/closure-compiler/compiler.jar --compilation_level SIMPLE_OPTIMIZATIONS --warning_level VERBOSE --output_wrapper (function(){%output%})(); --js ../share/pdf2htmlEX.js --js_output_file ../share/pdf2htmlEX.min.js
+ echo Building ../share/base.min.css with YUI Compressor
Building ../share/base.min.css with YUI Compressor
+ java -jar ../share/../3rdparty/yuicompressor/yuicompressor-2.4.8.jar --charset utf-8 -o ../share/base.min.css ../share/base.css
[  8%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/state.cc.o
[ 20%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/draw.cc.o
[ 20%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/pdf2htmlEX.cc.o
[ 20%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/general.cc.o
[ 20%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/image.cc.o
[ 22%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/CairoBackgroundRenderer.cc.o
[ 25%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/link.cc.o
[ 31%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/outline.cc.o
[ 31%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/form.cc.o
[ 37%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o
[ 37%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o
[ 40%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/BackgroundRenderer.cc.o
[ 42%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o
[ 45%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/const.cc.o
[ 48%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/encoding.cc.o
+ echo Done.
Done.
+ build fancy.css fancy.min.css
+ INPUT=../share/fancy.css
+ OUTPUT=../share/fancy.min.css
+ echo Building ../share/fancy.min.css with YUI Compressor
Building ../share/fancy.min.css with YUI Compressor
+ java -jar ../share/../3rdparty/yuicompressor/yuicompressor-2.4.8.jar --charset utf-8 -o ../share/fancy.min.css ../share/fancy.css
[ 51%] Building C object CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o
+ echo Done.
Done.
[ 54%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/math.cc.o
[ 57%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/misc.cc.o
[ 60%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/path.cc.o
[ 62%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/unicode.cc.o
[ 65%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/mingw.cc.o
[ 68%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/SignalHandler.cc.o
[ 71%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/ArgParser.cc.o
[ 74%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/Base64Stream.cc.o
[ 77%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/Color.cc.o
[ 80%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/DrawingTracer.cc.o
[ 82%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/CoveredTextDetector.cc.o
[ 85%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLTextLine.cc.o
[ 88%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLTextPage.cc.o
[ 91%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/Preprocessor.cc.o
[ 94%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/StringFormatter.cc.o
[ 97%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/TmpFiles.cc.o
+ echo Done.
Done.
[100%] Linking CXX executable pdf2htmlEX
[100%] Built target pdf2htmlEX_resources
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `shutdownNss()':
SignatureHandler.cc:(.text+0x5): undefined reference to `NSS_Shutdown'
SignatureHandler.cc:(.text+0x19): undefined reference to `PORT_GetError'
SignatureHandler.cc:(.text+0x22): undefined reference to `PR_ErrorToString'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSignerName()':
SignatureHandler.cc:(.text+0x18c): undefined reference to `NSS_IsInitialized'
SignatureHandler.cc:(.text+0x195): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x1a1): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSignerSubjectDN()':
SignatureHandler.cc:(.text+0x1dc): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x1e8): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSigningTime()':
SignatureHandler.cc:(.text+0x24c): undefined reference to `NSS_CMSSignerInfo_GetSigningTime'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getEntityInfo(CERTNameStr*) const':
SignatureHandler.cc:(.text+0x2bc): undefined reference to `CERT_NameToAscii'
SignatureHandler.cc:(.text+0x2e9): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x2f1): undefined reference to `CERT_GetCommonName'
SignatureHandler.cc:(.text+0x31d): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x325): undefined reference to `CERT_GetCertEmailAddress'
SignatureHandler.cc:(.text+0x352): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x35a): undefined reference to `CERT_GetOrgName'
SignatureHandler.cc:(.text+0x387): undefined reference to `PORT_Free'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getCertificateInfo() const':
SignatureHandler.cc:(.text+0x3d6): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x3e2): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
SignatureHandler.cc:(.text+0x40f): undefined reference to `DER_GetInteger'
SignatureHandler.cc:(.text+0x4a3): undefined reference to `CERT_GetCertTimes'
SignatureHandler.cc:(.text+0x521): undefined reference to `CERT_ExtractPublicKey'
SignatureHandler.cc:(.text+0x868): undefined reference to `SECKEY_PublicKeyStrengthInBits'
SignatureHandler.cc:(.text+0x8d9): undefined reference to `CERT_CompareName'
SignatureHandler.cc:(.text+0x8f5): undefined reference to `SECKEY_DestroyPublicKey'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::setNSSDir(GooString const&)':
SignatureHandler.cc:(.text+0xb50): undefined reference to `NSS_IsInitialized'
SignatureHandler.cc:(.text+0xbae): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xbce): undefined reference to `SECMOD_AddNewModule'
SignatureHandler.cc:(.text+0xcf4): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xd4b): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xdcb): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xe03): undefined reference to `NSS_NoDB_Init'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::initHashContext()':
SignatureHandler.cc:(.text+0xe71): undefined reference to `NSS_CMSSignedData_GetDigestAlgs'
SignatureHandler.cc:(.text+0xe8d): undefined reference to `SECOID_FindOIDTag'
SignatureHandler.cc:(.text+0xea1): undefined reference to `SECOID_FindOIDTag'
SignatureHandler.cc:(.text+0xea8): undefined reference to `HASH_GetHashTypeByOidTag'
SignatureHandler.cc:(.text+0xeaf): undefined reference to `HASH_Create'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::~SignatureHandler()':
SignatureHandler.cc:(.text+0xefb): undefined reference to `SECITEM_FreeItem'
SignatureHandler.cc:(.text+0xf09): undefined reference to `NSS_CMSMessage_Destroy'
SignatureHandler.cc:(.text+0xf17): undefined reference to `HASH_Destroy'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::CMS_MessageCreate(SECItemStr*)':
SignatureHandler.cc:(.text+0xf4d): undefined reference to `NSS_CMSMessage_CreateFromDER'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::CMS_SignedDataCreate(NSSCMSMessageStr*)':
SignatureHandler.cc:(.text+0xf82): undefined reference to `NSS_CMSMessage_IsSigned'
SignatureHandler.cc:(.text+0xf94): undefined reference to `NSS_CMSMessage_ContentLevel'
SignatureHandler.cc:(.text+0xfa5): undefined reference to `NSS_CMSContentInfo_GetContent'
SignatureHandler.cc:(.text+0x1051): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x106a): undefined reference to `CERT_NewTempCertificate'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::SignatureHandler(unsigned char*, int)':
SignatureHandler.cc:(.text+0x1209): undefined reference to `NSS_CMSSignedData_GetSignerInfo'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::CMS_SignerInfoCreate(NSSCMSSignedDataStr*)':
SignatureHandler.cc:(.text+0x1267): undefined reference to `NSS_CMSSignedData_GetSignerInfo'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::validateSignature()':
SignatureHandler.cc:(.text+0x12c7): undefined reference to `NSS_IsInitialized'
SignatureHandler.cc:(.text+0x12e1): undefined reference to `PORT_Alloc'
SignatureHandler.cc:(.text+0x12ff): undefined reference to `HASH_End'
SignatureHandler.cc:(.text+0x130f): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x131b): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
SignatureHandler.cc:(.text+0x135e): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x139c): undefined reference to `NSS_CMSSignerInfo_Verify'
SignatureHandler.cc:(.text+0x13a8): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x13d1): undefined reference to `PORT_Free'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::validateCertificate(long)':
SignatureHandler.cc:(.text+0x1434): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x1440): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
SignatureHandler.cc:(.text+0x1467): undefined reference to `CERT_GetClassicOCSPEnabledSoftFailurePolicy'
SignatureHandler.cc:(.text+0x14a5): undefined reference to `CERT_PKIXVerifyCert'
SignatureHandler.cc:(.text+0x14aa): undefined reference to `PORT_GetError'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSignerName()':
SignatureHandler.cc:(.text+0x1b3): undefined reference to `CERT_GetCommonName'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::updateHash(unsigned char*, int)':
SignatureHandler.cc:(.text+0xeda): undefined reference to `HASH_Update'
collect2: error: ld returned 1 exit status
CMakeFiles/pdf2htmlEX.dir/build.make:906: recipe for target 'pdf2htmlEX' failed
make[2]: *** [pdf2htmlEX] Error 1
CMakeFiles/Makefile2:355: recipe for target 'CMakeFiles/pdf2htmlEX.dir/all' failed
make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

If I'm trying to compile it in single thread

`

BUILDING pdf2htmlEX (using gcc)

cd pdf2htmlEX
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX ..
-- The C compiler identification is GNU 7.5.0
-- The CXX compiler identification is GNU 7.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cairo>=1.10.0'
--   Found cairo, version 1.15.10
-- Trying to locate cairo-svg...
--    found cairo-svg...
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.8.1")
-- Performing Test CXX0X_SUPPORT
-- Performing Test CXX0X_SUPPORT - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/src/web/git/pdf2htmlEX/pdf2htmlEX/build
make $MAKE_PARALLEL
Scanning dependencies of target pdf2htmlEX
[  2%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/pdf2htmlEX.cc.o
[  5%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/draw.cc.o
[  8%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/general.cc.o
[ 11%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/image.cc.o
[ 14%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o
[ 17%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/form.cc.o
[ 20%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/link.cc.o
[ 22%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/outline.cc.o
[ 25%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/state.cc.o
[ 28%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/text.cc.o
[ 31%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/BackgroundRenderer.cc.o
[ 34%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/SplashBackgroundRenderer.cc.o
[ 37%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/BackgroundRenderer/CairoBackgroundRenderer.cc.o
[ 40%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/const.cc.o
[ 42%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/encoding.cc.o
[ 45%] Building C object CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o
[ 48%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/math.cc.o
[ 51%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/misc.cc.o
[ 54%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/path.cc.o
[ 57%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/unicode.cc.o
[ 60%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/mingw.cc.o
[ 62%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/util/SignalHandler.cc.o
[ 65%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/ArgParser.cc.o
[ 68%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/Base64Stream.cc.o
[ 71%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/Color.cc.o
[ 74%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/CoveredTextDetector.cc.o
[ 77%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/DrawingTracer.cc.o
[ 80%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLTextLine.cc.o
[ 82%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/HTMLTextPage.cc.o
[ 85%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/Preprocessor.cc.o
[ 88%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/StringFormatter.cc.o
[ 91%] Building CXX object CMakeFiles/pdf2htmlEX.dir/src/TmpFiles.cc.o
[ 94%] Linking CXX executable pdf2htmlEX
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `shutdownNss()':
SignatureHandler.cc:(.text+0x5): undefined reference to `NSS_Shutdown'
SignatureHandler.cc:(.text+0x19): undefined reference to `PORT_GetError'
SignatureHandler.cc:(.text+0x22): undefined reference to `PR_ErrorToString'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSignerName()':
SignatureHandler.cc:(.text+0x18c): undefined reference to `NSS_IsInitialized'
SignatureHandler.cc:(.text+0x195): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x1a1): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSignerSubjectDN()':
SignatureHandler.cc:(.text+0x1dc): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x1e8): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSigningTime()':
SignatureHandler.cc:(.text+0x24c): undefined reference to `NSS_CMSSignerInfo_GetSigningTime'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getEntityInfo(CERTNameStr*) const':
SignatureHandler.cc:(.text+0x2bc): undefined reference to `CERT_NameToAscii'
SignatureHandler.cc:(.text+0x2e9): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x2f1): undefined reference to `CERT_GetCommonName'
SignatureHandler.cc:(.text+0x31d): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x325): undefined reference to `CERT_GetCertEmailAddress'
SignatureHandler.cc:(.text+0x352): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x35a): undefined reference to `CERT_GetOrgName'
SignatureHandler.cc:(.text+0x387): undefined reference to `PORT_Free'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getCertificateInfo() const':
SignatureHandler.cc:(.text+0x3d6): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x3e2): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
SignatureHandler.cc:(.text+0x40f): undefined reference to `DER_GetInteger'
SignatureHandler.cc:(.text+0x4a3): undefined reference to `CERT_GetCertTimes'
SignatureHandler.cc:(.text+0x521): undefined reference to `CERT_ExtractPublicKey'
SignatureHandler.cc:(.text+0x868): undefined reference to `SECKEY_PublicKeyStrengthInBits'
SignatureHandler.cc:(.text+0x8d9): undefined reference to `CERT_CompareName'
SignatureHandler.cc:(.text+0x8f5): undefined reference to `SECKEY_DestroyPublicKey'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::setNSSDir(GooString const&)':
SignatureHandler.cc:(.text+0xb50): undefined reference to `NSS_IsInitialized'
SignatureHandler.cc:(.text+0xbae): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xbce): undefined reference to `SECMOD_AddNewModule'
SignatureHandler.cc:(.text+0xcf4): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xd4b): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xdcb): undefined reference to `NSS_Init'
SignatureHandler.cc:(.text+0xe03): undefined reference to `NSS_NoDB_Init'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::initHashContext()':
SignatureHandler.cc:(.text+0xe71): undefined reference to `NSS_CMSSignedData_GetDigestAlgs'
SignatureHandler.cc:(.text+0xe8d): undefined reference to `SECOID_FindOIDTag'
SignatureHandler.cc:(.text+0xea1): undefined reference to `SECOID_FindOIDTag'
SignatureHandler.cc:(.text+0xea8): undefined reference to `HASH_GetHashTypeByOidTag'
SignatureHandler.cc:(.text+0xeaf): undefined reference to `HASH_Create'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::~SignatureHandler()':
SignatureHandler.cc:(.text+0xefb): undefined reference to `SECITEM_FreeItem'
SignatureHandler.cc:(.text+0xf09): undefined reference to `NSS_CMSMessage_Destroy'
SignatureHandler.cc:(.text+0xf17): undefined reference to `HASH_Destroy'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::CMS_MessageCreate(SECItemStr*)':
SignatureHandler.cc:(.text+0xf4d): undefined reference to `NSS_CMSMessage_CreateFromDER'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::CMS_SignedDataCreate(NSSCMSMessageStr*)':
SignatureHandler.cc:(.text+0xf82): undefined reference to `NSS_CMSMessage_IsSigned'
SignatureHandler.cc:(.text+0xf94): undefined reference to `NSS_CMSMessage_ContentLevel'
SignatureHandler.cc:(.text+0xfa5): undefined reference to `NSS_CMSContentInfo_GetContent'
SignatureHandler.cc:(.text+0x1051): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x106a): undefined reference to `CERT_NewTempCertificate'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::SignatureHandler(unsigned char*, int)':
SignatureHandler.cc:(.text+0x1209): undefined reference to `NSS_CMSSignedData_GetSignerInfo'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::CMS_SignerInfoCreate(NSSCMSSignedDataStr*)':
SignatureHandler.cc:(.text+0x1267): undefined reference to `NSS_CMSSignedData_GetSignerInfo'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::validateSignature()':
SignatureHandler.cc:(.text+0x12c7): undefined reference to `NSS_IsInitialized'
SignatureHandler.cc:(.text+0x12e1): undefined reference to `PORT_Alloc'
SignatureHandler.cc:(.text+0x12ff): undefined reference to `HASH_End'
SignatureHandler.cc:(.text+0x130f): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x131b): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
SignatureHandler.cc:(.text+0x135e): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x139c): undefined reference to `NSS_CMSSignerInfo_Verify'
SignatureHandler.cc:(.text+0x13a8): undefined reference to `PORT_Free'
SignatureHandler.cc:(.text+0x13d1): undefined reference to `PORT_Free'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::validateCertificate(long)':
SignatureHandler.cc:(.text+0x1434): undefined reference to `CERT_GetDefaultCertDB'
SignatureHandler.cc:(.text+0x1440): undefined reference to `NSS_CMSSignerInfo_GetSigningCertificate'
SignatureHandler.cc:(.text+0x1467): undefined reference to `CERT_GetClassicOCSPEnabledSoftFailurePolicy'
SignatureHandler.cc:(.text+0x14a5): undefined reference to `CERT_PKIXVerifyCert'
SignatureHandler.cc:(.text+0x14aa): undefined reference to `PORT_GetError'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::getSignerName()':
SignatureHandler.cc:(.text+0x1b3): undefined reference to `CERT_GetCommonName'
../../poppler/build/libpoppler.a(SignatureHandler.cc.o): In function `SignatureHandler::updateHash(unsigned char*, int)':
SignatureHandler.cc:(.text+0xeda): undefined reference to `HASH_Update'
collect2: error: ld returned 1 exit status
CMakeFiles/pdf2htmlEX.dir/build.make:906: recipe for target 'pdf2htmlEX' failed
make[2]: *** [pdf2htmlEX] Error 1
CMakeFiles/Makefile2:355: recipe for target 'CMakeFiles/pdf2htmlEX.dir/all' failed
make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

**I understand that it is some problems with my server.
But I'm not skilled admin and I asking for some help.

Btw, previous version, compiled manually works fine on this server (with poppler 0.81)**

Text is all white or transparent

Hi

We're using the poppler-0.81.0 version, and sometimes it converts the HTML a bit weird. I unfortunately can't share the documents it happens with, as it's classified.

Simply put, the text is still there and you can select it, but the text colour is missing. Sometimes the text is also placed wrong, like when writing the address is correct in PDF, its all the way out in the margin after conversion, both left and right.

Has anyone tried this and found a solution? Previously, version 0.14.6 was used, but now after a server migration, that version isn't available on debian 10.

.exe for windows

Hi,
Can this project be compiled to get a .exe version that will run in windows?

We have a windows running version, but have stumbled into issueas and are looking for the latest version of this tool, that might have fixes for what we have.
Issues we are getting are:

  • no glyph for the key character to derive standard width and height
    for the latin script, this key character is 'o'

  • To Unicode cmap is not valid and got dropped for font

  • encoding confliction detected in font

buildInstallLocallyApt could not determine release

Hello!)

Made a test of buildInstallLocallyApt on Debian 10:

# git clone https://github.com/pdf2htmlEX/pdf2htmlEX.git
Cloning into 'pdf2htmlEX'...
remote: Enumerating objects: 73, done.
remote: Counting objects: 100% (73/73), done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 12850 (delta 29), reused 34 (delta 15), pack-reused 12777
Receiving objects: 100% (12850/12850), 135.88 MiB | 8.93 MiB/s, done.
Resolving deltas: 100% (8955/8955), done.
# cd pdf2htmlEX/
# ./buildScripts/buildInstallLocallyApt

################
# do the build

./buildScripts/versionEnvs
FAILURE: could not determine release
./buildScripts/versionEnvs: 57: exit: Illegal number: -1
# 

Looking for any help.

Unable to compile pdf2htmlEX (poppler-0.81.0)

Hi,

I am unable to compile pdf2htmlEX

Here are errors that I got

[ 10%] Building CXX object CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:144:8: error: ‘void CairoOutputDev::setDefaultCTM(const double*)’ marked ‘override’, but does not override
   void setDefaultCTM(const double *ctm) override;
        ^~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:168:8: error: ‘bool CairoOutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, const double*, int, int, Dict*, const double*, const double*, int, int, int, int, double, double)’ marked ‘override’, but does not override
   bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, Object *str,
        ^~~~~~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:190:8: error: ‘void CairoOutputDev::beginString(GfxState*, const GooString*)’ marked ‘override’, but does not override
   void beginString(GfxState *state, const GooString *s) override;
        ^~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:196:8: error: ‘void CairoOutputDev::beginActualText(GfxState*, const GooString*)’ marked ‘override’, but does not override
   void beginActualText(GfxState *state, const GooString *text) override;
        ^~~~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:243:8: error: ‘void CairoOutputDev::beginTransparencyGroup(GfxState*, const double*, GfxColorSpace*, bool, bool, bool)’ marked ‘override’, but does not override
   void beginTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/,
        ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:249:8: error: ‘void CairoOutputDev::paintTransparencyGroup(GfxState*, const double*)’ marked ‘override’, but does not override
   void paintTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/) override;
        ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:250:8: error: ‘void CairoOutputDev::setSoftMask(GfxState*, const double*, bool, Function*, GfxColor*)’ marked ‘override’, but does not override
   void setSoftMask(GfxState * /*state*/, const double * /*bbox*/, bool /*alpha*/,
        ^~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:131:16: warning: ‘virtual void OutputDev::setDefaultCTM(double*)’ was hidden [-Woverloaded-virtual]
   virtual void setDefaultCTM(double *ctm);
                ^~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:144:8: warning:   by ‘void CairoOutputDev::setDefaultCTM(const double*)’ [-Woverloaded-virtual]
   void setDefaultCTM(const double *ctm) override;
        ^~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:220:17: warning: ‘virtual GBool OutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, double*, int, int, Dict*, double*, double*, int, int, int, int, double, double)’ was hidden [-Woverloaded-virtual]
   virtual GBool tilingPatternFill(GfxState * /*state*/, Gfx * /*gfx*/, Catalog * /*cat*/, Object * /*str*/,
                 ^~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:168:8: warning:   by ‘bool CairoOutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, const double*, int, int, Dict*, const double*, const double*, int, int, int, int, double, double)’ [-Woverloaded-virtual]
   bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, Object *str,
        ^~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:250:16: warning: ‘virtual void OutputDev::beginString(GfxState*, GooString*)’ was hidden [-Woverloaded-virtual]
   virtual void beginString(GfxState * /*state*/, GooString * /*s*/) {}
                ^~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:190:8: warning:   by ‘void CairoOutputDev::beginString(GfxState*, const GooString*)’ [-Woverloaded-virtual]
   void beginString(GfxState *state, const GooString *s) override;
        ^~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:274:16: warning: ‘virtual void OutputDev::beginActualText(GfxState*, GooString*)’ was hidden [-Woverloaded-virtual]
   virtual void beginActualText(GfxState * /*state*/, GooString * /*text*/ ) {}
                ^~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:196:8: warning:   by ‘void CairoOutputDev::beginActualText(GfxState*, const GooString*)’ [-Woverloaded-virtual]
   void beginActualText(GfxState *state, const GooString *text) override;
        ^~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:336:16: warning: ‘virtual void OutputDev::beginTransparencyGroup(GfxState*, double*, GfxColorSpace*, GBool, GBool, GBool)’ was hidden [-Woverloaded-virtual]
   virtual void beginTransparencyGroup(GfxState * /*state*/, double * /*bbox*/,
                ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:243:8: warning:   by ‘void CairoOutputDev::beginTransparencyGroup(GfxState*, const double*, GfxColorSpace*, bool, bool, bool)’ [-Woverloaded-virtual]
   void beginTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/,
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:341:16: warning: ‘virtual void OutputDev::paintTransparencyGroup(GfxState*, double*)’ was hidden [-Woverloaded-virtual]
   virtual void paintTransparencyGroup(GfxState * /*state*/, double * /*bbox*/) {}
                ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:249:8: warning:   by ‘void CairoOutputDev::paintTransparencyGroup(GfxState*, const double*)’ [-Woverloaded-virtual]
   void paintTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/) override;
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:342:16: warning: ‘virtual void OutputDev::setSoftMask(GfxState*, double*, GBool, Function*, GfxColor*)’ was hidden [-Woverloaded-virtual]
   virtual void setSoftMask(GfxState * /*state*/, double * /*bbox*/, GBool /*alpha*/,
                ^~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:250:8: warning:   by ‘void CairoOutputDev::setSoftMask(GfxState*, const double*, bool, Function*, GfxColor*)’ [-Woverloaded-virtual]
   void setSoftMask(GfxState * /*state*/, const double * /*bbox*/, bool /*alpha*/,
        ^~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:427:8: error: ‘void CairoImageOutputDev::setDefaultCTM(const double*)’ marked ‘override’, but does not override
   void setDefaultCTM(const double *ctm) override { }
        ^~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:450:8: error: ‘bool CairoImageOutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, const double*, int, int, Dict*, const double*, const double*, int, int, int, int, double, double)’ marked ‘override’, but does not override
   bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, Object *str,
        ^~~~~~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:495:8: error: ‘void CairoImageOutputDev::beginTransparencyGroup(GfxState*, const double*, GfxColorSpace*, bool, bool, bool)’ marked ‘override’, but does not override
   void beginTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/,
        ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:500:8: error: ‘void CairoImageOutputDev::paintTransparencyGroup(GfxState*, const double*)’ marked ‘override’, but does not override
   void paintTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/) override {}
        ^~~~~~~~~~~~~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:501:8: error: ‘void CairoImageOutputDev::setSoftMask(GfxState*, const double*, bool, Function*, GfxColor*)’ marked ‘override’, but does not override
   void setSoftMask(GfxState * /*state*/, const double * /*bbox*/, bool /*alpha*/,
        ^~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:131:16: warning: ‘virtual void OutputDev::setDefaultCTM(double*)’ was hidden [-Woverloaded-virtual]
   virtual void setDefaultCTM(double *ctm);
                ^~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:427:8: warning:   by ‘void CairoImageOutputDev::setDefaultCTM(const double*)’ [-Woverloaded-virtual]
   void setDefaultCTM(const double *ctm) override { }
        ^~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:220:17: warning: ‘virtual GBool OutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, double*, int, int, Dict*, double*, double*, int, int, int, int, double, double)’ was hidden [-Woverloaded-virtual]
   virtual GBool tilingPatternFill(GfxState * /*state*/, Gfx * /*gfx*/, Catalog * /*cat*/, Object * /*str*/,
                 ^~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:450:8: warning:   by ‘bool CairoImageOutputDev::tilingPatternFill(GfxState*, Gfx*, Catalog*, Object*, const double*, int, int, Dict*, const double*, const double*, int, int, int, int, double, double)’ [-Woverloaded-virtual]
   bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, Object *str,
        ^~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:336:16: warning: ‘virtual void OutputDev::beginTransparencyGroup(GfxState*, double*, GfxColorSpace*, GBool, GBool, GBool)’ was hidden [-Woverloaded-virtual]
   virtual void beginTransparencyGroup(GfxState * /*state*/, double * /*bbox*/,
                ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:495:8: warning:   by ‘void CairoImageOutputDev::beginTransparencyGroup(GfxState*, const double*, GfxColorSpace*, bool, bool, bool)’ [-Woverloaded-virtual]
   void beginTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/,
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:341:16: warning: ‘virtual void OutputDev::paintTransparencyGroup(GfxState*, double*)’ was hidden [-Woverloaded-virtual]
   virtual void paintTransparencyGroup(GfxState * /*state*/, double * /*bbox*/) {}
                ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:500:8: warning:   by ‘void CairoImageOutputDev::paintTransparencyGroup(GfxState*, const double*)’ [-Woverloaded-virtual]
   void paintTransparencyGroup(GfxState * /*state*/, const double * /*bbox*/) override {}
        ^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:38:0,
                 from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:
/usr/local/include/poppler/OutputDev.h:342:16: warning: ‘virtual void OutputDev::setSoftMask(GfxState*, double*, GBool, Function*, GfxColor*)’ was hidden [-Woverloaded-virtual]
   virtual void setSoftMask(GfxState * /*state*/, double * /*bbox*/, GBool /*alpha*/,
                ^~~~~~~~~~~
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:43:0:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoOutputDev.h:501:8: warning:   by ‘void CairoImageOutputDev::setSoftMask(GfxState*, const double*, bool, Function*, GfxColor*)’ [-Woverloaded-virtual]
   void setSoftMask(GfxState * /*state*/, const double * /*bbox*/, bool /*alpha*/,
        ^~~~~~~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc: In member function ‘virtual bool CairoFont::matches(Ref&, bool)’:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:83:17: error: no match for ‘operator==’ (operand types are ‘Ref’ and ‘Ref’)
   return (other == ref);
           ~~~~~~^~~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc: In static member function ‘static CairoFreeTypeFont* CairoFreeTypeFont::create(GfxFont*, XRef*, FT_Library, bool)’:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:420:47: error: ‘class GooString’ has no member named ‘c_str’
      gfxFont->getName() ? gfxFont->getName()->c_str()
                                               ^~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:439:27: error: ‘class GooString’ has no member named ‘c_str’
     fileNameC = fileName->c_str();
                           ^~~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:488:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         ff = FoFiTrueType::load(fileNameC);
                                          ^
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:45:0:
/usr/local/include/poppler/fofi/FoFiTrueType.h:54:24: note:   initializing argument 1 of ‘static FoFiTrueType* FoFiTrueType::load(char*, int)’
   static FoFiTrueType *load(char *fileName, int faceIndexA=0);
                        ^~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:502:40: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
       ff = FoFiTrueType::load(fileNameC);
                                        ^
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:45:0:
/usr/local/include/poppler/fofi/FoFiTrueType.h:54:24: note:   initializing argument 1 of ‘static FoFiTrueType* FoFiTrueType::load(char*, int)’
   static FoFiTrueType *load(char *fileName, int faceIndexA=0);
                        ^~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:531:42: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
         ff1c = FoFiType1C::load(fileNameC);
                                          ^
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:46:0:
/usr/local/include/poppler/fofi/FoFiType1C.h:154:22: note:   initializing argument 1 of ‘static FoFiType1C* FoFiType1C::load(char*)’
   static FoFiType1C *load(char *fileName);
                      ^~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:563:37: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
    ff = FoFiTrueType::load(fileNameC);
                                     ^
In file included from /tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:45:0:
/usr/local/include/poppler/fofi/FoFiTrueType.h:54:24: note:   initializing argument 1 of ‘static FoFiTrueType* FoFiTrueType::load(char*, int)’
   static FoFiTrueType *load(char *fileName, int faceIndexA=0);
                        ^~~~
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc: In member function ‘virtual bool CairoType3Font::matches(Ref&, bool)’:
/tmp/pdf2htmlEX/3rdparty/poppler/git/CairoFontEngine.cc:786:17: error: no match for ‘operator==’ (operand types are ‘Ref’ and ‘Ref’)
   return (other == ref && printing == printingA);
           ~~~~~~^~~~~~
CMakeFiles/pdf2htmlEX.dir/build.make:62: recipe for target 'CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o' failed
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/3rdparty/poppler/git/CairoFontEngine.cc.o] Error 1
CMakeFiles/Makefile2:355: recipe for target 'CMakeFiles/pdf2htmlEX.dir/all' failed
make[1]: *** [CMakeFiles/pdf2htmlEX.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2


Here is how I installed dependant libraries:

sudo apt-get install -y libpng16-16 libpng-dev libjpeg8 libjpeg8-dev libopenjp2-7-dev

sudo apt-get install -y build-essential checkinstall git cmake m4 pkg-config libopenjp2-7-dev libopenjp2-7 \
libgdk-pixbuf2.0-dev fontconfig libpoppler-dev libpoppler-private-dev \
libfontconfig1-dev libfontforge-dev poppler-data poppler-utils libcairo2-dev libfontforge-dev libpango1.0-dev



cd /tmp
wget https://poppler.freedesktop.org/poppler-0.81.0.tar.xz && tar -xvf poppler-0.81.0.tar.xz
cd poppler-0.81.0
sudo cmake -DENABLE_XPDF_HEADERS=ON .
sudo make -j 4 && sudo make install

sudo pkg-config --libs poppler

cd /tmp
git clone https://github.com/pdf2htmlEX/pdf2htmlEX.git
export INCLUDE_PATH=$INCLUDE_PATH:/usr/local/include/poppler/
cd pdf2htmlEX
cmake .
make -j4
sudo make install

Any idea on how to solve the issue?

Thanks

Compiling issue withHTMLRenderer font.cc

I get this error when compiling on Fedora

src/HTMLRenderer/font.cc:69:27: error: use of deleted function ‘Object::Object(T) [with T = Ref]’
   69 |         Object ref_obj(*id);
      |                           ^
In file included from /usr/include/poppler/OutputDev.h:40,
                 from /home/ilippert/Techy/pdf2htmlEX/src/HTMLRenderer/HTMLRenderer.h:15,
                 from /home/ilippert/Techy/pdf2htmlEX/src/HTMLRenderer/font.cc:21:
/usr/include/poppler/Object.h:178:24: note: declared here
  178 |   template<typename T> Object(T) = delete;
      |                        ^~~~~~
make[2]: *** [CMakeFiles/pdf2htmlEX.dir/build.make:174: CMakeFiles/pdf2htmlEX.dir/src/HTMLRenderer/font.cc.o] Error 1

which fontforge version was required for pdf2htmlEX-0.18.7-poppler-0.81.0

I try to compile pdf2htmlEX-0.18.7-poppler-0.81.0
but I'm not sure the require of fontforge version
I used fontforge (with header files) clone from master https://github.com/coolwanglu/fontforge/tree/pdf2htmlEX
poppler-0.81.0 installed OK
fontforge-pdf2htmlEX installed OK
When I do 'cmake . && make && sudo make install'
got error as follow

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2019.10.21 22:04:00 =~=~=~=~=~=~=~=~=~=~=~= cmake . && make && sudo make install Trying to locate cairo-svg... -- Configuring done -- Generating done -- Build files have been written to: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0 [ 5%] Built target pdf2htmlEX_resources [ 8%] Building C object CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:21:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/bitmapchar.h:10:20: error: conflicting types for BdfPropHasString extern const char *BdfPropHasString(BDFFont *font, const char *key, const char *def); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2428:14: note: previous declaration of BdfPropHasString was here extern char *BdfPropHasString(BDFFont *font,const char *key, char *def ); ^~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:21:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/bitmapchar.h:12:12: error: conflicting types for IsUnsignedBDFKey extern int IsUnsignedBDFKey(const char *key); ^~~~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2426:13: note: previous declaration of IsUnsignedBDFKey was here extern int IsUnsignedBDFKey(char *key); ^~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:21:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/bitmapchar.h:22:13: error: conflicting types for XLFD_GetComponents extern void XLFD_GetComponents(const char *xlfd, struct xlfd_components *components); ^~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2458:13: note: previous declaration of XLFD_GetComponents was here extern void XLFD_GetComponents(char *xlfd,struct xlfd_components *comp); ^~~~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:22:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/cvimages.h:17:13: error: conflicting types for SCImportPlateFile extern void SCImportPlateFile(SplineChar *sc, int layer, FILE *plate, int doclear); ^~~~~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:3233:13: note: previous declaration of SCImportPlateFile was here extern void SCImportPlateFile(SplineChar *sc,int layer,FILE *plate,int doclear,int flags); ^~~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:23:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/encoding.h:83:13: error: conflicting types for SFRemoveGlyph extern void SFRemoveGlyph(SplineFont *sf, SplineChar *sc); ^~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:3255:13: note: previous declaration of SFRemoveGlyph was here extern void SFRemoveGlyph(SplineFont *sf,SplineChar *sc, int *flags); ^~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:25:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/namelist.h:14:18: error: conflicting types for NameListByName extern NameList *NameListByName(const char *name); ^~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:3008:18: note: previous declaration of NameListByName was here extern NameList *NameListByName(char *name); ^~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:26:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/savefont.h:44:12: error: conflicting types for GenerateScript extern int GenerateScript(SplineFont *sf, char *filename, const char *bitmaptype, int fmflags, int res, char *subfontdirectory, struct sflist *sfs, EncMap *map, NameList *rename_to, int layer); ^~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2494:12: note: previous declaration of GenerateScript was here extern int GenerateScript(SplineFont *sf,char *filename,char *bitmaptype, ^~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:28:6: error: nested redefinition of enum ttf_instructions enum ttf_instructions { ^~~~~~~~~~~~~~~~ /usr/local/include/fontforge/ttfinstrs.h:28:6: error: redeclaration of enum ttf_instructions In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:28:6: note: originally defined here enum ttf_instructions { ^~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:2: error: redeclaration of enumerator ttf_npushb ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:2: note: previous definition of ttf_npushb was here ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:19: error: redeclaration of enumerator ttf_npushw ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:19: note: previous definition of ttf_npushw was here ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:36: error: redeclaration of enumerator ttf_pushb ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:36: note: previous definition of ttf_pushb was here ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:52: error: redeclaration of enumerator ttf_pushw ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:29:52: note: previous definition of ttf_pushw was here ttf_npushb=0x40, ttf_npushw=0x41, ttf_pushb=0xb0, ttf_pushw=0xb8, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:2: error: redeclaration of enumerator ttf_aa ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:2: note: previous definition of ttf_aa was here ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:15: error: redeclaration of enumerator ttf_abs ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:15: note: previous definition of ttf_abs was here ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:29: error: redeclaration of enumerator ttf_add ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:29: note: previous definition of ttf_add was here ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:43: error: redeclaration of enumerator ttf_alignpts ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:43: note: previous definition of ttf_alignpts was here ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:62: error: redeclaration of enumerator ttf_alignrp ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:30:62: note: previous definition of ttf_alignrp was here ttf_aa=0x7f, ttf_abs=0x64, ttf_add=0x60, ttf_alignpts=0x27, ttf_alignrp=0x3c, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:2: error: redeclaration of enumerator ttf_and ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:2: note: previous definition of ttf_and was here ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:16: error: redeclaration of enumerator ttf_call ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:16: note: previous definition of ttf_call was here ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:31: error: redeclaration of enumerator ttf_ceiling ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:31: note: previous definition of ttf_ceiling was here ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:49: error: redeclaration of enumerator ttf_cindex ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:49: note: previous definition of ttf_cindex was here ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:66: error: redeclaration of enumerator ttf_clear ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:31:66: note: previous definition of ttf_clear was here ttf_and=0x5a, ttf_call=0x2b, ttf_ceiling=0x67, ttf_cindex=0x25, ttf_clear=0x22, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:2: error: redeclaration of enumerator ttf_debug ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:2: note: previous definition of ttf_debug was here ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:18: error: redeclaration of enumerator ttf_deltac1 ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:18: note: previous definition of ttf_deltac1 was here ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:36: error: redeclaration of enumerator ttf_deltac2 ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:36: note: previous definition of ttf_deltac2 was here ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:54: error: redeclaration of enumerator ttf_deltac3 ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:32:54: note: previous definition of ttf_deltac3 was here ttf_debug=0x4f, ttf_deltac1=0x73, ttf_deltac2=0x74, ttf_deltac3=0x75, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:2: error: redeclaration of enumerator ttf_deltap1 ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:2: note: previous definition of ttf_deltap1 was here ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:20: error: redeclaration of enumerator ttf_deltap2 ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:20: note: previous definition of ttf_deltap2 was here ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:38: error: redeclaration of enumerator ttf_deltap3 ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:38: note: previous definition of ttf_deltap3 was here ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:56: error: redeclaration of enumerator ttf_depth ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:33:56: note: previous definition of ttf_depth was here ttf_deltap1=0x5d, ttf_deltap2=0x71, ttf_deltap3=0x72, ttf_depth=0x24, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:2: error: redeclaration of enumerator ttf_div ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:2: note: previous definition of ttf_div was here ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:16: error: redeclaration of enumerator ttf_dup ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:16: note: previous definition of ttf_dup was here ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:30: error: redeclaration of enumerator ttf_eif ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:30: note: previous definition of ttf_eif was here ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:44: error: redeclaration of enumerator ttf_else ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:44: note: previous definition of ttf_else was here ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:59: error: redeclaration of enumerator ttf_endf ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:34:59: note: previous definition of ttf_endf was here ttf_div=0x62, ttf_dup=0x20, ttf_eif=0x59, ttf_else=0x1b, ttf_endf=0x2d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:2: error: redeclaration of enumerator ttf_eq ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:2: note: previous definition of ttf_eq was here ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:15: error: redeclaration of enumerator ttf_even ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:15: note: previous definition of ttf_even was here ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:30: error: redeclaration of enumerator ttf_fdef ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:30: note: previous definition of ttf_fdef was here ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:45: error: redeclaration of enumerator ttf_flipoff ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:45: note: previous definition of ttf_flipoff was here ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:63: error: redeclaration of enumerator ttf_flipon ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:35:63: note: previous definition of ttf_flipon was here ttf_eq=0x54, ttf_even=0x57, ttf_fdef=0x2c, ttf_flipoff=0x4e, ttf_flipon=0x4d, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:2: error: redeclaration of enumerator ttf_flippt ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:2: note: previous definition of ttf_flippt was here ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:19: error: redeclaration of enumerator ttf_fliprgoff ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:19: note: previous definition of ttf_fliprgoff was here ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:39: error: redeclaration of enumerator ttf_fliprgon ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:39: note: previous definition of ttf_fliprgon was here ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:58: error: redeclaration of enumerator ttf_floor ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:36:58: note: previous definition of ttf_floor was here ttf_flippt=0x80, ttf_fliprgoff=0x82, ttf_fliprgon=0x81, ttf_floor=0x66, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:2: error: redeclaration of enumerator ttf_gc ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:2: note: previous definition of ttf_gc was here ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:15: error: redeclaration of enumerator ttf_getinfo ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:15: note: previous definition of ttf_getinfo was here ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:33: error: redeclaration of enumerator ttf_gfv ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:33: note: previous definition of ttf_gfv was here ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:47: error: redeclaration of enumerator ttf_gpv ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:47: note: previous definition of ttf_gpv was here ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:61: error: redeclaration of enumerator ttf_gt ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:37:61: note: previous definition of ttf_gt was here ttf_gc=0x46, ttf_getinfo=0x88, ttf_gfv=0x0d, ttf_gpv=0x0c, ttf_gt=0x52, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:2: error: redeclaration of enumerator ttf_gteq ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:2: note: previous definition of ttf_gteq was here ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:17: error: redeclaration of enumerator ttf_idef ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:17: note: previous definition of ttf_idef was here ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:32: error: redeclaration of enumerator ttf_if ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:32: note: previous definition of ttf_if was here ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:45: error: redeclaration of enumerator ttf_instctrl ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:45: note: previous definition of ttf_instctrl was here ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:64: error: redeclaration of enumerator ttf_ip ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:38:64: note: previous definition of ttf_ip was here ttf_gteq=0x53, ttf_idef=0x89, ttf_if=0x58, ttf_instctrl=0x8e, ttf_ip=0x39, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:2: error: redeclaration of enumerator ttf_isect ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:2: note: previous definition of ttf_isect was here ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:18: error: redeclaration of enumerator ttf_iup ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:18: note: previous definition of ttf_iup was here ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:32: error: redeclaration of enumerator ttf_jmpr ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:32: note: previous definition of ttf_jmpr was here ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:47: error: redeclaration of enumerator ttf_jrof ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:47: note: previous definition of ttf_jrof was here ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:62: error: redeclaration of enumerator ttf_jrot ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:39:62: note: previous definition of ttf_jrot was here ttf_isect=0x0f, ttf_iup=0x30, ttf_jmpr=0x1c, ttf_jrof=0x79, ttf_jrot=0x78, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:2: error: redeclaration of enumerator ttf_loopcall ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:2: note: previous definition of ttf_loopcall was here ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:21: error: redeclaration of enumerator ttf_lt ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:21: note: previous definition of ttf_lt was here ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:34: error: redeclaration of enumerator ttf_lteq ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:34: note: previous definition of ttf_lteq was here ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:49: error: redeclaration of enumerator ttf_max ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:49: note: previous definition of ttf_max was here ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:63: error: redeclaration of enumerator ttf_md ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:40:63: note: previous definition of ttf_md was here ttf_loopcall=0x2a, ttf_lt=0x50, ttf_lteq=0x51, ttf_max=0x8b, ttf_md=0x49, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:2: error: redeclaration of enumerator ttf_mdap ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:2: note: previous definition of ttf_mdap was here ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:17: error: redeclaration of enumerator ttf_mdrp ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:17: note: previous definition of ttf_mdrp was here ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:32: error: redeclaration of enumerator ttf_miap ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:32: note: previous definition of ttf_miap was here ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:47: error: redeclaration of enumerator ttf_min ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:47: note: previous definition of ttf_min was here ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:61: error: redeclaration of enumerator ttf_mindex ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:41:61: note: previous definition of ttf_mindex was here ttf_mdap=0x2e, ttf_mdrp=0xc0, ttf_miap=0x3e, ttf_min=0x8c, ttf_mindex=0x26, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:2: error: redeclaration of enumerator ttf_mirp ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:2: note: previous definition of ttf_mirp was here ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:17: error: redeclaration of enumerator ttf_mppem ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:17: note: previous definition of ttf_mppem was here ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:33: error: redeclaration of enumerator ttf_mps ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:33: note: previous definition of ttf_mps was here ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:47: error: redeclaration of enumerator ttf_msirp ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:47: note: previous definition of ttf_msirp was here ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:63: error: redeclaration of enumerator ttf_mul ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:42:63: note: previous definition of ttf_mul was here ttf_mirp=0xe0, ttf_mppem=0x4b, ttf_mps=0x4c, ttf_msirp=0x3a, ttf_mul=0x63, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:2: error: redeclaration of enumerator ttf_neg ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:2: note: previous definition of ttf_neg was here ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:16: error: redeclaration of enumerator ttf_neq ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:16: note: previous definition of ttf_neq was here ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:30: error: redeclaration of enumerator ttf_not ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:30: note: previous definition of ttf_not was here ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:44: error: redeclaration of enumerator ttf_nround ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:44: note: previous definition of ttf_nround was here ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:61: error: redeclaration of enumerator ttf_odd ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:43:61: note: previous definition of ttf_odd was here ttf_neg=0x65, ttf_neq=0x55, ttf_not=0x5c, ttf_nround=0x6c, ttf_odd=0x56, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:2: error: redeclaration of enumerator ttf_or ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:2: note: previous definition of ttf_or was here ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:15: error: redeclaration of enumerator ttf_pop ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:15: note: previous definition of ttf_pop was here ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:29: error: redeclaration of enumerator ttf_rcvt ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:29: note: previous definition of ttf_rcvt was here ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:44: error: redeclaration of enumerator ttf_rdtg ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:44: note: previous definition of ttf_rdtg was here ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:59: error: redeclaration of enumerator ttf_roff ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:44:59: note: previous definition of ttf_roff was here ttf_or=0x5b, ttf_pop=0x21, ttf_rcvt=0x45, ttf_rdtg=0x7d, ttf_roff=0x7a, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:2: error: redeclaration of enumerator ttf_roll ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:2: note: previous definition of ttf_roll was here ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:17: error: redeclaration of enumerator ttf_round ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:17: note: previous definition of ttf_round was here ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:33: error: redeclaration of enumerator ttf_rs ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:33: note: previous definition of ttf_rs was here ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:46: error: redeclaration of enumerator ttf_rtdg ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:46: note: previous definition of ttf_rtdg was here ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:61: error: redeclaration of enumerator ttf_rtg ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:45:61: note: previous definition of ttf_rtg was here ttf_roll=0x8a, ttf_round=0x68, ttf_rs=0x43, ttf_rtdg=0x3d, ttf_rtg=0x18, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:2: error: redeclaration of enumerator ttf_rthg ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:2: note: previous definition of ttf_rthg was here ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:17: error: redeclaration of enumerator ttf_rutg ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:17: note: previous definition of ttf_rutg was here ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:32: error: redeclaration of enumerator ttf_s45round ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:32: note: previous definition of ttf_s45round was here ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:51: error: redeclaration of enumerator ttf_sangw ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:46:51: note: previous definition of ttf_sangw was here ttf_rthg=0x19, ttf_rutg=0x7c, ttf_s45round=0x77, ttf_sangw=0x7e, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:2: error: redeclaration of enumerator ttf_scanctrl ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:2: note: previous definition of ttf_scanctrl was here ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:21: error: redeclaration of enumerator ttf_scantype ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:21: note: previous definition of ttf_scantype was here ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:40: error: redeclaration of enumerator ttf_scfs ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:40: note: previous definition of ttf_scfs was here ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:55: error: redeclaration of enumerator ttf_scvtci ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:47:55: note: previous definition of ttf_scvtci was here ttf_scanctrl=0x85, ttf_scantype=0x8d, ttf_scfs=0x48, ttf_scvtci=0x1d, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:2: error: redeclaration of enumerator ttf_sdb ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:2: note: previous definition of ttf_sdb was here ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:16: error: redeclaration of enumerator ttf_sdpvtl ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:16: note: previous definition of ttf_sdpvtl was here ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:33: error: redeclaration of enumerator ttf_sds ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:33: note: previous definition of ttf_sds was here ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:47: error: redeclaration of enumerator ttf_sfvfs ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:47: note: previous definition of ttf_sfvfs was here ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:63: error: redeclaration of enumerator ttf_sfvtca ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:48:63: note: previous definition of ttf_sfvtca was here ttf_sdb=0x5e, ttf_sdpvtl=0x86, ttf_sds=0x5f, ttf_sfvfs=0x0b, ttf_sfvtca=0x04, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:2: error: redeclaration of enumerator ttf_sfvtl ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:2: note: previous definition of ttf_sfvtl was here ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:18: error: redeclaration of enumerator ttf_sfvtpv ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:18: note: previous definition of ttf_sfvtpv was here ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:35: error: redeclaration of enumerator ttf_shc ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:35: note: previous definition of ttf_shc was here ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:49: error: redeclaration of enumerator ttf_shp ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:49: note: previous definition of ttf_shp was here ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:63: error: redeclaration of enumerator ttf_shpix ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:49:63: note: previous definition of ttf_shpix was here ttf_sfvtl=0x08, ttf_sfvtpv=0x0e, ttf_shc=0x34, ttf_shp=0x32, ttf_shpix=0x38, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:2: error: redeclaration of enumerator ttf_shz ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:2: note: previous definition of ttf_shz was here ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:16: error: redeclaration of enumerator ttf_sloop ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:16: note: previous definition of ttf_sloop was here ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:32: error: redeclaration of enumerator ttf_smd ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:32: note: previous definition of ttf_smd was here ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:46: error: redeclaration of enumerator ttf_spvfs ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:46: note: previous definition of ttf_spvfs was here ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:62: error: redeclaration of enumerator ttf_spvtca ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:50:62: note: previous definition of ttf_spvtca was here ttf_shz=0x36, ttf_sloop=0x17, ttf_smd=0x1a, ttf_spvfs=0x0a, ttf_spvtca=0x02, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:2: error: redeclaration of enumerator ttf_spvtl ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:2: note: previous definition of ttf_spvtl was here ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:18: error: redeclaration of enumerator ttf_sround ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:18: note: previous definition of ttf_sround was here ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:35: error: redeclaration of enumerator ttf_srp0 ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:35: note: previous definition of ttf_srp0 was here ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:50: error: redeclaration of enumerator ttf_srp1 ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:50: note: previous definition of ttf_srp1 was here ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:65: error: redeclaration of enumerator ttf_srp2 ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:51:65: note: previous definition of ttf_srp2 was here ttf_spvtl=0x06, ttf_sround=0x76, ttf_srp0=0x10, ttf_srp1=0x11, ttf_srp2=0x12, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:2: error: redeclaration of enumerator ttf_ssw ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:2: note: previous definition of ttf_ssw was here ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:16: error: redeclaration of enumerator ttf_sswci ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:16: note: previous definition of ttf_sswci was here ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:32: error: redeclaration of enumerator ttf_sub ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:32: note: previous definition of ttf_sub was here ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:46: error: redeclaration of enumerator ttf_svtca ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:46: note: previous definition of ttf_svtca was here ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:62: error: redeclaration of enumerator ttf_swap ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:52:62: note: previous definition of ttf_swap was here ttf_ssw=0x1f, ttf_sswci=0x1e, ttf_sub=0x61, ttf_svtca=0x00, ttf_swap=0x23, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:2: error: redeclaration of enumerator ttf_szp0 ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:2: note: previous definition of ttf_szp0 was here ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:17: error: redeclaration of enumerator ttf_szp1 ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:17: note: previous definition of ttf_szp1 was here ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:32: error: redeclaration of enumerator ttf_szp2 ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:32: note: previous definition of ttf_szp2 was here ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:47: error: redeclaration of enumerator ttf_szps ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:47: note: previous definition of ttf_szps was here ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:62: error: redeclaration of enumerator ttf_utp ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:53:62: note: previous definition of ttf_utp was here ttf_szp0=0x13, ttf_szp1=0x14, ttf_szp2=0x15, ttf_szps=0x16, ttf_utp=0x29, ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:54:2: error: redeclaration of enumerator ttf_wcvtf ttf_wcvtf=0x70, ttf_wcvtp=0x44, ttf_ws=0x42 ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:54:2: note: previous definition of ttf_wcvtf was here ttf_wcvtf=0x70, ttf_wcvtp=0x44, ttf_ws=0x42 ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:54:18: error: redeclaration of enumerator ttf_wcvtp ttf_wcvtf=0x70, ttf_wcvtp=0x44, ttf_ws=0x42 ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:54:18: note: previous definition of ttf_wcvtp was here ttf_wcvtf=0x70, ttf_wcvtp=0x44, ttf_ws=0x42 ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:54:34: error: redeclaration of enumerator ttf_ws ttf_wcvtf=0x70, ttf_wcvtp=0x44, ttf_ws=0x42 ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:54:34: note: previous definition of ttf_ws was here ttf_wcvtf=0x70, ttf_wcvtp=0x44, ttf_ws=0x42 ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:59:16: error: redefinition of struct instrbase typedef struct instrbase { ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:59:16: note: originally defined here typedef struct instrbase { ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:65:3: error: conflicting types for InstrBase } InstrBase; ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:65:3: note: previous declaration of InstrBase was here } InstrBase; ^~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/views.h:32:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:7, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:67:14: error: conflicting types for __IVUnParseInstrs extern char *__IVUnParseInstrs(InstrBase *iv); ^~~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:6:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28: /usr/local/include/fontforge/ttfinstrs.h:67:14: note: previous declaration of __IVUnParseInstrs was here extern char *__IVUnParseInstrs(InstrBase *iv); ^~~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:28:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:126:39: warning: struct ff_rawoffsets declared inside parameter list will not be visible outside of this definition or declaration extern void GlyphGroupKernFree(struct ff_rawoffsets* groupkern); ^~~~~~~~~~~~~ /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil.h:127:40: warning: struct ff_rawoffsets declared inside parameter list will not be visible outside of this definition or declaration extern void GlyphGroupKernsFree(struct ff_rawoffsets* root); ^~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:29:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil2.h:6:6: error: nested redefinition of enum ae_type enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~ /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil2.h:6:6: error: redeclaration of enum ae_type In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2548:6: note: originally defined here enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:29:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil2.h:6:16: error: redeclaration of enumerator ae_all enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2548:16: note: previous definition of ae_all was here enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:29:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil2.h:6:24: error: redeclaration of enumerator ae_between_selected enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2548:24: note: previous definition of ae_between_selected was here enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:29:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil2.h:6:45: error: redeclaration of enumerator ae_only_good enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2548:45: note: previous definition of ae_only_good was here enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:29:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil2.h:6:59: error: redeclaration of enumerator ae_only_good_rm_later enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2548:59: note: previous definition of ae_only_good_rm_later was here enum ae_type { ae_all, ae_between_selected, ae_only_good, ae_only_good_rm_later }; ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:29:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/splineutil2.h:17:12: error: conflicting types for SPInterpolate extern int SPInterpolate(const SplinePoint *sp); ^~~~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2538:12: note: previous declaration of SPInterpolate was here extern int SPInterpolate(SplinePoint *sp); ^~~~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:31:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/tottf.h:15:12: error: conflicting types for ttfcopyfile extern int ttfcopyfile(FILE *ttf, FILE *other, int pos, const char *tab_name); ^~~~~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2973:5: note: previous declaration of ttfcopyfile was here int ttfcopyfile(FILE *ttf, FILE *other, int pos, char *table_name); ^~~~~~~~~~~ In file included from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:31:0: /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/fontforge-2.0.20170731/tottf.h:16:12: error: conflicting types for WriteTTC extern int WriteTTC(const char *filename, struct sflist *sfs, enum fontformat format, enum bitmapformat bf, int flags, int layer, enum ttc_flags ttcflags); ^~~~~~~~ In file included from /usr/local/include/fontforge/fontforge.h:36:0, from /home/tmp/pdf2htmlEX-0.18.7-poppler-0.81.0/src/util/ffw.c:16: /usr/local/include/fontforge/splinefont.h:2121:12: note: previous declaration of WriteTTC was here extern int WriteTTC(char *filename,struct sflist *sfs,enum fontformat format, ^~~~~~~~ make[2]: *** [CMakeFiles/pdf2htmlEX.dir/build.make:297: CMakeFiles/pdf2htmlEX.dir/src/util/ffw.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:377: CMakeFiles/pdf2htmlEX.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 [root@localhost pdf2htmlEX-0.18.7-poppler-0.81.0]#

support for epub3 html

Ive converted PDF to html using this library which works perfectly, but the html it converts arent friendly for epub3 formats.
I have used many tools to convert the converted html to epub3 but it doesnt work properly. Any advice or any improvements this library needs ?

the sample PDF i used was "Java 8 in Action: Lambdas, Streams, and functional-style programming.pdf" you can find online

Feature Request: Font name within generated CSS

Hello,

Currently, the generated font name within @font-face property is something like this @font-face{font-family:f1;src:url(f1.ttf)format('truetype');} - as you can see, there's no real information of what given font is.

It would be great if there would be an option to generate font names, so the above code becomes this: @font-face{family: 'Arial'; src:url(f1.ttf) format('truetype');} or this: @font-face{family: 'Arial'; src:url(Arial.ttf) format('truetype');}

The reasoning behind my request is following - when using font embedded within the PDF we're confined to glyphs within that font. If I were to allow users to edit these html files using a web interface they'll run into a problem of missing glyphs. But if the font name were given, I'd simply provide an interface where they could substitute embedded font with one they can download, or one they have installed already. Even if a name of font is displayed as XLFDA Georgia Gras, user would be able to easily find Georgia Gras and substitute it. Currently, without parsing the given font, it's impossible.

The data about font name is already embedded within the resource stream, as generated TTF file has a name within the file information, so my guess is that this should be a fairly simple change.

Thanks!

Issue opened by @eithed Migrated from coolwanglu/pdf2htmlEX#684

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.