Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Chromium PDF view=fit parameter resolved but not for armhf

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
zsoltid
Posts: 4
Joined: 2017-12-07 18:34

Chromium PDF view=fit parameter resolved but not for armhf

#1 Post by zsoltid »

Hi all,

I have a question about chromium browser in raspberry pi 3 (armhf).
There is a known problem about viewing PDF in chromium with parameter view=fitH, fitV, since an update to Chrome, when certain types of plugins, known as NPAPI plugins like Adobe Reader were no longer be available. This may be why some of the plugins are no longer working. Now chromium uses its own pdf viewer.

I read that with pleasure maybe there will be a solution for my problem (missing view=fitH and view=fitV part of the PDF in chromium) on site https://bugs.chromium.org/p/chromium/is ... l?id=64309, when developers tried to implement these viewing/missing parameters into current pdf-viewer.

I was writing to the implementator, because he is the owner of that ticket. He sent me a link where the changes is already in the latest Chrome build on the Dev channel. I can get it at https://www.google.com/chrome/browser/d ... devchannel
This is a developer version 64.0... I tried that in Windows, it is working correctly, but I couldn't install it to raspbian/debian in raspberry pi 3:
'package architecture (amd64) does not match system (armhf)'

What do you think, do you know about a website, where I can download chromium developer versions for raspberry pi 3, for system armhf (that contains this correction), or do you have any idea to solve my problem?

Zsolti

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Chromium PDF view=fit parameter resolved but not for arm

#2 Post by pylkko »

As far as I know, the developers of Raspbian ship their own version of chromium. You might want to ask them.

You tried to install a 64bit x86 atrchitecture package on an ARM platform. That cannot work. You need to use a armhf deb package. But the Raspbian guys do other modifications to optimize for RPi, so best to stick with that (and not the Debian version)

zsoltid
Posts: 4
Joined: 2017-12-07 18:34

Re: Chromium PDF view=fit parameter resolved but not for arm

#3 Post by zsoltid »

Hi pylkko,

I posted my problem on raspberry forums. And I wrote some mails to RB developers.
Unfortunately, I didn't get any answares. :(

I reckon, I have to build the newest chromium from src code is the the fastest way to solve the problem.
I found instructions about building chromium for ARM, it seems a little difficult to start :).
https://chromium.googlesource.com/chrom ... uctions.md
https://chromium.googlesource.com/chrom ... ium_arm.md

Zsolti

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Chromium PDF view=fit parameter resolved but not for arm

#4 Post by pylkko »

Since you are running the Cortex-A7 (ARMv7-A) version of the RPI, you should be able to compile armhf code from debian source (or other source). But I believe they do other stuff like make the video be hardware encoded and run under omxplayer and provide flash player plugin etc. However, IIRC these are distributed as a separate package called chromium-mods (or something). So, perhaps you could install that on top of your custom built Chromium.

Post Reply