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

Side by Side Diff: include/freetype/internal/pshints.h

Issue 23555005: Update freetype to the latest version of Android external/freetype (Closed) Base URL: https://chromium.googlesource.com/chromium/src/third_party/freetype.git@master
Patch Set: Created 7 years, 3 months 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 | « include/freetype/internal/ftstream.h ('k') | include/freetype/internal/services/svbdf.h » ('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 /* pshints.h */ 3 /* pshints.h */
4 /* */ 4 /* */
5 /* Interface to Postscript-specific (Type 1 and Type 2) hints */ 5 /* Interface to Postscript-specific (Type 1 and Type 2) hints */
6 /* recorders (specification only). These are used to support native */ 6 /* recorders (specification only). These are used to support native */
7 /* T1/T2 hints in the `type1', `cid', and `cff' font drivers. */ 7 /* T1/T2 hints in the `type1', `cid', and `cff' font drivers. */
8 /* */ 8 /* */
9 /* Copyright 2001, 2002, 2003, 2005, 2006, 2007, 2009 by */ 9 /* Copyright 2001, 2002, 2003, 2005, 2006, 2007, 2009 by */
10 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 10 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 681
682 #ifndef FT_CONFIG_OPTION_PIC 682 #ifndef FT_CONFIG_OPTION_PIC
683 683
684 #define FT_DEFINE_PSHINTER_INTERFACE(class_, get_globals_funcs_, \ 684 #define FT_DEFINE_PSHINTER_INTERFACE(class_, get_globals_funcs_, \
685 get_t1_funcs_, get_t2_funcs_) \ 685 get_t1_funcs_, get_t2_funcs_) \
686 static const PSHinter_Interface class_ = \ 686 static const PSHinter_Interface class_ = \
687 { \ 687 { \
688 get_globals_funcs_, get_t1_funcs_, get_t2_funcs_ \ 688 get_globals_funcs_, get_t1_funcs_, get_t2_funcs_ \
689 }; 689 };
690 690
691 #else /* FT_CONFIG_OPTION_PIC */ 691 #else /* FT_CONFIG_OPTION_PIC */
692 692
693 #define FT_DEFINE_PSHINTER_INTERFACE(class_, get_globals_funcs_, \ 693 #define FT_DEFINE_PSHINTER_INTERFACE(class_, get_globals_funcs_, \
694 get_t1_funcs_, get_t2_funcs_) \ 694 get_t1_funcs_, get_t2_funcs_) \
695 void \ 695 void \
696 FT_Init_Class_##class_( FT_Library library, \ 696 FT_Init_Class_##class_( FT_Library library, \
697 PSHinter_Interface* clazz) \ 697 PSHinter_Interface* clazz) \
698 { \ 698 { \
699 FT_UNUSED(library); \ 699 FT_UNUSED(library); \
700 clazz->get_globals_funcs = get_globals_funcs_; \ 700 clazz->get_globals_funcs = get_globals_funcs_; \
701 clazz->get_t1_funcs = get_t1_funcs_; \ 701 clazz->get_t1_funcs = get_t1_funcs_; \
702 clazz->get_t2_funcs = get_t2_funcs_; \ 702 clazz->get_t2_funcs = get_t2_funcs_; \
703 } 703 }
704 704
705 #endif /* FT_CONFIG_OPTION_PIC */ 705 #endif /* FT_CONFIG_OPTION_PIC */
706 706
707 FT_END_HEADER 707 FT_END_HEADER
708 708
709 #endif /* __PSHINTS_H__ */ 709 #endif /* __PSHINTS_H__ */
710 710
711 711
712 /* END */ 712 /* END */
OLDNEW
« no previous file with comments | « include/freetype/internal/ftstream.h ('k') | include/freetype/internal/services/svbdf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698