You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
564 B
31 lines
564 B
#pragma once |
|
|
|
/* |
|
* SPDX-FileCopyrightText: 2003-2009 Craig Drummond <craig@kde.org> |
|
* SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
#include "Family.h" |
|
#include <QString> |
|
|
|
namespace KFI |
|
{ |
|
namespace Utils |
|
{ |
|
enum EFileType { |
|
FILE_INVALID, |
|
FILE_BITMAP, |
|
FILE_SCALABLE, |
|
FILE_AFM, |
|
FILE_PFM, |
|
}; |
|
|
|
extern bool isAAfm(const QString &fname); |
|
extern bool isAPfm(const QString &fname); |
|
extern bool isAType1(const QString &fname); |
|
extern void createAfm(const QString &file, EFileType type); |
|
extern EFileType check(const QString &file, Family &fam); |
|
|
|
} |
|
|
|
}
|
|
|