|
|
|
|
@ -43,7 +43,12 @@ auto MagnumFontConverter::doFeatures() const -> Features {
|
|
|
|
|
return Feature::ExportFont|Feature::ConvertData|Feature::MultiFile; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
std::vector<std::pair<std::string, Containers::Array<unsigned char>>> MagnumFontConverter::doExportFontToData(AbstractFont& font, GlyphCache& cache, const std::string& filename, const std::u32string& characters) const { |
|
|
|
|
#ifndef _WIN32 |
|
|
|
|
std::vector<std::pair<std::string, Containers::Array<unsigned char>>> MagnumFontConverter::doExportFontToData(AbstractFont& font, GlyphCache& cache, const std::string& filename, const std::u32string& characters) const |
|
|
|
|
#else |
|
|
|
|
std::vector<std::pair<std::string, Containers::Array<unsigned char>>> MagnumFontConverter::doExportFontToData(AbstractFont& font, GlyphCache& cache, const std::string& filename, const std::vector<char32_t>& characters) const |
|
|
|
|
#endif |
|
|
|
|
{ |
|
|
|
|
Utility::Configuration configuration; |
|
|
|
|
|
|
|
|
|
configuration.setValue("version", 1); |
|
|
|
|
|