pdfium_font_linux.h 638 B

12345678910111213141516171819
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef PDF_PDFIUM_PDFIUM_FONT_LINUX_H_
  5. #define PDF_PDFIUM_PDFIUM_FONT_LINUX_H_
  6. namespace chrome_pdf {
  7. // Initializes a Linux-specific font mapper.
  8. // This is necessary because font loading does not work in the sandbox on Linux.
  9. // Depending on how this process is initialized, it either:
  10. // a) sends font requests to Blink.
  11. // b) proxies font requests via PPAPI.
  12. void InitializeLinuxFontMapper();
  13. } // namespace chrome_pdf
  14. #endif // PDF_PDFIUM_PDFIUM_FONT_LINUX_H_