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

Side by Side 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 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 unified diff | Download patch
« no previous file with comments | « src/raster/rastpic.c ('k') | src/sfnt/pngshim.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /***************************************************************************/ 1 /***************************************************************************/
2 /* */ 2 /* */
3 /* ttbdf.h */ 3 /* pngshim.h */
4 /* */ 4 /* */
5 /* TrueType and OpenType embedded BDF properties (specification). */ 5 /* PNG Bitmap glyph support. */
6 /* */ 6 /* */
7 /* Copyright 2005 by */ 7 /* Copyright 2013 by Google, Inc. */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 8 /* Written by Stuart Gill and Behdad Esfahbod. */
9 /* */ 9 /* */
10 /* This file is part of the FreeType project, and may only be used, */ 10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */ 11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */ 13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */ 14 /* understand and accept it fully. */
15 /* */ 15 /* */
16 /***************************************************************************/ 16 /***************************************************************************/
17 17
18 18
19 #ifndef __TTBDF_H__ 19 #ifndef __PNGSHIM_H__
20 #define __TTBDF_H__ 20 #define __PNGSHIM_H__
21 21
22 22
23 #include <ft2build.h> 23 #include <ft2build.h>
24 #include "ttload.h" 24 #include "ttload.h"
25 #include FT_BDF_H
26 25
27 26
28 FT_BEGIN_HEADER 27 FT_BEGIN_HEADER
29 28
30 29 #ifdef FT_CONFIG_OPTION_USE_PNG
31 FT_LOCAL( void )
32 tt_face_free_bdf_props( TT_Face face );
33
34 30
35 FT_LOCAL( FT_Error ) 31 FT_LOCAL( FT_Error )
36 tt_face_find_bdf_prop( TT_Face face, 32 Load_SBit_Png( FT_Bitmap* map,
37 const char* property_name, 33 FT_Int x_offset,
38 BDF_PropertyRec *aprop ); 34 FT_Int y_offset,
35 FT_Int pix_bits,
36 TT_SBit_Metrics metrics,
37 FT_Memory memory,
38 FT_Byte* data,
39 FT_UInt png_len );
39 40
41 #endif
40 42
41 FT_END_HEADER 43 FT_END_HEADER
42 44
43 #endif /* __TTBDF_H__ */ 45 #endif /* __PNGSHIM_H__ */
44 46
45 47
46 /* END */ 48 /* END */
OLDNEW
« 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