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

Comments

  • gpigpi
    edited 6:20PM
    Open correctly with FF 15.0. It seems really FR problem >
  • edited 6:20PM
    gpi wrote: »
    Open correctly with FF 15.0. It seems really FR problem >

    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.
  • edited 6:20PM
    Hello,

    Thank You
    Now I see my PDF's on iOS and Android.
    I can't believe it was so simple.

    Best Regards,
    Cristian Peta

  • edited 6:20PM
    Hello,

    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.
  • gpigpi
    edited 6:20PM
    wrote:
    I'm using Arial, Times New Romand and Courier New, so I think that fonts are not the problem.
    Did you export with embedded fonts option?
  • edited 6:20PM
    Thak you for the reply.

    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?
  • edited 6:20PM
    arronlee wrote: »
    Hi, Maurice Spronkers.
    Why not try to build a 3rd party PDF viewer to your FireFox to help you read PDF files? You can google it and select one whose way of processing is simple and fast to help you with the related PDF viewing work. It will be better if it is totally manual and can be customized by users according to our own favors. Remember to check its free trial package first if possible. I hope you success. Good luck.



    Best regards,
    Arron

    Thank you for your suggestion. PDF viewer is really a good choice.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.