chromium/third_party/pdfium/core/fpdfapi/font/cpdf_truetypefont.cpp

// Copyright 2016 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "core/fpdfapi/font/cpdf_truetypefont.h"

#include <algorithm>
#include <utility>

#include "core/fpdfapi/parser/cpdf_dictionary.h"
#include "core/fxge/fx_font.h"

namespace {

constexpr uint8_t kPrefix[4] =;

uint16_t GetGlyphIndexForMSSymbol(const RetainPtr<CFX_Face>& face,
                                  uint32_t charcode) {}

bool IsWinAnsiOrMacRomanEncoding(FontEncoding encoding) {}

}  // namespace

CPDF_TrueTypeFont::CPDF_TrueTypeFont(CPDF_Document* pDocument,
                                     RetainPtr<CPDF_Dictionary> pFontDict)
    :{}

CPDF_TrueTypeFont::~CPDF_TrueTypeFont() = default;

bool CPDF_TrueTypeFont::IsTrueTypeFont() const {}

const CPDF_TrueTypeFont* CPDF_TrueTypeFont::AsTrueTypeFont() const {}

CPDF_TrueTypeFont* CPDF_TrueTypeFont::AsTrueTypeFont() {}

bool CPDF_TrueTypeFont::Load() {}

void CPDF_TrueTypeFont::LoadGlyphMap() {}

bool CPDF_TrueTypeFont::HasAnyGlyphIndex() const {}

CPDF_TrueTypeFont::CharmapType CPDF_TrueTypeFont::DetermineCharmapType() const {}

FontEncoding CPDF_TrueTypeFont::DetermineEncoding() const {}

void CPDF_TrueTypeFont::SetGlyphIndicesFromFirstChar() {}