GRAYBYTE WORDPRESS FILE MANAGER1400

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/include/freetype2/freetype/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/include/freetype2/freetype//ftpfr.h
/***************************************************************************/
/*                                                                         */
/*  ftpfr.h                                                                */
/*                                                                         */
/*    FreeType API for accessing PFR-specific data (specification only).   */
/*                                                                         */
/*  Copyright 2002-2018 by                                                 */
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
/*                                                                         */
/*  This file is part of the FreeType project, and may only be used,       */
/*  modified, and distributed under the terms of the FreeType project      */
/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
/*  this file you indicate that you have read the license and              */
/*  understand and accept it fully.                                        */
/*                                                                         */
/***************************************************************************/


#ifndef FTPFR_H_
#define FTPFR_H_

#include <ft2build.h>
#include FT_FREETYPE_H

#ifdef FREETYPE_H
#error "freetype.h of FreeType 1 has been loaded!"
#error "Please fix the directory search order for header files"
#error "so that freetype.h of FreeType 2 is found first."
#endif


FT_BEGIN_HEADER


  /*************************************************************************/
  /*                                                                       */
  /* <Section>                                                             */
  /*    pfr_fonts                                                          */
  /*                                                                       */
  /* <Title>                                                               */
  /*    PFR Fonts                                                          */
  /*                                                                       */
  /* <Abstract>                                                            */
  /*    PFR/TrueDoc specific API.                                          */
  /*                                                                       */
  /* <Description>                                                         */
  /*    This section contains the declaration of PFR-specific functions.   */
  /*                                                                       */
  /*************************************************************************/


 /**********************************************************************
  *
  * @function:
  *    FT_Get_PFR_Metrics
  *
  * @description:
  *    Return the outline and metrics resolutions of a given PFR face.
  *
  * @input:
  *    face :: Handle to the input face.  It can be a non-PFR face.
  *
  * @output:
  *    aoutline_resolution ::
  *      Outline resolution.  This is equivalent to `face->units_per_EM'
  *      for non-PFR fonts.  Optional (parameter can be NULL).
  *
  *    ametrics_resolution ::
  *      Metrics resolution.  This is equivalent to `outline_resolution'
  *      for non-PFR fonts.  Optional (parameter can be NULL).
  *
  *    ametrics_x_scale ::
  *      A 16.16 fixed-point number used to scale distance expressed
  *      in metrics units to device subpixels.  This is equivalent to
  *      `face->size->x_scale', but for metrics only.  Optional (parameter
  *      can be NULL).
  *
  *    ametrics_y_scale ::
  *      Same as `ametrics_x_scale' but for the vertical direction.
  *      optional (parameter can be NULL).
  *
  * @return:
  *    FreeType error code.  0~means success.
  *
  * @note:
  *   If the input face is not a PFR, this function will return an error.
  *   However, in all cases, it will return valid values.
  */
  FT_EXPORT( FT_Error )
  FT_Get_PFR_Metrics( FT_Face    face,
                      FT_UInt   *aoutline_resolution,
                      FT_UInt   *ametrics_resolution,
                      FT_Fixed  *ametrics_x_scale,
                      FT_Fixed  *ametrics_y_scale );


 /**********************************************************************
  *
  * @function:
  *    FT_Get_PFR_Kerning
  *
  * @description:
  *    Return the kerning pair corresponding to two glyphs in a PFR face.
  *    The distance is expressed in metrics units, unlike the result of
  *    @FT_Get_Kerning.
  *
  * @input:
  *    face  :: A handle to the input face.
  *
  *    left  :: Index of the left glyph.
  *
  *    right :: Index of the right glyph.
  *
  * @output:
  *    avector :: A kerning vector.
  *
  * @return:
  *    FreeType error code.  0~means success.
  *
  * @note:
  *    This function always return distances in original PFR metrics
  *    units.  This is unlike @FT_Get_Kerning with the @FT_KERNING_UNSCALED
  *    mode, which always returns distances converted to outline units.
  *
  *    You can use the value of the `x_scale' and `y_scale' parameters
  *    returned by @FT_Get_PFR_Metrics to scale these to device subpixels.
  */
  FT_EXPORT( FT_Error )
  FT_Get_PFR_Kerning( FT_Face     face,
                      FT_UInt     left,
                      FT_UInt     right,
                      FT_Vector  *avector );


 /**********************************************************************
  *
  * @function:
  *    FT_Get_PFR_Advance
  *
  * @description:
  *    Return a given glyph advance, expressed in original metrics units,
  *    from a PFR font.
  *
  * @input:
  *    face   :: A handle to the input face.
  *
  *    gindex :: The glyph index.
  *
  * @output:
  *    aadvance :: The glyph advance in metrics units.
  *
  * @return:
  *    FreeType error code.  0~means success.
  *
  * @note:
  *    You can use the `x_scale' or `y_scale' results of @FT_Get_PFR_Metrics
  *    to convert the advance to device subpixels (i.e., 1/64th of pixels).
  */
  FT_EXPORT( FT_Error )
  FT_Get_PFR_Advance( FT_Face   face,
                      FT_UInt   gindex,
                      FT_Pos   *aadvance );

  /* */


FT_END_HEADER

#endif /* FTPFR_H_ */


/* END */

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
January 01 1970 00:00:00
root / root
0
config
--
April 01 2025 16:48:15
root / root
0755
freetype.h
287.113 KB
May 01 2018 10:34:32
root / root
0644
ftadvanc.h
10.387 KB
April 22 2018 09:41:36
root / root
0644
ftbbox.h
5.111 KB
April 22 2018 09:41:36
root / root
0644
ftbdf.h
6.634 KB
April 22 2018 09:41:36
root / root
0644
ftbitmap.h
14.352 KB
April 22 2018 09:41:36
root / root
0644
ftbzip2.h
4.198 KB
April 22 2018 09:41:36
root / root
0644
ftcache.h
55.253 KB
April 22 2018 09:41:36
root / root
0644
ftchapters.h
9.61 KB
April 22 2018 09:41:36
root / root
0644
ftcid.h
5.518 KB
April 22 2018 09:41:36
root / root
0644
ftdriver.h
46.899 KB
April 22 2018 09:41:36
root / root
0644
fterrdef.h
14.211 KB
April 22 2018 09:41:36
root / root
0644
fterrors.h
11.103 KB
April 22 2018 09:41:36
root / root
0644
ftfntfmt.h
4.859 KB
April 22 2018 09:41:36
root / root
0644
ftgasp.h
4.709 KB
May 01 2018 18:33:46
root / root
0644
ftglyph.h
38.462 KB
April 22 2018 09:41:36
root / root
0644
ftgxval.h
13.076 KB
April 22 2018 09:41:36
root / root
0644
ftgzip.h
5.519 KB
April 22 2018 09:41:36
root / root
0644
ftimage.h
73.898 KB
April 22 2018 09:41:36
root / root
0644
ftincrem.h
10.797 KB
April 22 2018 09:41:36
root / root
0644
ftlcdfil.h
11.851 KB
April 22 2018 09:41:36
root / root
0644
ftlist.h
16.361 KB
April 22 2018 09:41:36
root / root
0644
ftlzw.h
4.148 KB
April 22 2018 09:41:36
root / root
0644
ftmac.h
16.735 KB
April 22 2018 09:41:36
root / root
0644
ftmm.h
40.37 KB
April 22 2018 09:41:36
root / root
0644
ftmodapi.h
37.118 KB
April 22 2018 09:41:36
root / root
0644
ftmoderr.h
10.173 KB
April 22 2018 09:41:36
root / root
0644
ftotval.h
7.411 KB
April 22 2018 09:41:36
root / root
0644
ftoutln.h
34.898 KB
April 22 2018 09:41:36
root / root
0644
ftparams.h
6.165 KB
April 22 2018 09:41:36
root / root
0644
ftpfr.h
6.131 KB
April 22 2018 09:41:36
root / root
0644
ftrender.h
11.055 KB
April 22 2018 09:41:36
root / root
0644
ftsizes.h
9.328 KB
April 22 2018 09:41:36
root / root
0644
ftsnames.h
15.361 KB
April 22 2018 09:41:36
root / root
0644
ftstroke.h
21.771 KB
April 22 2018 09:41:36
root / root
0644
ftsynth.h
4.026 KB
April 22 2018 09:41:36
root / root
0644
ftsystem.h
10.307 KB
April 22 2018 09:41:36
root / root
0644
fttrigon.h
8.227 KB
April 22 2018 09:41:36
root / root
0644
fttypes.h
34.847 KB
April 22 2018 09:41:36
root / root
0644
ftwinfnt.h
10.158 KB
April 22 2018 09:41:36
root / root
0644
t1tables.h
34.695 KB
April 22 2018 09:41:36
root / root
0644
ttnameid.h
58.545 KB
April 22 2018 09:41:36
root / root
0644
tttables.h
44.645 KB
April 22 2018 09:41:36
root / root
0644
tttags.h
5.503 KB
April 22 2018 09:41:36
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF