forked from minhngoc25a/freetype2
* src/cff/cffobjs.c (cff_face_init): Remove unnecessary casts.
This commit is contained in:
parent
3933334039
commit
0b7daff031
|
@ -1,3 +1,7 @@
|
||||||
|
2012-02-07 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* src/cff/cffobjs.c (cff_face_init): Remove unnecessary casts.
|
||||||
|
|
||||||
2012-01-17 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
2012-01-17 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||||
|
|
||||||
[gxvalid] Fix Savannah bug #35286.
|
[gxvalid] Fix Savannah bug #35286.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
/* */
|
/* */
|
||||||
/* OpenType objects manager (body). */
|
/* OpenType objects manager (body). */
|
||||||
/* */
|
/* */
|
||||||
/* Copyright 1996-2011 by */
|
/* Copyright 1996-2012 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, */
|
||||||
|
@ -855,22 +855,22 @@
|
||||||
/* */
|
/* */
|
||||||
/* Compute face flags. */
|
/* Compute face flags. */
|
||||||
/* */
|
/* */
|
||||||
flags = (FT_UInt32)( FT_FACE_FLAG_SCALABLE | /* scalable outlines */
|
flags = FT_FACE_FLAG_SCALABLE | /* scalable outlines */
|
||||||
FT_FACE_FLAG_HORIZONTAL | /* horizontal data */
|
FT_FACE_FLAG_HORIZONTAL | /* horizontal data */
|
||||||
FT_FACE_FLAG_HINTER ); /* has native hinter */
|
FT_FACE_FLAG_HINTER; /* has native hinter */
|
||||||
|
|
||||||
if ( sfnt_format )
|
if ( sfnt_format )
|
||||||
flags |= (FT_UInt32)FT_FACE_FLAG_SFNT;
|
flags |= FT_FACE_FLAG_SFNT;
|
||||||
|
|
||||||
/* fixed width font? */
|
/* fixed width font? */
|
||||||
if ( dict->is_fixed_pitch )
|
if ( dict->is_fixed_pitch )
|
||||||
flags |= (FT_UInt32)FT_FACE_FLAG_FIXED_WIDTH;
|
flags |= FT_FACE_FLAG_FIXED_WIDTH;
|
||||||
|
|
||||||
/* XXX: WE DO NOT SUPPORT KERNING METRICS IN THE GPOS TABLE FOR NOW */
|
/* XXX: WE DO NOT SUPPORT KERNING METRICS IN THE GPOS TABLE FOR NOW */
|
||||||
#if 0
|
#if 0
|
||||||
/* kerning available? */
|
/* kerning available? */
|
||||||
if ( face->kern_pairs )
|
if ( face->kern_pairs )
|
||||||
flags |= (FT_UInt32)FT_FACE_FLAG_KERNING;
|
flags |= FT_FACE_FLAG_KERNING;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
cffface->face_flags = flags;
|
cffface->face_flags = flags;
|
||||||
|
|
Loading…
Reference in New Issue