Comments (7)
Yes exactly, the initial pdf must be valid PDF/A for the Fx result to be valid.
The error "Glyph widths in font dictionary are not consistent with embedded font program widths." is already on your pdf.
from factur-x.
Firstly, hello @herizo21-dev,
We need explanation, context and example to reproduce your issue.
Without that, we won't be able to do anything.
Please do a pre-analysis before creating an issue.
from factur-x.
Firstly, hello @herizo21-dev, We need explanation, context and example to reproduce your issue. Without that, we won't be able to do anything. Please do a pre-analysis before creating an issue.
hello, sorry @benito103e i edited my first comment
from factur-x.
Which tool do you use to check pdf/A-3 validity ?
Is your PDF generated by sannypdf (I don't know this lib) valid before adding factur-x ?
Can you share a pdf example before and after ?
from factur-x.
Which tool do you use to check pdf/A-3 validity ? Is your PDF generated by sannypdf (I don't know this lib) valid before adding factur-x ? Can you share a pdf example before and after ?
https://services.fnfe-mpe.org/
i dont have before because I just get content from a html
but this is the result:
20240417-facture-Danny_Trejonm_&_Danny_Trejonm.pdf
1 - $binaryContent = $this->snappyPdf->getOutputFromHtml($htmls, [ 'margin-left' => '0', 'margin-right' => '0', 'margin-top' => '10', 'margin-bottom' => '12', 'footer-line' => false, 'page-size' => 'A4', 'dpi' => 150, 'footer-html' => $footer, 'footer-spacing' => '0', ]);
2 - $factureXxml = $this->generateInvoiceAdfXml($dataFacturX, $project); $writer = new Writer(); $facturxPdf = $writer->generate($binaryContent, $factureXxml, null, true, [], true); file_put_contents($filePath, $facturxPdf);
from factur-x.
Which tool do you use to check pdf/A-3 validity ? Is your PDF generated by sannypdf (I don't know this lib) valid before adding factur-x ? Can you share a pdf example before and after ?
Does the PDF beforehand need to already be a PDF/A-3 ?
from factur-x.
Yes exactly, the initial pdf must be valid PDF/A for the Fx result to be valid. The error "Glyph widths in font dictionary are not consistent with embedded font program widths." is already on your pdf.
Thank you very much
from factur-x.
Related Issues (16)
- Issue on installation via composer HOT 4
- checkFacturxXsd returns true for wrong profiles if XML is valid HOT 1
- Hyperlinks in PDF HOT 9
- Could you validate your pull requests HOT 3
- Extended missing in FACTURX_PROFIL_TO_XMP HOT 1
- Generated file name HOT 4
- Error when I do not check the xsd HOT 4
- Valid example Xml files HOT 5
- Deprecated warning HOT 3
- Conflict due to dependency on old package HOT 3
- XMP not valid with https://services.fnfe-mpe.org/tools HOT 3
- Glyph widths in font dictionary are not consistent with embedded font program widths HOT 1
- Problèmes sur les schémas XSD (BasicWL et Basic) HOT 2
- Multiple warnings occur parsing incorrect XML data HOT 1
- Extract Factur-X XML from a PDF :: not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from factur-x.