Why isn't my pdf shown?

I have my canvas printed as “func.png” with the code:
c1->Print("func.png");
I just installed command “eog”, and I seccessfully print a png with command:
eog func.png
however when I changed the class of the file as:
c1->Print("func.pdf");
the pop window of the canvas was shown but the canvas was blank:


and it says the pdf cannot load. What is wrong with that?

Did you try xdg-open file.pdf

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.