Previous Thread
Next Thread
Print Thread
Page 16 of 33 1 2 14 15 16 17 18 32 33
qmc2 #93213 03/11/14 04:43 PM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted by remax
Yeah, it works ok but is really really slow loading PDFs as long as they are a bit heavy...
It is fast enough on Linux, a bit slower when it comes to very image-intensive PDFs... anyway, it's something that would have to be addressed in the upstream project (PDF.js).


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
qmc2 #93236 03/13/14 08:42 AM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Also, comparing QMC2's integrated PDF viewer with Firefox's one using FF 27.0.1 on Linux x86_64 I actually see no difference in performance. No surprise though: they use the same JS library.

The only realistic (and open source) alternative to PDF.js that I see is Poppler, but the reason I refrained from using it is that it has many library dependencies which should be no problem in the Linux world, but I'd need to include them all in QMC2's code because of platform independence... and that's pure overkill smile. However, Poppler is likely faster, mainly because it's written in C++ and can be easily integrated with Qt (which is really nice!), but still...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
qmc2 #93238 03/13/14 10:51 AM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Another problem is that some browser features which are required by PDF.js are not (yet) supported in QtWebKit (tried Qt 4.8.5 and 5.1.1, same as support by Safari). Just open this URL in QMC2's built-in browser:

http://mozilla.github.io/pdf.js/features/

Firefox 27 is 'green' for all the required features. So that's also why I call this 'experimental' at the moment smile. The missing features mainly affect PDFs in East Asian languages.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
qmc2 #93239 03/13/14 12:04 PM
Joined: Mar 2001
Posts: 17,142
Likes: 164
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,142
Likes: 164
Safari 7.0.2 on OS X shows all green except two features required for CJK support, so I imagine when QtWebKit catches up with WebKit proper it'll be in better shape.

qmc2 #93242 03/13/14 01:30 PM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Yeah, and the missing features aren't that important as far as I can tell... the main issue really is performance in case of large PDFs, and depending on the PDF structure, rendering sometimes takes 'forever'. But PDF.js is steadily progressing, so I think this will be sorted out sooner or later.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
qmc2 #93243 03/13/14 02:05 PM
Joined: Oct 2006
Posts: 1,017
Likes: 21
S
Very Senior Member
Offline
Very Senior Member
S
Joined: Oct 2006
Posts: 1,017
Likes: 21
Originally Posted by qmc2
Yeah, and the missing features aren't that important as far as I can tell... the main issue really is performance in case of large PDFs, and depending on the PDF structure, rendering sometimes takes 'forever'. But PDF.js is steadily progressing, so I think this will be sorted out sooner or later.

Yeah, that's my main issue with it in Firefox so far. It doesn't help that my PC is dog-slow tho...

R. Belmont #93256 03/14/14 06:49 AM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted by R. Belmont
Safari 7.0.2 on OS X shows all green except two features required for CJK support, so I imagine when QtWebKit catches up with WebKit proper it'll be in better shape.
FWIW, I just tried it with Qt 5.2.1 which uses a much newer webkit and it looks a lot better in this case.

EDIT: Yesterday I recognized that I was using the library in the wrong way... I used the source directly, but it's supposed to be "built" using node-js ('node make generic') and then use the resulting build-output in production code. So, the complete data/js/pdfjs directory has changed again smile. Some things even work better now.

Last edited by qmc2; 03/14/14 09:49 AM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
qmc2 #93436 03/23/14 09:55 AM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
SVN r5768 (full change-log):
  • fix: main GUI / key- & joy-mapping: don't trigger disabled actions
  • imp: Windows: the FileSystemModel's directory scanner thread now uses native Win32 API calls instead of Qt classes -- see also bug tracker ID #56
  • imp: added a FileIconProvider wrapper class for QFileIconProvider that uses native Win32 API calls on Windows for better performance (also caches the icons internally)


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
qmc2 #93455 03/24/14 11:23 AM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
SVN r5776 (full change-log):
  • fix: MESS device configurator: avoid crash (seen on Windows) when the selected system changes while the available devices and slot-options are currently being determined for another system


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
qmc2 #93650 04/03/14 08:02 AM
Joined: May 2008
Posts: 4,930
Likes: 24
Q
qmc2 Offline OP
Very Senior Member
OP Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
SVN r5798 (full change-log):
  • fix: initial ROM path check: corrected handling of relative ROM paths
  • fix: updated the handling of character encoding in software-lists on Windows to modern MAME/MESS/UME -- see also bug tracker ID #65
  • fix: corrected the working directory the emulator would use when scanning software-lists (so that a relative hash path would actually be found)
  • fix: demo-mode (minor): corrected the produced command line when 'maximize' is disabled
  • imp: updated template format to v0.2.7 which adds support for a new relativeTo attribute (valid only for file-type options) which - if set - will be used to generate a path relative to the current value of the referenced directory-type option when using a file-picker
  • imp: replaced some icons in the classic image-set
  • imp: produce a nicer command line when the emulator is launched in embedded- or demo-mode (no duplicate or redundant options)

Last edited by qmc2; 04/05/14 04:48 PM. Reason: updated to r5798

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Page 16 of 33 1 2 14 15 16 17 18 32 33

Moderated by  qmc2 

Link Copied to Clipboard
Who's Online Now
0 members (), 49 guests, and 4 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,281
Posts121,425
Members5,064
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com