ftglyph.h   ftglyph.h 
/************************************************************************** */ /************************************************************************** */
/* */ /* */
/* ftglyph.h */ /* ftglyph.h */
/* */ /* */
/* FreeType convenience functions to handle glyphs (specification). */ /* FreeType convenience functions to handle glyphs (specification). */
/* */ /* */
/* Copyright 1996-2001, 2002, 2003, 2006, 2008, 2009 by */ /* Copyright 1996-2003, 2006, 2008, 2009, 2011 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */ /* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */ /* */
/* This file is part of the FreeType project, and may only be used, */ /* This file is part of the FreeType project, and may only be used, */
/* modified, and distributed under the terms of the FreeType project */ /* modified, and distributed under the terms of the FreeType project */
/* license, LICENSE.TXT. By continuing to use, modify, or distribute */ /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
/* this file you indicate that you have read the license and */ /* this file you indicate that you have read the license and */
/* understand and accept it fully. */ /* understand and accept it fully. */
/* */ /* */
/************************************************************************** */ /************************************************************************** */
skipping to change at line 369 skipping to change at line 369
/* */ /* */
/* <Note> */ /* <Note> */
/* Coordinates are relative to the glyph origin, using the y~upwards */ /* Coordinates are relative to the glyph origin, using the y~upwards */
/* convention. */ /* convention. */
/* */ /* */
/* If the glyph has been loaded with @FT_LOAD_NO_SCALE, `bbox_mode' */ /* If the glyph has been loaded with @FT_LOAD_NO_SCALE, `bbox_mode' */
/* must be set to @FT_GLYPH_BBOX_UNSCALED to get unscaled font */ /* must be set to @FT_GLYPH_BBOX_UNSCALED to get unscaled font */
/* units in 26.6 pixel format. The value @FT_GLYPH_BBOX_SUBPIXELS */ /* units in 26.6 pixel format. The value @FT_GLYPH_BBOX_SUBPIXELS */
/* is another name for this constant. */ /* is another name for this constant. */
/* */ /* */
/* If the font is tricky and the glyph has been loaded with
*/
/* @FT_LOAD_NO_SCALE, the resulting CBox is meaningless. To get
*/
/* reasonable values for the CBox it is necessary to load the glyph
*/
/* at a large ppem value (so that the hinting instructions can
*/
/* properly shift and scale the subglyphs), then extracting the CBox
*/
/* which can be eventually converted back to font units.
*/
/*
*/
/* Note that the maximum coordinates are exclusive, which means that */ /* Note that the maximum coordinates are exclusive, which means that */
/* one can compute the width and height of the glyph image (be it in */ /* one can compute the width and height of the glyph image (be it in */
/* integer or 26.6 pixels) as: */ /* integer or 26.6 pixels) as: */
/* */ /* */
/* { */ /* { */
/* width = bbox.xMax - bbox.xMin; */ /* width = bbox.xMax - bbox.xMin; */
/* height = bbox.yMax - bbox.yMin; */ /* height = bbox.yMax - bbox.yMin; */
/* } */ /* } */
/* */ /* */
/* Note also that for 26.6 coordinates, if `bbox_mode' is set to */ /* Note also that for 26.6 coordinates, if `bbox_mode' is set to */
 End of changes. 2 change blocks. 
1 lines changed or deleted 15 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/