Created attachment 57026 [details] This is the xps file I couldn't print well Version: 0.11.2 (using KDE 4.5.5) OS: Linux Okular does a great job of displaying the attached xps file. It looks perfect. But when I print it it is unreadable. The problem appears to be that completely wrong font sizes are used. Headlines are twice as big as they should be, so the letter overlap each other, and adjacent text. This seems to be a big machine dependent. On one system things seems to be off by a factor of two or more, but on another one they are off by only 50% or so. Both systems are running Kubuntu 10.10 with the latest KDE from the PPA repository. Reproducible: Always Steps to Reproduce: I've attached the xps file I was using. It is 4 pages with some mixture of text and images. I discovered this by printing, but then found that the problem was easily seen in print preview. When I print preview this on two different Kubuntu systems the layouts are clearly wrong. The fonts are two big and don't fit into the space they are using. Actual Results: The screen view, and print preview are very different. The layout is essentially the same, but the font sizing is so wrong that the results are not usable. Expected Results: The screen view and the print preview should look the same. OS: Linux (x86_64) release 2.6.35-25-generic Compiler: cc
Are the two systems using two different printers?
Yes, the printers are different, but the difference is visible in the "Print Preview" without ever going to the printer. My understanding means that the actual printer in use should be irrelevant, since print preview doesn't ask what printer you are using.
I can confirm this too ! Try XPS files from the following site for example http://www.wssdemo.com/Pages/xps.aspx For some XPS even the screen display is bad.
#3 Are you aware that you are complaining about something totally different? Please do not hijack other people bugs.
I totally disagree Albert, I am reporting exact same bug as comment #1. Relatively good display of XPS, but font size totally wrong upon printing. Print preview shows bad font size too. I was just adding some other xps source files to improve debugging. Btw I am using KDE 4.6.0 on kubuntu 10.10 with okular 0.12 from the backport PPA ii okular 4:4.6.0-0ubuntu1~maverick1~ppa1 universal document viewer
#5 Ok, I misunderstood your comment then, it seemed to me that you said they looked wrong in the viewer, not only when printing or print previewing them. Sorry about the misunderstanding
The bug is still reproducible and annoying. I can see XPS normally but font size is too large when printing. My Okular version is 0.12.5 (KDE 4.6.5)
Created attachment 63113 [details] Another file that prints badly
I just attached another file that exhibits this. Actually, I have yet to see an XPS file that doesn't have this problem. Maybe there are some, but I haven't seen them.
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
Hello this bug is still current. print preview of attachement 63113 is still bad (see screen shot in my attachement). Operating System: Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-1010-lowlatency (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-7700T CPU @ 2.90GHz Memory: 30.9 Gio of RAM Graphics Processor: Mesa Intel® HD Graphics 630 $ dpkg -l okular Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder | État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-dé> |/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais) ||/ Nom Version Architecture Description +++-==============-==================-============-================================= ii okular 4:22.12.3-0ubuntu1 amd64 universal document viewer
Created attachment 161353 [details] print preview of attach 63113
Created attachment 161354 [details] original vs print preview same for the first xps attachement given to this report here you can compare original display in okular vs print preview which prints incorrectly