Lines Matching refs:font_path
29 CALLER_ATTACH Font* LoadFont(const char* font_path) {
33 LoadFonts(font_path, font_factory, &fonts);
37 CALLER_ATTACH Font::Builder* LoadFontBuilder(const char* font_path) {
41 LoadFontBuilders(font_path, font_factory, &builders);
45 void LoadFonts(const char* font_path, FontFactory* factory, FontArray* fonts) {
47 input_stream.Open(font_path);
52 void LoadFontBuilders(const char* font_path,
56 input_stream.Open(font_path);
61 bool SerializeFont(const char* font_path, Font* font) {
62 if (!font_path)
66 return SerializeFont(font_path, font_factory, font);
69 bool SerializeFont(const char* font_path, FontFactory* factory, Font* font) {
70 if (!font_path || !factory || !font)
78 fopen_s(&output_file, font_path, "wb");
80 output_file = fopen(font_path, "wb");