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

Side by Side Diff: include/freetype/tttables.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 | « include/freetype/ttnameid.h ('k') | include/freetype/tttags.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 /* tttables.h */ 3 /* tttables.h */
4 /* */ 4 /* */
5 /* Basic SFNT/TrueType tables definitions and interface */ 5 /* Basic SFNT/TrueType tables definitions and interface */
6 /* (specification only). */ 6 /* (specification only). */
7 /* */ 7 /* */
8 /* Copyright 1996-2005, 2008-2011 by */ 8 /* Copyright 1996-2005, 2008-2012 by */
9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */ 9 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* */ 10 /* */
11 /* This file is part of the FreeType project, and may only be used, */ 11 /* This file is part of the FreeType project, and may only be used, */
12 /* modified, and distributed under the terms of the FreeType project */ 12 /* modified, and distributed under the terms of the FreeType project */
13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */ 13 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
14 /* this file you indicate that you have read the license and */ 14 /* this file you indicate that you have read the license and */
15 /* understand and accept it fully. */ 15 /* understand and accept it fully. */
16 /* */ 16 /* */
17 /***************************************************************************/ 17 /***************************************************************************/
18 18
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 /* Use a typecast according to `tag' to access the structure */ 593 /* Use a typecast according to `tag' to access the structure */
594 /* elements. */ 594 /* elements. */
595 /* */ 595 /* */
596 /* <Note> */ 596 /* <Note> */
597 /* The table is owned by the face object and disappears with it. */ 597 /* The table is owned by the face object and disappears with it. */
598 /* */ 598 /* */
599 /* This function is only useful to access SFNT tables that are loaded */ 599 /* This function is only useful to access SFNT tables that are loaded */
600 /* by the sfnt, truetype, and opentype drivers. See @FT_Sfnt_Tag for */ 600 /* by the sfnt, truetype, and opentype drivers. See @FT_Sfnt_Tag for */
601 /* a list. */ 601 /* a list. */
602 /* */ 602 /* */
603 /* Here an example how to access the `vhea' table: */
604 /* */
605 /* { */
606 /* TT_VertHeader* vert_header; */
607 /* */
608 /* */
609 /* vert_header = */
610 /* (TT_VertHeader*)FT_Get_Sfnt_Table( face, ft_sfnt_vhea ); */
611 /* } */
612 /* */
603 FT_EXPORT( void* ) 613 FT_EXPORT( void* )
604 FT_Get_Sfnt_Table( FT_Face face, 614 FT_Get_Sfnt_Table( FT_Face face,
605 FT_Sfnt_Tag tag ); 615 FT_Sfnt_Tag tag );
606 616
607 617
608 /************************************************************************** 618 /**************************************************************************
609 * 619 *
610 * @function: 620 * @function:
611 * FT_Load_Sfnt_Table 621 * FT_Load_Sfnt_Table
612 * 622 *
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
695 * 705 *
696 * @output: 706 * @output:
697 * length :: 707 * length ::
698 * The length of the SFNT table (or the number of SFNT tables, depending 708 * The length of the SFNT table (or the number of SFNT tables, depending
699 * on `tag'). 709 * on `tag').
700 * 710 *
701 * @return: 711 * @return:
702 * FreeType error code. 0~means success. 712 * FreeType error code. 0~means success.
703 * 713 *
704 * @note: 714 * @note:
705 * SFNT tables with length zero are treated as missing. 715 * While parsing fonts, FreeType handles SFNT tables with length zero as
716 * missing.
706 * 717 *
707 */ 718 */
708 FT_EXPORT( FT_Error ) 719 FT_EXPORT( FT_Error )
709 FT_Sfnt_Table_Info( FT_Face face, 720 FT_Sfnt_Table_Info( FT_Face face,
710 FT_UInt table_index, 721 FT_UInt table_index,
711 FT_ULong *tag, 722 FT_ULong *tag,
712 FT_ULong *length ); 723 FT_ULong *length );
713 724
714 725
715 /*************************************************************************/ 726 /*************************************************************************/
716 /* */ 727 /* */
717 /* <Function> */ 728 /* <Function> */
718 /* FT_Get_CMap_Language_ID */ 729 /* FT_Get_CMap_Language_ID */
719 /* */ 730 /* */
720 /* <Description> */ 731 /* <Description> */
721 /* Return TrueType/sfnt specific cmap language ID. Definitions of */ 732 /* Return TrueType/sfnt specific cmap language ID. Definitions of */
722 /* language ID values are in `freetype/ttnameid.h'. */ 733 /* language ID values are in `freetype/ttnameid.h'. */
723 /* */ 734 /* */
724 /* <Input> */ 735 /* <Input> */
725 /* charmap :: */ 736 /* charmap :: */
726 /* The target charmap. */ 737 /* The target charmap. */
727 /* */ 738 /* */
728 /* <Return> */ 739 /* <Return> */
729 /* The language ID of `charmap'. If `charmap' doesn't belong to a */ 740 /* The language ID of `charmap'. If `charmap' doesn't belong to a */
730 /* TrueType/sfnt face, just return~0 as the default value. */ 741 /* TrueType/sfnt face, just return~0 as the default value. */
731 /* */ 742 /* */
743 /* For a format~14 cmap (to access Unicode IVS), the return value is */
744 /* 0xFFFFFFFF. */
745 /* */
732 FT_EXPORT( FT_ULong ) 746 FT_EXPORT( FT_ULong )
733 FT_Get_CMap_Language_ID( FT_CharMap charmap ); 747 FT_Get_CMap_Language_ID( FT_CharMap charmap );
734 748
735 749
736 /*************************************************************************/ 750 /*************************************************************************/
737 /* */ 751 /* */
738 /* <Function> */ 752 /* <Function> */
739 /* FT_Get_CMap_Format */ 753 /* FT_Get_CMap_Format */
740 /* */ 754 /* */
741 /* <Description> */ 755 /* <Description> */
(...skipping 12 matching lines...) Expand all
754 768
755 /* */ 769 /* */
756 770
757 771
758 FT_END_HEADER 772 FT_END_HEADER
759 773
760 #endif /* __TTTABLES_H__ */ 774 #endif /* __TTTABLES_H__ */
761 775
762 776
763 /* END */ 777 /* END */
OLDNEW
« no previous file with comments | « include/freetype/ttnameid.h ('k') | include/freetype/tttags.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698