// 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. #pragma once #include <cassert> #include "graphite2/Font.h" #include "inc/Main.h" #include "inc/Face.h" namespace graphite2 { #define INVALID_ADVANCE … class Font { … }; inline float Font::advance(unsigned short glyphid) const { … } inline float Font::scale() const { … } inline bool Font::isHinted() const { … } inline const Face & Font::face() const { … } } // namespace graphite2 struct gr_font : public graphite2::Font { … };