#include "modules/skottie/src/text/Font.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPath.h"
#include "include/core/SkRect.h"
#include "include/core/SkSize.h"
#include "include/core/SkTypeface.h"
#include "include/private/base/SkTFitsIn.h"
#include "include/private/base/SkTo.h"
#include "modules/skottie/src/SkottieJson.h"
#include "modules/skottie/src/SkottiePriv.h"
#include "modules/sksg/include/SkSGPath.h"
#include "modules/sksg/include/SkSGTransform.h"
#include "src/base/SkUTF.h"
#include "src/utils/SkJSON.h"
namespace skottie::internal {
bool CustomFont::Builder::parseGlyph(const AnimationBuilder* abuilder,
const skjson::ObjectValue& jchar) { … }
bool CustomFont::Builder::ParseGlyphPath(const skottie::internal::AnimationBuilder* abuilder,
const skjson::ObjectValue& jdata,
SkPath* path) { … }
sk_sp<sksg::RenderNode>
CustomFont::Builder::ParseGlyphComp(const AnimationBuilder* abuilder,
const skjson::ObjectValue& jdata,
SkSize* glyph_size) { … }
std::unique_ptr<CustomFont> CustomFont::Builder::detach() { … }
CustomFont::CustomFont(GlyphCompMap&& glyph_comps, sk_sp<SkTypeface> tf)
: … { … }
CustomFont::~CustomFont() = default;
sk_sp<sksg::RenderNode> CustomFont::GlyphCompMapper::getGlyphComp(const SkTypeface* tf,
SkGlyphID gid) const { … }
}