chromium/third_party/skia/src/ports/SkTypeface_FreeType.h

/*
 * Copyright 2006-2012 The Android Open Source Project
 * Copyright 2012 Mozilla Foundation
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifndef SkTypeface_Freetype_DEFINED
#define SkTypeface_Freetype_DEFINED

#include "include/core/SkSpan.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/private/base/SkFixed.h"
#include "include/private/base/SkMutex.h"
#include "include/private/base/SkNoncopyable.h"
#include "include/private/base/SkTArray.h"
#include "src/base/SkSharedMutex.h"
#include "src/core/SkFontScanner.h"
#include "src/utils/SkCharToGlyphCache.h"

class SkFontData;

// These are forward declared to avoid pimpl but also hide the FreeType implementation.
FT_Library;
FT_Face;
FT_Stream;
FT_Pos;
FT_BBox;

class SkTypeface_FreeType : public SkTypeface {};

class SkTypeface_FreeTypeStream : public SkTypeface_FreeType {};

class SkFontScanner_FreeType : public SkFontScanner {};

#endif // SkTypeface_Freetype_DEFINED