diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-17 17:49:27 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-07-17 17:49:27 (EDT) |
commit | e0a9d32f969a384dcace05531a244aa84bb06595 (patch) | |
tree | 85074db40ed4d25888af9a2f8d93cd7d8a800cb8 /src/font.h | |
parent | ebcbcbbb38bb9e8caee0197575bbe97f28e40b1d (diff) |
font_find(): New function
Diffstat (limited to 'src/font.h')
-rw-r--r-- | src/font.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/font.h b/src/font.h new file mode 100644 index 0000000..cf9276a --- /dev/null +++ b/src/font.h @@ -0,0 +1,32 @@ +/* + * Font lookup and rendering functions + * + * Copyright (C) 2019 Patrick McDermott + * + * This file is part of fbcon2png. + * + * fbcon2png is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * fbcon2png is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with fbcon2png. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef FONT_H +#define FONT_H + +#include <png.h> + +#include <linux/font.h> + +struct font * +font_find(const char *name) __attribute__((pure)); + +#endif /* FONT_H */ |