forked from minhngoc25a/freetype2
* src/base/ftobjs.c (ft_open_face_internal): Improve tracing.
This commit is contained in:
parent
56645f8a8b
commit
c529885b0b
|
@ -1,3 +1,7 @@
|
||||||
|
2017-01-11 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* src/base/ftobjs.c (ft_open_face_internal): Improve tracing.
|
||||||
|
|
||||||
2017-01-11 Werner Lemberg <wl@gnu.org>
|
2017-01-11 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[truetype] Actually use metrics variation service.
|
[truetype] Actually use metrics variation service.
|
||||||
|
|
|
@ -2443,10 +2443,12 @@
|
||||||
#ifdef FT_DEBUG_LEVEL_TRACE
|
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||||
if ( !error && face_index < 0 )
|
if ( !error && face_index < 0 )
|
||||||
{
|
{
|
||||||
FT_TRACE3(( "FT_Open_Face: The font has %ld faces\n"
|
FT_TRACE3(( "FT_Open_Face: The font has %ld face%s\n"
|
||||||
" and %ld named instances for face %ld\n",
|
" and %ld named instance%s for face %ld\n",
|
||||||
face->num_faces,
|
face->num_faces,
|
||||||
|
face->num_faces == 1 ? "" : "s",
|
||||||
face->style_flags >> 16,
|
face->style_flags >> 16,
|
||||||
|
( face->style_flags >> 16 ) == 1 ? "" : "s",
|
||||||
-face_index - 1 ));
|
-face_index - 1 ));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue