0
I am showing a PDF file directly in the browser. In Google Chrome, it works perfectly, but if you use Firefox, the PDF is as shown below.
Did you have to put some extra config for Firefox? The PDF file is ok, open directly in the folder.
Controller Code
public ActionResult Boleto(string id)
{
var arquivoPDF = Path.Combine(MegaBoleto.PastaPDF(), String.Format("{0}.{1}", id, "pdf"));
if (System.IO.File.Exists(arquivoPDF))
{
return File(arquivoPDF, "application/pdf");
}
return View();
}
In this section there is no problem. It is not the source that is being used in the PDF, tried to change it? Inform how it is generated.
– George Wurthmann
@Georgewurthmann PDF is generated by Acbr Boleto, in Fortes Report and export is his standard.
– Tiedt Tech
Firefox your own PDF visualization plugin just like other browsers. That’s why the problem only occurs in it, trade for another to see if it works, but the ideal correction would be to test other sources, but I don’t know the Acbr Boleto.
– George Wurthmann
@Georgewurthmann is being used the source Arial
– Tiedt Tech
Do you know this library that you are using to generate the boleto? Is it possible to change the source that is used to test? You can post the section that generates the boleto or a similar example?
– George Wurthmann