godot/thirdparty/graphite/src/FeatureMap.cpp

// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later
// Copyright 2010, SIL International, All rights reserved.

#include <cstring>

#include "inc/Main.h"
#include "inc/bits.h"
#include "inc/Endian.h"
#include "inc/FeatureMap.h"
#include "inc/FeatureVal.h"
#include "graphite2/Font.h"
#include "inc/TtfUtil.h"
#include <cstdlib>
#include "inc/Face.h"


usingnamespacegraphite2;

namespace
{
    static int cmpNameAndFeatures(const void *ap, const void *bp)
    {}

    const size_t    FEAT_HEADER     =,
                    FEATURE_SIZE    =,
                    FEATURE_SETTING_SIZE =;

    uint16 readFeatureSettings(const byte * p, FeatureSetting * s, size_t num_settings)
    {}
}

FeatureRef::FeatureRef(const Face & face,
    unsigned short & bits_offset, uint32 max_val,
    uint32 name, uint16 uiName, flags_t flags,
    FeatureSetting *settings, uint16 num_set) throw()
:{}

FeatureRef::~FeatureRef() throw()
{}

bool FeatureMap::readFeats(const Face & face)
{}

bool SillMap::readFace(const Face & face)
{}


bool SillMap::readSill(const Face & face)
{}


Features* SillMap::cloneFeatures(uint32 langname/*0 means default*/) const
{}



const FeatureRef *FeatureMap::findFeatureRef(uint32 name) const
{}

bool FeatureRef::applyValToFeature(uint32 val, Features & pDest) const
{}

uint32 FeatureRef::getFeatureVal(const Features& feats) const
{}