blob: 0eedf196ffe27d7fb30a9448d89e41725de57f95 [file] [log] [blame]
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_SERVICES_FONT_PPAPI_FONTCONFIG_MATCHING_H_
#define COMPONENTS_SERVICES_FONT_PPAPI_FONTCONFIG_MATCHING_H_
#include <stdint.h>
#include "base/macros.h"
#include "build/build_config.h"
#include "ppapi/buildflags/buildflags.h"
#include <string>
#if !BUILDFLAG(ENABLE_PLUGINS)
#error "Plugins should be enabled when including " ## __FILE__
#endif
namespace font_service {
int MatchFontFaceWithFallback(const std::string& face,
bool is_bold,
bool is_italic,
uint32_t charset,
uint32_t fallback_family);
} // namespace font_service
#endif // COMPONENTS_SERVICES_FONT_PPAPI_FONTCONFIG_MATCHING_H_