formatting
This commit is contained in:
parent
481b25f009
commit
e3be90bf28
18
ChangeLog
18
ChangeLog
|
@ -1,19 +1,19 @@
|
||||||
2007-07-01 David Turner <david@freetype.org>
|
2007-07-01 David Turner <david@freetype.org>
|
||||||
|
|
||||||
* include/freetype/freetype.h, src/base/ftpatent.c: adding
|
* include/freetype/freetype.h, src/base/ftpatent.c
|
||||||
FT_Face_SetUnpatentedHinting to dynamically change the setting
|
(FT_Face_SetUnpatentedHinting): New function to dynamically change
|
||||||
after a face is created.
|
the setting after a face is created.
|
||||||
|
|
||||||
* src/truetype/ttgload.c: fix a small bug that created distortions
|
* src/truetype/ttgload.c (TT_Load_Simple_Glyph): Fix a small bug
|
||||||
in the bytecode interpreter results
|
that created distortions in the bytecode interpreter results.
|
||||||
|
|
||||||
2007-06-30 David Turner <david@freetype.org>
|
2007-06-30 David Turner <david@freetype.org>
|
||||||
|
|
||||||
* src/truetype/ttinterp.c: add missing variable initialization,
|
* src/truetype/ttinterp.c (Ins_IUP): Add missing variable
|
||||||
gets rid of Valgrind fixes.
|
initialization.
|
||||||
|
|
||||||
* src/autofit/aflatin.c: get rid of an infinite loop in the case
|
* src/autofit/aflatin.c (af_latin_metric_init_blues): Get rid of an
|
||||||
of degenerate fonts.
|
infinite loop in the case of degenerate fonts.
|
||||||
|
|
||||||
2007-06-26 Rahul Bhalerao <b.rahul.pm@gmail.com>
|
2007-06-26 Rahul Bhalerao <b.rahul.pm@gmail.com>
|
||||||
|
|
||||||
|
|
|
@ -3389,7 +3389,8 @@ FT_BEGIN_HEADER
|
||||||
/* 1 if this is a TrueType font that uses one of the patented */
|
/* 1 if this is a TrueType font that uses one of the patented */
|
||||||
/* opcodes, 0 otherwise. */
|
/* opcodes, 0 otherwise. */
|
||||||
/* */
|
/* */
|
||||||
/* <Since> 2.3.5 */
|
/* <Since> */
|
||||||
|
/* 2.3.5 */
|
||||||
/* */
|
/* */
|
||||||
FT_EXPORT( FT_Bool )
|
FT_EXPORT( FT_Bool )
|
||||||
FT_Face_CheckTrueTypePatents( FT_Face face );
|
FT_Face_CheckTrueTypePatents( FT_Face face );
|
||||||
|
@ -3407,14 +3408,16 @@ FT_BEGIN_HEADER
|
||||||
/* */
|
/* */
|
||||||
/* <Input> */
|
/* <Input> */
|
||||||
/* face :: A face handle. */
|
/* face :: A face handle. */
|
||||||
/* value :: new boolean setting */
|
/* */
|
||||||
|
/* value :: New boolean setting. */
|
||||||
/* */
|
/* */
|
||||||
/* <Return> */
|
/* <Return> */
|
||||||
/* the old setting value. this will always be false if this is not */
|
/* The old setting value. This will always be false if this is not */
|
||||||
/* a SFNT font, or if the unpatented hinter is not compiled in the */
|
/* a SFNT font, or if the unpatented hinter is not compiled in this */
|
||||||
/* this instance of the library. */
|
/* instance of the library. */
|
||||||
/* */
|
/* */
|
||||||
/* <Since> 2.3.5 */
|
/* <Since> */
|
||||||
|
/* 2.3.5 */
|
||||||
/* */
|
/* */
|
||||||
FT_EXPORT( FT_Bool )
|
FT_EXPORT( FT_Bool )
|
||||||
FT_Face_SetUnpatentedHinting( FT_Face face,
|
FT_Face_SetUnpatentedHinting( FT_Face face,
|
||||||
|
|
|
@ -254,12 +254,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* documentation is in freetype.h */
|
||||||
|
|
||||||
FT_EXPORT_DEF( FT_Bool )
|
FT_EXPORT_DEF( FT_Bool )
|
||||||
FT_Face_SetUnpatentedHinting( FT_Face face,
|
FT_Face_SetUnpatentedHinting( FT_Face face,
|
||||||
FT_Bool value )
|
FT_Bool value )
|
||||||
{
|
{
|
||||||
FT_Bool result = 0;
|
FT_Bool result = 0;
|
||||||
|
|
||||||
|
|
||||||
#if defined( TT_CONFIG_OPTION_UNPATENTED_HINTING ) && \
|
#if defined( TT_CONFIG_OPTION_UNPATENTED_HINTING ) && \
|
||||||
!defined( TT_CONFIG_OPTION_BYTECODE_INTEPRETER )
|
!defined( TT_CONFIG_OPTION_BYTECODE_INTEPRETER )
|
||||||
if ( face && FT_IS_SFNT( face ) )
|
if ( face && FT_IS_SFNT( face ) )
|
||||||
|
|
Loading…
Reference in New Issue