PDF broken in FireFox 19.0 with pdf.js viewer
Hi,
This pdf doesn't load http://raceresults.nu/uitslagen/2012/Osche...%20laptimes.pdf in FireFox 19.0 with the new pdf.js viewer.
pdf is made with FastReport.
Displays a blank paper.
Also insert an issue on https://github.com/mozilla/pdf.js/issues/2812
This pdf doesn't load http://raceresults.nu/uitslagen/2012/Osche...%20laptimes.pdf in FireFox 19.0 with the new pdf.js viewer.
pdf is made with FastReport.
Displays a blank paper.
Also insert an issue on https://github.com/mozilla/pdf.js/issues/2812
Comments
No, It is not a FR problem.
See the spezification in the PDF Referenz for Inline Images and the defination of Whitespaces.
If you have the Sourcecode for frxExportPDF.pas change the line:
'/H ' + IntToStr(TempBitmap.Height) + #13#10'/CS /RGB'#13#10'/BPC 8'#13#10'/I true'#13#10'/F [/DCT]'#13#10'ID'#13#10);
to:
'/H ' + IntToStr(TempBitmap.Height) + #13#10'/CS /RGB'#13#10'/BPC 8'#13#10'/I true'#13#10'/F [/DCT]'#13#10'ID ');
in TfrxPDFExport.AddObject.
Thank You
Now I see my PDF's on iOS and Android.
I can't believe it was so simple.
Best Regards,
Cristian Peta
I've changed the line in frxExportPDF.pas but it doesn't solve my problem.
There are pictures and shapes in the document. All shapes and pictures can be viewed in Android but no letter. Of course the generated pdf can be viewed right in Windows.
I'm using Arial, Times New Romand and Courier New, so I think that fonts are not the problem.
Any idea, please?
Thanks.
Ok, embedding fonts, now I can see fonts.
Now the problem is size, very big size, but I've read in the forum this isn't solved yet, isn't it?
Thank you for your suggestion. PDF viewer is really a good choice.