How is pdfium used by Chrome?

71 views
Skip to first unread message

Jingguo Yao

unread,
May 18, 2020, 12:16:43 PM5/18/20
to pdfium
I have the following two questions:

1. Does  Chrome built-in PDF viewer only use the APIs defined in the public directory?
2. Is a PDF file finally rendered as a HTML DOM by Chrome?

K. Moon

unread,
May 18, 2020, 12:36:36 PM5/18/20
to Jingguo Yao, pdfium
1. I don't believe that Chrome uses any non-public APIs, but I haven't checked exhaustively.
2. The PDF is rendered as a bitmap, not HTML.

--
You received this message because you are subscribed to the Google Groups "pdfium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pdfium+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pdfium/2215df09-1f4a-472b-9efa-7ca275a41ed0%40googlegroups.com.

Lei Zhang

unread,
May 18, 2020, 12:43:07 PM5/18/20
to Jingguo Yao, pdfium
1. Yes. All of Chromium's PDFium usage is in pdf/pdfium, and
pdf/pdfium/DEPS only allows third_party/pdfium/public.

On Mon, May 18, 2020 at 9:16 AM Jingguo Yao <yaoji...@gmail.com> wrote:
>
Reply all
Reply to author
Forward
0 new messages