src/java.desktop/share/native/libfreetype/include/freetype/ftfntfmt.h
changeset 54876 da3834261f0c
parent 49234 3375a8039fde
equal deleted inserted replaced
54875:bcfedddcf4ce 54876:da3834261f0c
     1 /***************************************************************************/
     1 /****************************************************************************
     2 /*                                                                         */
     2  *
     3 /*  ftfntfmt.h                                                             */
     3  * ftfntfmt.h
     4 /*                                                                         */
     4  *
     5 /*    Support functions for font formats.                                  */
     5  *   Support functions for font formats.
     6 /*                                                                         */
     6  *
     7 /*  Copyright 2002-2018 by                                                 */
     7  * Copyright (C) 2002-2019 by
     8 /*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
     8  * David Turner, Robert Wilhelm, and Werner Lemberg.
     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 FTFNTFMT_H_
    19 #ifndef FTFNTFMT_H_
    20 #define FTFNTFMT_H_
    20 #define FTFNTFMT_H_
    21 
    21 
    30 
    30 
    31 
    31 
    32 FT_BEGIN_HEADER
    32 FT_BEGIN_HEADER
    33 
    33 
    34 
    34 
    35   /*************************************************************************/
    35   /**************************************************************************
    36   /*                                                                       */
    36    *
    37   /* <Section>                                                             */
    37    * @section:
    38   /*   font_formats                                                        */
    38    *  font_formats
    39   /*                                                                       */
    39    *
    40   /* <Title>                                                               */
    40    * @title:
    41   /*   Font Formats                                                        */
    41    *  Font Formats
    42   /*                                                                       */
    42    *
    43   /* <Abstract>                                                            */
    43    * @abstract:
    44   /*   Getting the font format.                                            */
    44    *  Getting the font format.
    45   /*                                                                       */
    45    *
    46   /* <Description>                                                         */
    46    * @description:
    47   /*   The single function in this section can be used to get the font     */
    47    *  The single function in this section can be used to get the font format.
    48   /*   format.  Note that this information is not needed normally;         */
    48    *  Note that this information is not needed normally; however, there are
    49   /*   however, there are special cases (like in PDF devices) where it is  */
    49    *  special cases (like in PDF devices) where it is important to
    50   /*   important to differentiate, in spite of FreeType's uniform API.     */
    50    *  differentiate, in spite of FreeType's uniform API.
    51   /*                                                                       */
    51    *
    52   /*************************************************************************/
    52    */
    53 
    53 
    54 
    54 
    55   /*************************************************************************/
    55   /**************************************************************************
    56   /*                                                                       */
    56    *
    57   /* <Function>                                                            */
    57    * @function:
    58   /*   FT_Get_Font_Format                                                  */
    58    *  FT_Get_Font_Format
    59   /*                                                                       */
    59    *
    60   /* <Description>                                                         */
    60    * @description:
    61   /*   Return a string describing the format of a given face.  Possible    */
    61    *  Return a string describing the format of a given face.  Possible values
    62   /*   values are `TrueType', `Type~1', `BDF', `PCF', `Type~42',           */
    62    *  are 'TrueType', 'Type~1', 'BDF', 'PCF', 'Type~42', 'CID~Type~1', 'CFF',
    63   /*   `CID~Type~1', `CFF', `PFR', and `Windows~FNT'.                      */
    63    *  'PFR', and 'Windows~FNT'.
    64   /*                                                                       */
    64    *
    65   /*   The return value is suitable to be used as an X11 FONT_PROPERTY.    */
    65    *  The return value is suitable to be used as an X11 FONT_PROPERTY.
    66   /*                                                                       */
    66    *
    67   /* <Input>                                                               */
    67    * @input:
    68   /*   face ::                                                             */
    68    *  face ::
    69   /*     Input face handle.                                                */
    69    *    Input face handle.
    70   /*                                                                       */
    70    *
    71   /* <Return>                                                              */
    71    * @return:
    72   /*   Font format string.  NULL in case of error.                         */
    72    *  Font format string.  `NULL` in case of error.
    73   /*                                                                       */
    73    *
    74   /* <Note>                                                                */
    74    * @note:
    75   /*   A deprecated name for the same function is                          */
    75    *  A deprecated name for the same function is `FT_Get_X11_Font_Format`.
    76   /*   `FT_Get_X11_Font_Format'.                                           */
    76    */
    77   /*                                                                       */
       
    78   FT_EXPORT( const char* )
    77   FT_EXPORT( const char* )
    79   FT_Get_Font_Format( FT_Face  face );
    78   FT_Get_Font_Format( FT_Face  face );
    80 
    79 
    81 
    80 
    82   /* deprecated */
    81   /* deprecated */