0
Files
src/pdf/pdfium/pdfium_font_linux.h
Lei Zhang 99d0aee8d1 Simplify PDF/Linux GetFontTable() function
Remove a parameter where the only caller always passes in 0. Along the
way, also update a comment that still mentions PPAPI.

Change-Id: I06dac2038c77eb041af11c508cc76bfbe5205b56
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5090312
Reviewed-by: Andy Phan <andyphan@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/heads/main@{#1234056}
2023-12-06 18:47:41 +00:00

17 lines
515 B
C++

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef PDF_PDFIUM_PDFIUM_FONT_LINUX_H_
#define PDF_PDFIUM_PDFIUM_FONT_LINUX_H_
namespace chrome_pdf {
// Initializes a Linux-specific font mapper that sends font requests to Blink.
// This is necessary because font loading does not work in the sandbox on Linux.
void InitializeLinuxFontMapper();
} // namespace chrome_pdf
#endif // PDF_PDFIUM_PDFIUM_FONT_LINUX_H_