Formatting.
This commit is contained in:
parent
8d4ccf5384
commit
35fd84b96a
@ -1,9 +1,10 @@
|
||||
2005-03-06 David Turner <david@freetype.org>
|
||||
|
||||
* src/otvalid/{otvgsub.c, otvgpos.c}: making static tables constant
|
||||
* src/otvalid/otvgsub.c, src/otvalid/otvgpos.c: Make static tables
|
||||
constant.
|
||||
|
||||
* src/autofit/aflatin.c (af_latin_metrics_init): fixing bug #12212
|
||||
(auto-hinter refuses to work if no Unicode charmap in font)
|
||||
* src/autofit/aflatin.c (af_latin_metrics_init): Fix Savannah bug
|
||||
#12212 (auto-hinter refuses to work if no Unicode charmap in font).
|
||||
|
||||
2005-03-05 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* FreeType high-level API and common types (specification only). */
|
||||
/* */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004 by */
|
||||
/* Copyright 1996-2001, 2002, 2003, 2004, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@ -2652,13 +2652,13 @@ FT_BEGIN_HEADER
|
||||
/* */
|
||||
/* <Description> */
|
||||
/* Retrieves the ASCII Postscript name of a given face, if available. */
|
||||
/* This should only work with Postscript and TrueType fonts. */
|
||||
/* This only works with Postscript and TrueType fonts. */
|
||||
/* */
|
||||
/* <Input> */
|
||||
/* face :: A handle to the source face object. */
|
||||
/* */
|
||||
/* <Return> */
|
||||
/* A pointer to the face's Postscript name. NULL if un-available. */
|
||||
/* A pointer to the face's Postscript name. NULL if unavailable. */
|
||||
/* */
|
||||
/* <Note> */
|
||||
/* The returned pointer is owned by the face and will be destroyed */
|
||||
|
@ -377,7 +377,7 @@
|
||||
af_latin_metrics_init( AF_LatinMetrics metrics,
|
||||
FT_Face face )
|
||||
{
|
||||
FT_Error error = 0;
|
||||
FT_Error error = FT_Err_Ok;
|
||||
FT_CharMap oldmap = face->charmap;
|
||||
FT_UInt ee;
|
||||
|
||||
@ -397,7 +397,7 @@
|
||||
for ( ee = 0; latin_encodings[ee] != FT_ENCODING_NONE; ee++ )
|
||||
{
|
||||
error = FT_Select_Charmap( face, latin_encodings[ee] );
|
||||
if (!error)
|
||||
if ( !error )
|
||||
break;
|
||||
}
|
||||
|
||||
@ -408,7 +408,7 @@
|
||||
}
|
||||
|
||||
FT_Set_Charmap( face, oldmap );
|
||||
return 0;
|
||||
return FT_Err_Ok;
|
||||
}
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* OpenType GPOS table validation (body). */
|
||||
/* */
|
||||
/* Copyright 2002, 2004 by */
|
||||
/* Copyright 2002, 2004, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@ -954,7 +954,7 @@
|
||||
OTV_Validator valid )
|
||||
{
|
||||
valid->type_count = 9;
|
||||
valid->type_funcs = (OTV_Validate_Func*) otv_gpos_validate_funcs;
|
||||
valid->type_funcs = (OTV_Validate_Func*)otv_gpos_validate_funcs;
|
||||
|
||||
otv_Lookup_validate( table, valid );
|
||||
}
|
||||
@ -996,7 +996,7 @@
|
||||
LookupList = FT_NEXT_USHORT( p );
|
||||
|
||||
valid->type_count = 9;
|
||||
valid->type_funcs = (OTV_Validate_Func*) otv_gpos_validate_funcs;
|
||||
valid->type_funcs = (OTV_Validate_Func*)otv_gpos_validate_funcs;
|
||||
valid->glyph_count = glyph_count;
|
||||
|
||||
otv_LookupList_validate( table + LookupList,
|
||||
|
@ -4,7 +4,7 @@
|
||||
/* */
|
||||
/* OpenType GSUB table validation (body). */
|
||||
/* */
|
||||
/* Copyright 2004 by */
|
||||
/* Copyright 2004, 2005 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
@ -567,7 +567,7 @@
|
||||
LookupList = FT_NEXT_USHORT( p );
|
||||
|
||||
valid->type_count = 8;
|
||||
valid->type_funcs = (OTV_Validate_Func*) otv_gsub_validate_funcs;
|
||||
valid->type_funcs = (OTV_Validate_Func*)otv_gsub_validate_funcs;
|
||||
valid->glyph_count = glyph_count;
|
||||
|
||||
otv_LookupList_validate( table + LookupList,
|
||||
|
Loading…
Reference in New Issue
Block a user