src/java.desktop/share/native/libfreetype/include/freetype/ftsynth.h
changeset 54876 da3834261f0c
parent 49234 3375a8039fde
equal deleted inserted replaced
54875:bcfedddcf4ce 54876:da3834261f0c
     1 /***************************************************************************/
     1 /****************************************************************************
     2 /*                                                                         */
     2  *
     3 /*  ftsynth.h                                                              */
     3  * ftsynth.h
     4 /*                                                                         */
     4  *
     5 /*    FreeType synthesizing code for emboldening and slanting              */
     5  *   FreeType synthesizing code for emboldening and slanting
     6 /*    (specification).                                                     */
     6  *   (specification).
     7 /*                                                                         */
     7  *
     8 /*  Copyright 2000-2018 by                                                 */
     8  * Copyright (C) 2000-2019 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 
    19 
    19 
    20   /*************************************************************************/
    20   /*************************************************************************/
    21   /*************************************************************************/
    21   /*************************************************************************/
    22   /*************************************************************************/
    22   /*************************************************************************/
    33   /*************************************************************************/
    33   /*************************************************************************/
    34   /*************************************************************************/
    34   /*************************************************************************/
    35 
    35 
    36 
    36 
    37   /* Main reason for not lifting the functions in this module to a  */
    37   /* Main reason for not lifting the functions in this module to a  */
    38   /* `standard' API is that the used parameters for emboldening and */
    38   /* 'standard' API is that the used parameters for emboldening and */
    39   /* slanting are not configurable.  Consider the functions as a    */
    39   /* slanting are not configurable.  Consider the functions as a    */
    40   /* code resource that should be copied into the application and   */
    40   /* code resource that should be copied into the application and   */
    41   /* adapted to the particular needs.                               */
    41   /* adapted to the particular needs.                               */
    42 
    42 
    43 
    43 
    55 #endif
    55 #endif
    56 
    56 
    57 
    57 
    58 FT_BEGIN_HEADER
    58 FT_BEGIN_HEADER
    59 
    59 
    60   /* Embolden a glyph by a `reasonable' value (which is highly a matter of */
    60   /* Embolden a glyph by a 'reasonable' value (which is highly a matter of */
    61   /* taste).  This function is actually a convenience function, providing  */
    61   /* taste).  This function is actually a convenience function, providing  */
    62   /* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden.           */
    62   /* a wrapper for @FT_Outline_Embolden and @FT_Bitmap_Embolden.           */
    63   /*                                                                       */
    63   /*                                                                       */
    64   /* For emboldened outlines the height, width, and advance metrics are    */
    64   /* For emboldened outlines the height, width, and advance metrics are    */
    65   /* increased by the strength of the emboldening -- this even affects     */
    65   /* increased by the strength of the emboldening -- this even affects     */