Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Unified Diff: src/sfnt/pngshim.h

Issue 89753003: Update freetype to latest version of ASOP. (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/raster/rastpic.c ('k') | src/sfnt/pngshim.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
« no previous file with comments | « src/raster/rastpic.c ('k') | src/sfnt/pngshim.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698