Formatting.
This commit is contained in:
parent
87f9bfc4ea
commit
7b33dca43c
|
@ -24,8 +24,8 @@ LATEST CHANGES BETWEEN 2.2.0 and 2.1.10
|
||||||
|
|
||||||
III. MISCELLANEOUS
|
III. MISCELLANEOUS
|
||||||
|
|
||||||
- The demo programs `ftview' and `ftstring' are rewritten for better
|
- The demo programs `ftview' and `ftstring' have been rewritten
|
||||||
readability.
|
for better readability.
|
||||||
|
|
||||||
|
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
|
@ -267,7 +267,7 @@
|
||||||
slot->metrics.horiAdvance = FT_PIX_ROUND( slot->metrics.horiAdvance );
|
slot->metrics.horiAdvance = FT_PIX_ROUND( slot->metrics.horiAdvance );
|
||||||
|
|
||||||
slot->metrics.vertBearingX = FT_PIX_FLOOR( slot->metrics.vertBearingX );
|
slot->metrics.vertBearingX = FT_PIX_FLOOR( slot->metrics.vertBearingX );
|
||||||
/* note that vertBearinY should be floor'ed */
|
/* note that vertBearingY should be floor'ed */
|
||||||
slot->metrics.vertBearingY = FT_PIX_FLOOR( slot->metrics.vertBearingY );
|
slot->metrics.vertBearingY = FT_PIX_FLOOR( slot->metrics.vertBearingY );
|
||||||
slot->metrics.vertAdvance = FT_PIX_ROUND( slot->metrics.vertAdvance );
|
slot->metrics.vertAdvance = FT_PIX_ROUND( slot->metrics.vertAdvance );
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,8 +88,8 @@
|
||||||
{
|
{
|
||||||
error = FT_Outline_Embolden( &slot->outline, xstr );
|
error = FT_Outline_Embolden( &slot->outline, xstr );
|
||||||
|
|
||||||
/* this is more than enough for most glyphs */
|
/* this is more than enough for most glyphs; */
|
||||||
/* if you need accurate values, you have to FT_Outline_Get_CBox */
|
/* if you need accurate values, you have to call FT_Outline_Get_CBox */
|
||||||
xstr = xstr * 2;
|
xstr = xstr * 2;
|
||||||
ystr = xstr;
|
ystr = xstr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* CID-keyed Type1 Glyph Loader (body). */
|
/* CID-keyed Type1 Glyph Loader (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright 1996-2001, 2002, 2003, 2004 by */
|
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 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, */
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* Type 1 Glyph Loader (body). */
|
/* Type 1 Glyph Loader (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright 1996-2001, 2002, 2003, 2004 by */
|
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 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, */
|
||||||
|
|
Loading…
Reference in New Issue