summaryrefslogtreecommitdiff
path: root/src/pk/pkdrivr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk/pkdrivr.h')
-rw-r--r--src/pk/pkdrivr.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/pk/pkdrivr.h b/src/pk/pkdrivr.h
new file mode 100644
index 000000000..001b35ba3
--- /dev/null
+++ b/src/pk/pkdrivr.h
@@ -0,0 +1,56 @@
+/****************************************************************************
+ *
+ * pkdrivr.h
+ *
+ * FreeType font driver for TeX's PK FONT files.
+ *
+ * Copyright 1996-2018 by
+ * David Turner, Robert Wilhelm, and Werner Lemberg.
+ *
+ * This file is part of the FreeType project, and may only be used,
+ * modified, and distributed under the terms of the FreeType project
+ * license, LICENSE.TXT. By continuing to use, modify, or distribute
+ * this file you indicate that you have read the license and
+ * understand and accept it fully.
+ *
+ */
+
+
+#ifndef PKDRIVR_H_
+#define PKDRIVR_H_
+
+#include <ft2build.h>
+#include FT_INTERNAL_DRIVER_H
+
+#include "pk.h"
+
+
+FT_BEGIN_HEADER
+
+ typedef struct PK_BitmapRec_
+ {
+ FT_UInt bbx_width, bbx_height;
+ FT_UInt off_x, off_y;
+ FT_UInt mv_x, mv_y;
+ FT_Byte *bitmap;
+ FT_UInt raster;
+
+ } PK_BitmapRec, *PK_Bitmap;
+
+ typedef struct PK_FaceRec_
+ {
+ FT_FaceRec root;
+ /* TO-DO */
+ } PK_FaceRec, *PK_Face;
+
+
+ FT_EXPORT_VAR( const FT_Driver_ClassRec ) pk_driver_class;
+
+
+FT_END_HEADER
+
+
+#endif /* PKDRIVR_H_ */
+
+
+/* END */