chromium/third_party/pdfium/core/fxge/freetype/fx_freetype.cpp

// Copyright 2014 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/fxge/freetype/fx_freetype.h"

#include <stdint.h>

#include "core/fxcrt/compiler_specific.h"
#include "core/fxge/cfx_fontmgr.h"
#include "core/fxge/cfx_gemodule.h"

#define DEFINE_PS_TABLES
#include "third_party/freetype/include/pstables.h"

namespace {

constexpr uint32_t kVariantBit =;

bool SearchNode(pdfium::span<const uint8_t> glyph_span,
                pdfium::span<char> name_buf,
                int name_offset,
                int table_offset,
                wchar_t unicode) {}

FT_MM_Var* GetVariationDescriptor(FXFT_FaceRec* face) {}

pdfium::span<const FT_Var_Axis> GetVariationAxis(
    const FT_MM_Var* variation_desc) {}

}  // namespace

void FXFTMMVarDeleter::operator()(FT_MM_Var* variation_desc) {}

ScopedFXFTMMVar::ScopedFXFTMMVar(FXFT_FaceRec* face)
    :{}

ScopedFXFTMMVar::~ScopedFXFTMMVar() = default;

FT_Pos ScopedFXFTMMVar::GetAxisDefault(size_t index) const {}

FT_Long ScopedFXFTMMVar::GetAxisMin(size_t index) const {}

FT_Long ScopedFXFTMMVar::GetAxisMax(size_t index) const {}

int FXFT_unicode_from_adobe_name(const char* glyph_name) {}

void FXFT_adobe_name_from_unicode(pdfium::span<char> name_buf,
                                  wchar_t unicode) {}