based on https://github.com/rillig/sfntly/blob/master/cpp/src/sample/subtly/utils.cc*/
| 662 | |
| 663 | /* based on https://github.com/rillig/sfntly/blob/master/cpp/src/sample/subtly/utils.cc*/ |
| 664 | void FontHelper::LoadFontFiles(const char* font_path, sfntly::FontFactory* factory, sfntly::FontArray* fonts) |
| 665 | { |
| 666 | sfntly::FileInputStream input_stream; |
| 667 | input_stream.Open(font_path); |
| 668 | factory->LoadFonts(&input_stream, fonts); |
| 669 | input_stream.Close(); |
| 670 | } |
| 671 | |
| 672 | /* based on https://github.com/rillig/sfntly/blob/master/cpp/src/sample/subtly/utils.cc*/ |
| 673 | bool FontHelper::SerializeFont(const char* font_path, sfntly::Font* font) |
nothing calls this directly
no outgoing calls
no test coverage detected