#pragma once #ifndef MSDF_ATLAS_NO_ARTERY_FONT #include #include #include "types.h" #include "FontGeometry.h" namespace msdf_atlas { struct ArteryFontExportProperties { double fontSize; double pxRange; ImageType imageType; ImageFormat imageFormat; YDirection yDirection; }; /// Encodes the atlas bitmap and its layout into an Artery Atlas Font file template bool exportArteryFont(const FontGeometry *fonts, int fontCount, const msdfgen::BitmapConstRef &atlas, const char *filename, const ArteryFontExportProperties &properties); } #endif