Slashdot Mirror


Google Builds a Native PDF Reader Into Chrome

An anonymous reader writes "Google's latest Chrome 6 Developer Update comes with a few subtle GUI changes, but there is also a major update under the hood. As its ties with Adobe quite apparently grow stronger, there is not just an integrated Flash player, but also a native PDF reader in the latest version of Chrome 6. Google says the native reader will allow users to interact with PDF files just like they do with regular HTML pages. The reader is included in Chrome versions (Chromium) 6.0.437.1 and higher, and you can use the feature after you have enabled it manually in the plug-ins menu. That is, of course, if you can keep Chrome 6 alive — Windows users have reported frequent crashes, and Google has temporarily suspended the update progress to find out what is going on." The Register has some more details on the PDF plugin and a link to Google's blog post about it.

52 of 285 comments (clear)

  1. PDF files will render as seamlessly as HTML? by Meshach · · Score: 3, Insightful
    The article contains this statement:

    PDF files will render as seamlessly as HTML

    Does this mean that the PDF pages are translated into HTML pages then displayed? I always thought that one of the main strengths of PDF was that the author has 100% control over how it is presented. Or am I misunderstanding that feature?

    --
    "Maybe this world is another planet's hell"
    Aldous Huxley
    1. Re:PDF files will render as seamlessly as HTML? by Saeed+al-Sahaf · · Score: 4, Informative

      Or am I misunderstanding that feature?

      Saying "PDF files will render as seamlessly as HTML" is not the same as "PDF files will render as HTML".

      So, yes, I think you misunderstand.

      --
      "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
    2. Re:PDF files will render as seamlessly as HTML? by iammani · · Score: 4, Informative

      Actually google already has an excellent online PDF viewer, it seems to display PDFs as an image, but still manages selection of words, searching and copying. Here is a sample IRS PDF I wouldnt be surprised, if the same code was converted into a chrome plugin.

    3. Re:PDF files will render as seamlessly as HTML? by afidel · · Score: 2, Insightful

      Yeah, because a web page should look exactly the same on my smartphone as it does on my 1080p display....

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    4. Re:PDF files will render as seamlessly as HTML? by ScrewMaster · · Score: 4, Insightful

      Yeah, because a web page should look exactly the same on my smartphone as it does on my 1080p display....

      I don't think the OP understands the purpose of a markup language, a browser, or the idea the pages should render gracefully on different devices. And that's okay so long as he's not a Web developer.

      --
      The higher the technology, the sharper that two-edged sword.
    5. Re:PDF files will render as seamlessly as HTML? by afidel · · Score: 2, Insightful

      No, they shouldn't. That's the fundamental idea behind a markup language, separate data from presentation.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    6. Re:PDF files will render as seamlessly as HTML? by AK+Marc · · Score: 3, Insightful

      I always thought that one of the main strengths of PDF was that the author has 100% control over how it is presented. Or am I misunderstanding that feature?

      I think you are. PDFs aren't read-only. PDFs aren't secure (well, unless you have some DRM package installed, and even then it's debatable). PDFs will, in the absence of anything else, present like the author wanted. But they are easily edited, modified, redacted, and such. I know people that think "If I send it as a PDF, they won't be able to just copy the text off it, and they can't just change a couple things in it and send it on to someone else like it was mine." Both are incorrect. So yes, you are misunderstanding that feature. It is so that you know they can open it, not that you know they can't modify it. Those are unrelated issues, and it just happens that most people don't bother to get programs that let them modify PDFs and they aren't necessarily easily modified, so they aren't modified regularly in practice.

    7. Re:PDF files will render as seamlessly as HTML? by commodore64_love · · Score: 2, Insightful

      LINK to scifi.com in 1996 - http://web.archive.org/web/19961124030947/http://scifi.com/

      Fast loading (even on dialup). Clean. Easy to use
      .

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    8. Re:PDF files will render as seamlessly as HTML? by Kjella · · Score: 2, Interesting

      I don't think the OP understands the purpose of a markup language, a browser, or the idea the pages should render gracefully on different devices. And that's okay so long as he's not a Web developer.

      Except that in practise they never do because you're mixing fixed size (images, banners, logos etc.) and dynamic size (text mostly) content and making sure that it always reflows well just doesn't happen. Of course you can blame the developers but it's a little like saying no buffer overflow is the language's fault, if all developers were perfect it wouldn't happen. Slashdot is one of extremely few sites that do it and it only works because slashdot is extremely simple, for example I just checked the five biggest online newspapers in Norway, 5/5 use fixed width. Anecdotally I would say that holds true for most complex websites.

      Very often if you want it to work *well*, it probably can't be done automatically anyway. For example on these news sites, if you want to make a good mobile site you must make a narrower newspaper with less items side by side. You can somewhat do that with CSS trickery, but it won't look pretty because they mix on using 1/1, 1/2, 1/3 and 1/4th of the width and you would like to use a smaller version of some and to make sure each line fills up and so on. If sites did a few fixed versions and made sure they looked good you'd get 80% of the benefit with 20% of the headache.

      Sometimes it just spirals way out of control. For example, i once had to deal with a calendar and users using IEs function to zoom text, it completely broke everything. Try making the days flow right in a dynamic way, but of course seven to a line like you expect and they need to align properly vertically despite numbers having different widths. Oh and it's in a sidebar that's fixed width, recode everything else too. Yeah right, in the end we took a screenshot of each day from 1-31 and made it out of images instead, that way you couldn't zoom it. Problem solved and nobody complained about the way it was solved. Fixed with is KISS, dynamic reflow is very hard and often for very little gain.

      --
      Live today, because you never know what tomorrow brings
    9. Re:PDF files will render as seamlessly as HTML? by ChunderDownunder · · Score: 2, Informative

      They translate PDF to html already - try opening a PDF attachment in gmail.

    10. Re:PDF files will render as seamlessly as HTML? by John+Hasler · · Score: 3, Insightful

      > Then there is fonts. Heck there are web browsers that run on text terminals.
      > Fonts are likely to be substituted depening on the platform and the
      > particular install which will also affect the sizing of stuff.

      Font sizes are also sometimes much larger than the 2pt that Web designers adore because some of us have less than perfect eyesight.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    11. Re:PDF files will render as seamlessly as HTML? by grumbel · · Score: 3, Insightful

      Actually the separation of presentation and content is pretty good on most of the bigger sites, i.e. you can switch to "View/Page Style/Basic Page Style" in Firefox and things will look just "fine", they have all their <ul>'s and <h2>'s marked up properly.

      The much bigger problem is that the presentation information itself isn't very flexible, instead it consists of ugly hacks and expectation of pixel-perfect exact rendering on every browser. If you change little details like the font-size almost all webpages will completly fail. Some will fail mildly (on Slashdot the Reply button will fall apart) while others will fail catastrophically (overlapping and thus unreadable text). CSS is simply extremely crappy when it comes to creating robust layout, as soon as some small parameter changes, it might result in an unusable webpage, which is why the user is left with the choice between no style at all and pixel perfect rendering as intended by the author, while most of the time you really would want something in between.

    12. Re:PDF files will render as seamlessly as HTML? by Kjella · · Score: 2, Insightful

      It worked, and continued to work just fine for any other browser and it passed W3C's validator which you don't see too many do - you'd see the alt numbers in Lynx and if you scale both images and text there was no layout problem. The calendar would be somewhat more blurry on other browsers because you'd be zooming an image and not a truetype font, but still usable. It's funny that you think I don't know about other browsers, the reason I don't talk about those is that all the others just work - Firefox, Safari and Opera did just fine while IE took a ton of hacks in addition to that one. The users were on a computer lab where some administrator had thought that forcing larger text as default due to monitor size would be a good idea, and I'm sure that for the main text it was fine but it completely broke everything that came out of the box on that CMS. Our job was to implement a CMS, not spend ten times their budget trying to rewrite it. But in the land of fairies and unicorns and clients with endless pockets I'm sure we would have... let me guess, you've defintively never done this for a living?

      --
      Live today, because you never know what tomorrow brings
    13. Re:PDF files will render as seamlessly as HTML? by BatsShadow · · Score: 3, Informative

      You're misunderstanding his post. His point is that the document as the author created it should look the same to all viewers no matter what their device. The author has full, very specific, control over what the document looks like to the user. Compare this to the web where pages render differently on every device. He's not talking about security or whether or not users can edit the document.

    14. Re:PDF files will render as seamlessly as HTML? by thebjorn · · Score: 2, Insightful

      > Then there is fonts. Heck there are web browsers that run on text terminals. > Fonts are likely to be substituted depening on the platform and the > particular install which will also affect the sizing of stuff.

      Font sizes are also sometimes much larger than the 2pt that Web designers adore because some of us have less than perfect eyesight.

      The designer we used almost cried when I changed his proposed 9px Arial to 13px Verdana ;-) I used the MUM test... if my mum had to put on reading glasses, the font was too small...

    15. Re:PDF files will render as seamlessly as HTML? by DougBTX · · Score: 2, Informative

      They mean "seamless" as in, not having to download the PDF file then open it in another application, or waiting for an ActiveX control to load, or once it has loaded, to have different toolbars and graphic styles from the browser, and so on. None of these things are "the main strength of PDF", so there is no conflict at all in removing these "seams". Try looking at a PDF in Safari on OSX some time, it already does all this, PDFs load up just like HTML pages.

    16. Re:PDF files will render as seamlessly as HTML? by grumbel · · Score: 2, Informative

      And the further problem is that if you want another presentation, you probably need another set of divs than what you have right now.

      To a certain extend, yes, as you can't reorder div's with CSS, you have to arrange them in your HTML to fit your planed CSS layout. But that is really not the fault of the web designer, as CSS just doesn't offer any tools to do a better job. Considering what HTML/CSS allow, many webpages do as good as a job of separating presentation and content that is possible.

  2. Chrome, you're losing me! by Anonymous Coward · · Score: 3, Insightful

    I started using Chrome because it was an improvement over the other browsers. It was faster, it used less memory, and it was more crash-resistant. But I have not been impressed with the latest versions.

    Everyone knows about them removing http:// from the URL bar already. Their reasoning was, to put it politely, complete horseshit. That was a change they never should have made.

    Embedding Flash natively is good for YouTube, no doubt, but bad for everyone who doesn't want to support or use something that is so shitty and proprietary.

    One of the last things I ever wanted was native PDF support in my browser. Just like with Flash, I go out of my way to avoid PDFs.

    As much as I dislike proprietary software, these recent Chrome developments are driving me to Opera. Opera is faster than Chrome, manages memory better, and never crashes. While their code isn't open source, at least they embrace open and truly free standards. Until the Chrome developers get their acts together, I'm done with it.

    1. Re:Chrome, you're losing me! by asvravi · · Score: 5, Insightful

      Whether you like it or not, use it or not, have a choice or not, the fact is both Flash and Adobe Reader will be there anyway on 99% of the PCs. Google is to be appreciated for taking them under its fold so to speak - instead of leaving them as separate addons that never get into the final browser build testing and regression testing. Integrating these and testing and deploying it as a whole package is certainly better for stability as well as security.

    2. Re:Chrome, you're losing me! by bunratty · · Score: 2, Informative

      I started using Chrome because it was an improvement over the other browsers. It was faster, it used less memory...

      Faster perhaps, but less memory? Many tests show it uses more memory than other browsers.
      http://lifehacker.com/5457242/browser-speed-tests-firefox-36-chrome-4-opera-105-and-extensions http://dotnetperls.com/chrome-memory
      http://www.whoisandrewwee.com/browsers/verdict-on-google-chrome-memory-hog/

      --
      What a fool believes, he sees, no wise man has the power to reason away.
    3. Re:Chrome, you're losing me! by an+unsound+mind · · Score: 3, Insightful

      There's more than one person amongst the geek community. People can have differing opinions even when identifying under a common label. Shocking, I know.

    4. Re:Chrome, you're losing me! by Zarel · · Score: 5, Informative

      From a security point of view, I'd feel better if Google wrote their own PDF implementation. Far be it for me to read TFA, but I get the impression that this code comes from Adobe, whose software generally makes me nervous.

      I've read it for you. The code doesn't come from Adobe, Google wrote it themselves. It also uses Google's new sandboxed plugin API, so it would be less of a security concern even if it did.

      (I'm surprised you got two replies who also didn't RTFA.)

      --
      Want a high quality FOSS RTS game? Try Warzone 2100!
    5. Re:Chrome, you're losing me! by mystik · · Score: 2, Interesting

      From http://dotnetperls.com/chrome-memory:

      Google Chrome posted the highest maximum memory usage when all chrome.exe processes were summed, reaching 1.18 gigabytes, while Firefox posted the lowest maximum memory levels of 327.65 megabytes. This means Firefox used 73% less memory during peak periods.

      Their methodology is flawed. The operating system will share identical unmodified memory pages between processes once in memory. So if they simply summed @ the total memory usage for each process, they could be counting the same piece of memory multiple times.

      In Firefox, the single-process model makes it easy to measure the memory use of the process, but brings with it all it's flaws, (much easier to take out the whole session with a bad plugin)

      Measuring memory usage of a multi-process application requires figuring out many pages are uniquely mapped amongst all processes, then summing that figure

      --
      Why aren't you encrypting your e-mail?
    6. Re:Chrome, you're losing me! by Hortensia+Patel · · Score: 2, Interesting

      First, this isn't Adobe Reader, thank Zod. It's Google's own implementation.

      Second, I have (entirely speculative) doubts that the bundling of Flash is happening on its own merits. I suspect a quid pro quo was agreed, whereby Google bundles Flash and offers moral support against Steve Jobs, and in return Adobe extends Flash to support the new WebM video format. This extends its reach to (most) users of IE and Safari, neither of which will be adding native support.

    7. Re:Chrome, you're losing me! by king+neckbeard · · Score: 2, Informative

      You've got the reasoning wrong. Google doesn't really care about Flash or Adobe. However, Google cares about security and users care about flash content. In order to please users, they bundle Flash, so it's there and it's up to date. Flash is one of the biggest security holes in a browser, and they've taken a step to minimize this hole.

      --
      This is my signature. There are many like it, but this one is mine.
    8. Re:Chrome, you're losing me! by bcrowell · · Score: 3, Interesting

      The built-in PDF feature isn't available on the linux version yet.

      Some questions that I had that weren't answered by TFA:

      1. Is the PDF renderer fully open source and available under the same license as everything else, so that it can be included in nonproprietary builds of Chromium?
      2. TFA says: "The plug-in doesn't do everything that the Adobe Reader does. It can't handle, for instance, certain embedded media[...]" This is probably a good thing, IMO. The $40,000 question is whether it supports javascript embedded in PDFs, which is the huge security nightmare in Adobe Reader. If it does support it, I hope it's turned off by default. Since I run linux, I can't test this. Can any slashdotters try it and find out?
      3. Same question as #2 for embedded flash. I assume they haven't implemented it, hope they never do.
      4. What is the patent situation with the implemented and nonimplemented "embedded media," and how does this affect fully nonproprietary builds of Chromium?
    9. Re:Chrome, you're losing me! by QuantumBeep · · Score: 2, Insightful

      Those are shown in the address bar (colored green, no less) when they're there. Just plain HTTP is the only thing that's hidden.

  3. Yay? by Anonymous Coward · · Score: 4, Insightful

    PDF is actually a useful standard when it comes to reproducing printed or printable documents. The worst thing about PDF is Adobe's Reader implementation. Hopefully, this is a clean implementation, not based on Adobe's lousy, slow, insecure Reader code. I know they say its sandboxed, but still.

    Anyone using Safari or Firefox (extension here) on the Mac has been able to do this for some time; PDFs are a lot better without the Adobe plugin.

  4. Re:PDF plugin, OK. PDF built-in? Not so sure... by Anonymous Coward · · Score: 5, Informative

    I'm not fully qualified to comment on this since I will never be a Chrome user until someone forks off a "stainless steel" release where a group of people have poured over the source code to ensure there is no Google data collecting going on and then compiles it themselves for distribution.

    No, I think what you want is the "tinfoil hat" release.

    But seriously, it's called Chromium. It's the fully open source project that feeds into Chrome, and it's free of all Google branding and such. For what it's worth though, there's nothing in Chrome that does anything remotely close to what you're afraid of. Feel free to run it for a couple of weeks through a debugging proxy to watch what it does (I have).

  5. Re:Old technology by iPhr0stByt3 · · Score: 3, Insightful

    But Chrome is not converting anything. It's more like a plug-in that's native. This is the same way Chrome reads HTML5 natively... it doesn't first convert it to HTML4. It won't look any different than the Adobe's plug-in or FoxIt's plug-in, but you don't have to install it separately. And most awesomely, you won't have to update it separately. Of course this makes Chrome natively a little more vulnerable too... but oodles more secure than Adobe's plug-in.

  6. Re:Why? by siride · · Score: 2, Insightful

    It's the first pass at it. You expect it to be perfect? This is still the development version. Will you freetards get over yourselves for $DEITY's sake?

  7. Re:PDF is fat by hedwards · · Score: 2, Interesting

    The problems with PDF started for the same reasons that DOC problems started. The party responsible for the format decided that hey, wouldn't it be cool if... And after that you got document formats with embedded programming features. No good will ever come of doing such a thing. If you need to do more than just display, then there are ways of handling that. Allowing such things to be embedded in every document without providing a sane way of determining which do and which don't prior to opening causes tons of trouble.

  8. Re:PDF is fat by abulafia · · Score: 5, Interesting

    PDFs tend to bloat for at least two reasons - one is the inclusion of tons of rasters and other embedded objects, and that's a problem between chair and keyboard - the resultant documents are just was was asked for. The other is that PDF is (a superset of) a subset of Postscript. Some combinations of software and the drivers that generate PDFs, can do insanely redundant things that cause massive documents. One neat workflow I saw several years ago was placing raster images into Illustrator objects, then through a DTP program to be rendered to PDF. That particular software stack/combination of transformations managed add something like 400x bloat compared to the same document produced in a different way.

    Generating non-insane Postscript used to be a solved problem, but it appears to come back every so often.

    Also, changes in the PDF happened some time back that had big size advantages. Documents generated by old PDF renderers are going to tend to be larger than those generated by newer ones. (I don't really recall the details, but some of it was how embedded objects are stored.)

    --
    I forget what 8 was for.
  9. Re:Why? by rudy_wayne · · Score: 3, Insightful

    Adobe either doesn't hire qualified programmers or somehow manages to thwart any from getting work done properly. I'm not sure what exactly the problem is, whether there's too much interference from people without foundation or perhaps they just don't provide the resources to do it correctly in the first place.

    Adobe's big applications (Photoshop, Premier, etc) are quite good. The problem with Adobe PDF is not a lack of resources, skill or competence on the part of Adobe programmers. The problem is that a PDF reader/creator should be a small simple program, but some pointy haired boss somewhere constantly demands the addition of more and more "features" that are inappropriate, make the program ridiculously bloated and frequently lead to numerous sercurity flaws.

  10. Google Policy on Automatic Updates by CuteSteveJobs · · Score: 5, Insightful

    > if you can keep Chrome 6 alive — Windows users have reported frequent crashes, and Google has temporarily suspended the update progress to find out what is going on.

    I've experienced Chrome crashes too - more frequently than IE or Firefox. And that's a big problem with Chrome: You can't turn off Automatic updates(*). You will find several hundred meg vanishing from your download quota. I guess the Google developers with their top-of-the-line hardware forget that us regular folks care about things like bandwidth, disk space (it leaves the downloaded files sitting on your hard drive - multiple versions) and quotas (because I don't want to go over my peak quota because some punk program won't take directions). It also jumps up and starts downloading and installing even if you're in the middle of something.

    I'd rather schedule my own updates to fit my own schedule - I don't want some program stuffing up when I'm in the middle of something. Chrome has some nice features - it's fast and it doesn't waste the screen space or have the memory bloat that Firefox or IE do, but Chrome crashes a lot and in the end I figured Firefox was best because it at least gives you some control over your PC. Chrome doesn't.

    * = Google do provide a way for Enterprise users to modify the groups policy because (as described in their faq) 'enterprises should be able to schedule their own updates'. But Joe Public doesn't get that luxury, and there's no checkbox to turn it up like every other software is decent enough to provide. BTW don't try the REGEDITS; they don't work. Google know about all this because there are many posts complaining about it (search for 'disable chrome automatic updates'), but in the usual corporate arrogance won't even acknowledge the problem: pesky customers! Google think they know what's best.

    http://www.google.com/search?q=disable+chrome+automatic+updates

    1. Re:Google Policy on Automatic Updates by bertok · · Score: 3, Interesting

      Where are you that you need to keep an eye on your bandwidth?

      Where the hell are you that you can't even imaging having to worry about bandwith? Can I move there?

      Over here in Australia, internet connections with 1GB quotas per month are not unusual, and most mobile 3G accounts are even more restricted.

    2. Re:Google Policy on Automatic Updates by isilrion · · Score: 2, Interesting

      I agree with GP, in what places on earth, apart from what I assume is a farm in the middle of the desert in Australia, is quotas an issue ? :)

      Cuba. My quota used to be 170 Mb/month, and I had one of the highest quotas in the university (I was the sysadmin, and I was authorized to increase my own quota, and ask for permission later, if I needed). In practice, though, I never reached that ammount... 1mbit/sec shared by 10000 users didn't make it easy, but there were professors in the 50-70 Mb/month range that had a hard time by the end of the month.

      The very first thing we had to teach users was to disable automatic updates (instead we would download new versions once and publish then internally). We really couldn't afford one program taking all the available bandwith for several hours while everyone's instances were being updated.

      Sadly, that situation won't change until the Cuba-Venezuela cable is finished, if it ever is.

  11. Re:Chrome is not an application, it's a widget. by Again · · Score: 2, Interesting

    Let me known when they figure out how to add a menu bar. Until then, I'll be sticking with Firefox.

    LK

    This. I moved from Firefox to Chrome for speed and from Chrome to Ephiphany for a menu bar. I've lost a lot of features in the moves but now I have a fast, stable broswer with a menu bar.

  12. Re:PDF is fat by bonch · · Score: 3, Informative

    PDF viewing is very fast on OS X, and Safari has natively displayed PDFs for a long time. I blame Adobe's reader.

  13. Re:PDF is fat by petermgreen · · Score: 2, Informative

    I know PDF has embedded fonts, but that shouldn't take much room, should it?
    Embedded fonts can get pretty big if the software doesn't subset them or a lot of glyphs are used. DeJavu sans for example is over half a megabyte! Some fonts are much bigger (pan-unicode fonts and CJK fonts for example)

    What are they doing that converts something that would be a 10K ASCII file into a 500K PDF monstrosity?
    PDFs will always be a bit bigger than plain text because they control the positioning of stuff exactly and that takes information. It shouldn't be a factor of 50 though unless images are involved.

    Once images are involved the sky's the limit, a single large image can make a pdf huge (and remember images can be inserted at any resoloution so a huge image can display small!)

    One of the things about pdfs is always embeds images and usually embeds fonts. This is a mixed blessing, on the one hand it makes the file far more portable than something like html but on the other hand it means you re-download stuff like logos with every pdf you grab.

    Can't LaTeX handle it?
    LaTeX has it's place but afiact it was never designed to be a distrubution format. A typical LaTeX document involves a load of files that become figures in the document and many use LaTeX add-on packages that may or may not be installed.

    About the only thing worse than PDFs are raster scans of documents, and those typically aren't served, they're used as an intermediate step towards porting to a more useful format.
    That has not been my experiance with large digitisation projects i've seen the output of (e.g. http://ethos.bl.ac.uk/ ). In my experiance they do OCR for searchability but the accuracy isn't good enough to do a full conversion so they produce pdfs with the image visible but OCR text for copy/paste/search.

    It's done because it's a lot easier for computers to search text documents.
    Afaict this is the main reason for doing OCR at least in large digitisation projects.

    And it saves lots of space.
    It does if you throw the originals away. But only an idiot would do that without careful proofreading of the OCRed text and careful proofreading costs a LOT more than storing the original images does.

    --
    note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
  14. 6 already? by Junior+J.+Junior+III · · Score: 4, Insightful

    Geez, it seems like I was just upgraded to 5 last week.

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
  15. You did not RTFA either by Anonymous Coward · · Score: 2, Interesting

    because TFA doesn't explain that google wrote it themselves. Heck, even the google blog announcement doesn't explain that google wrote it themselves. Guess what, it turns out google did not write it themselves, they're using libpdf.so which is libpdf

    1. Re:You did not RTFA either by Anonymous Coward · · Score: 2, Insightful

      I think you have the wrong library. There is no way Google used an unknown, anonymous, 9-year-old C library. Even a newbie hacker could likely exploit that with little effort.

    2. Re:You did not RTFA either by Zarel · · Score: 4, Informative

      because TFA doesn't explain that google wrote it themselves. Heck, even the google blog announcement doesn't explain that google wrote it themselves. Guess what, it turns out google did not write it themselves, they're using libpdf.so which is libpdf

      I was referring to the Google blog post, which is linked from the Slashdot summary and thus counts as "TFA".

      It says "Currently, we do not support 100% of the advanced PDF features found in Adobe Reader, such as certain types of embedded media" and "We would also like to work with the Adobe Reader team to bring the full PDF feature set to Chrome using the same next generation browser plug-in API", which I took to mean that:

      1. it clearly isn't being written by Adobe, and
      2. even if Google didn't write it, they are maintaining and improving it, so they "wrote it" in the same sense that Apple "wrote" WebKit.

      As for the "libpdf.so", part, I assume you're looking at the part of the code that says

      #if defined(OS_WIN)
                  cur = cur.Append(FILE_PATH_LITERAL("pdf.dll"));
      #elif defined(OS_MACOSX)
                  cur = cur.Append(FILE_PATH_LITERAL("PDF.plugin"));
      #else // Linux and Chrome OS
                  cur = cur.Append(FILE_PATH_LITERAL("libpdf.so"));
      #endif

      Which means that they're using a file called libpdf.so on Linux. As another one of your replies points out, this is doubtful to be the 9-year-old unmaintained incomplete C library you link to, and judging from the Windows and Mac filenames, this is nearly definitely a library written (or at least maintained) by Google.

      --
      Want a high quality FOSS RTS game? Try Warzone 2100!
  16. Re:PDF is fat by gad_zuki! · · Score: 2, Insightful

    How exploitable is/was doc? MS's implementations usually asked you if you wanted to run macros and had macro settings. I can't think of any trojans or botnets that scaled to huge numbers by exploiting doc. Adobe reader? Yes, lots. Adobe's Reader out of the box runs js without even a warning. Its one of the largest exploitable apps on the internet today and most people have its plugin running in their browser.

    Unfortunately, scripting in documents isn't going away anytime soon. In the meantime, can't I get some sane defaults?

    I hope all the major browsers start implementing their own PDF reader just to balkanize the PDF market. At least this will hurt the Adobe monopoly and hopefully force them to compete on security and not unsecure features.

  17. Re:Chrome is not an application, it's a widget. by Lord+Kano · · Score: 2, Insightful

    What do you need the menu bar for that the two menu icons in Chrome can't provide?

    Those two icons do not provide a menu bar. It's been a standard part of a GUI for 25 years.

    LK

    --
    "Hi. This is my friend, Jack Shit, and you don't know him." - Lord Kano
  18. I already hava a PDF Viewer by devent · · Score: 2, Insightful

    I already have an excellent PDF viewer, thank you very much. It displays my PDFs wonderful and is separated from any browser and don't even use any library that have anything to do with the internet (as far as I know). And I like it that way.

    Internet is a highly dangerous place and it's very hard, if not impossible, to secure the browser only for HTML, CSS, JavaScript and DOM. But now Google makes the same mistake like MS with the IE (with ActiveX) and includes PDF in the core browser? PDF is a monstrous standard; the hackers can even hack a stand alone PDF viewer to run code on your computer and now you want to include it in the core Chrome? What's next, ActiveX?

    Leave it in a additional Addon for that people who just can't just download a PDF and open it in the stand alone PDF viewer.

    --
    http://www.mueller-public.de - My site http://www.anr-institute.com/ - Advanced Natural Research Institute
  19. Re:PDF plugin, OK. PDF built-in? Not so sure... by surveyork · · Score: 2, Informative

    Try Chromium or ChromePlus.

    --
    2019 is going to be the year of Linux on the desktop.
  20. using a browser to display documents? by Punto · · Score: 3, Insightful

    using a browser to display documents with complex layouts, fonts, images, etc? What a novel idea, I don't know how nobody thought of this sooner. Seriously, the main reason why I hate PDF is that I need a separate program to open them, when they're just a glorified webpage.

    I wonder why they don't just build this as a native client plugin, and use it on-demand when a pdf shows up, instead of making a big deal about how it's "built in".

    --

    --
    Stay tuned for some shock and awe coming right up after this messages!

  21. Re:Chrome is not an application, it's a widget. by FrankieBaby1986 · · Score: 2, Insightful

    Why use a confusing picture (Wrench and Piece of paper?) when perfectly clear text can be used.

    Similarly, should I have all my mp3's in one folder, or should I have subfolders by artists and albums, or some other criterion for example?

    Anyways, that's why I like the traditional "file edit view history bookmarks tools help" interface. Faster and more organized IMHO

    --
    ERROR: SIG NOT FOUND (A)bort, (R)etry, (F)ail?:
  22. Re:PDF is fat by shutdown+-p+now · · Score: 2, Informative

    How exploitable is/was doc? MS's implementations usually asked you if you wanted to run macros and had macro settings.

    I think it only started to do that since Office2K or so; pretty sure that there were popular releases which already had scripting, but no user control over when that starts executing once the document is opened. Most certainly, viruses written in VBA ("macroviruses" was the word for that) costituted a hefty chunk of popular virus registries back in late 90s.

  23. Re:Chrome is not an application, it's a widget. by drinkypoo · · Score: 4, Insightful

    Why use a confusing picture (Wrench and Piece of paper?) when perfectly clear text can be used.

    The wrench has been a universal configuration icon as long as we've had icons. In fact, using a wrench to denote the storage of tools predates computers considerably. The truly crafty would drill holes in a crappy wrench, add standoffs, and use it as the handle for a tool drawer. Windows 7 includes a wrench icon for configuration on most notifications. Similarly, a picture of a document has been the symbol for document manipulation as long as we've had icons as well; and further, it has long been present on toolbars.

    Or, short form, if you are confused by a wrench and a piece of paper, you are a pathetic tool user. Get off my lawn, if you can manage to walk in a straight line.

    Similarly, should I have all my mp3's in one folder, or should I have subfolders by artists and albums, or some other criterion for example?

    It's not similar. And BTW, if your filesystem doesn't suck, and your player has decent metadata support, it doesn't matter how you store your mp3s as long as you use a naming convention that supports them all being in the same place.

    Anyways, that's why I like the traditional "file edit view history bookmarks tools help" interface. Faster and more organized IMHO

    But you're wrong. It's slower and less organized. Menus are piles of functions loosely grouped. Chrome's interface is designed to show you the controls you commonly need. Do you really need to go to the edit menu for copy/cut/paste? Everyone I know knows the keyboard shortcuts, even my artist/chef lady love has managed to get those down, and when she forgets them, she uses the context menu, which is the second place you should go. The menu is a distant third (largely because it is distant) and you don't need to go there except to change encoding or report a bug, two things done very infrequently. I use the wrench menu slightly more often because I like to mess with extensions, but everything commonly used in there has a keyboard shortcut or an interface button... except the bookmarks button, for which you need an extension.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"