Skip to content
This repository has been archived by the owner on Jun 6, 2020. It is now read-only.

No styles for classes like ft00, ft01 etc. #58

Open
KMV1 opened this issue Oct 29, 2019 · 0 comments
Open

No styles for classes like ft00, ft01 etc. #58

KMV1 opened this issue Oct 29, 2019 · 0 comments

Comments

@KMV1
Copy link

KMV1 commented Oct 29, 2019

Hi!

My output html file has classes like ft00 etc:
<p style="position:absolute;top:1218px;left:638px;white-space:nowrap" class="ft00">Some text</p>

but it has not styles for this class. So font-size is incorrect in the result. And html page looks not like an input pdf.

Screenshots: https://drive.google.com/open?id=18qgcG72pKlWRcErFqEHZlNUYLpCMMeYO

While running a script there are some errors:

PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /root/vendor/paquettg/php-html-parser/src/PHPHtmlParser/Selector.php on line 171
PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /root/vendor/paquettg/php-html-parser/src/PHPHtmlParser/Selector.php on line 172

How I can fix it and how to get correct styles?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant