mirror of
https://github.com/red031000/nitrogfx.git
synced 2025-06-18 13:15:35 -04:00
21 lines
769 B
C
21 lines
769 B
C
// Copyright (c) 2015 YamaArashi
|
|
|
|
#ifndef FONT_H
|
|
#define FONT_H
|
|
|
|
#include <stdbool.h>
|
|
#include "gfx.h"
|
|
#include "options.h"
|
|
|
|
void ReadLatinFont(char *path, struct Image *image);
|
|
void WriteLatinFont(char *path, struct Image *image);
|
|
void ReadHalfwidthJapaneseFont(char *path, struct Image *image);
|
|
void WriteHalfwidthJapaneseFont(char *path, struct Image *image);
|
|
void ReadFullwidthJapaneseFont(char *path, struct Image *image);
|
|
void WriteFullwidthJapaneseFont(char *path, struct Image *image);
|
|
void ReadNtrFont(char *path, struct Image *image, struct NtrFontMetadata *metadata, bool useSubscreenPalette);
|
|
void WriteNtrFont(char *path, struct Image *image, struct NtrFontMetadata *metadata);
|
|
void FreeNtrFontMetadata(struct NtrFontMetadata *metadata);
|
|
|
|
#endif // FONT_H
|