Index: src/sfnt/pngshim.h |
diff --git a/src/sfnt/ttbdf.h b/src/sfnt/pngshim.h |
similarity index 60% |
copy from src/sfnt/ttbdf.h |
copy to src/sfnt/pngshim.h |
index 48a10d6e9b3738dd16281c750f0f18c49c5152b0..8a2e69ccf9f9d77bb9700fb8ddfee09b36736123 100644 |
--- a/src/sfnt/ttbdf.h |
+++ b/src/sfnt/pngshim.h |
@@ -1,11 +1,11 @@ |
/***************************************************************************/ |
/* */ |
-/* ttbdf.h */ |
+/* pngshim.h */ |
/* */ |
-/* TrueType and OpenType embedded BDF properties (specification). */ |
+/* PNG Bitmap glyph support. */ |
/* */ |
-/* Copyright 2005 by */ |
-/* David Turner, Robert Wilhelm, and Werner Lemberg. */ |
+/* Copyright 2013 by Google, Inc. */ |
+/* Written by Stuart Gill and Behdad Esfahbod. */ |
/* */ |
/* This file is part of the FreeType project, and may only be used, */ |
/* modified, and distributed under the terms of the FreeType project */ |
@@ -16,31 +16,33 @@ |
/***************************************************************************/ |
-#ifndef __TTBDF_H__ |
-#define __TTBDF_H__ |
+#ifndef __PNGSHIM_H__ |
+#define __PNGSHIM_H__ |
#include <ft2build.h> |
#include "ttload.h" |
-#include FT_BDF_H |
FT_BEGIN_HEADER |
- |
- FT_LOCAL( void ) |
- tt_face_free_bdf_props( TT_Face face ); |
- |
+#ifdef FT_CONFIG_OPTION_USE_PNG |
FT_LOCAL( FT_Error ) |
- tt_face_find_bdf_prop( TT_Face face, |
- const char* property_name, |
- BDF_PropertyRec *aprop ); |
+ Load_SBit_Png( FT_Bitmap* map, |
+ FT_Int x_offset, |
+ FT_Int y_offset, |
+ FT_Int pix_bits, |
+ TT_SBit_Metrics metrics, |
+ FT_Memory memory, |
+ FT_Byte* data, |
+ FT_UInt png_len ); |
+#endif |
FT_END_HEADER |
-#endif /* __TTBDF_H__ */ |
+#endif /* __PNGSHIM_H__ */ |
/* END */ |