Formatting.

This commit is contained in:
Werner Lemberg 2013-12-02 09:52:38 +01:00
parent 64872a5016
commit a44b784bca
5 changed files with 15 additions and 7 deletions

View File

@ -317,7 +317,8 @@
}
total_read_count = 0;
do {
do
{
ssize_t read_count;

View File

@ -3388,8 +3388,10 @@
FT_CMap cmap = FT_CMAP( face->charmap );
do {
do
{
gindex = cmap->clazz->char_next( cmap, &code );
} while ( gindex >= (FT_UInt)face->num_glyphs );
result = ( gindex == 0 ) ? 0 : code;

View File

@ -723,7 +723,8 @@
#if 0
#define FT_OUTLINE_GET_CONTOUR( outline, c, first, last ) \
do { \
do \
{ \
(first) = ( c > 0 ) ? (outline)->points + \
(outline)->contours[c - 1] + 1 \
: (outline)->points; \

View File

@ -899,7 +899,8 @@
#define LOAD_( x ) \
do { \
do \
{ \
FT_TRACE2(( "`" #x "' " )); \
FT_TRACE3(( "-->\n" )); \
\
@ -914,7 +915,8 @@
} while ( 0 )
#define LOADM_( x, vertical ) \
do { \
do \
{ \
FT_TRACE2(( "`%s" #x "' ", \
vertical ? "vertical " : "" )); \
FT_TRACE3(( "-->\n" )); \
@ -930,7 +932,8 @@
} while ( 0 )
#define GET_NAME( id, field ) \
do { \
do \
{ \
error = tt_face_get_name( face, TT_NAME_ID_ ## id, field ); \
if ( error ) \
goto Exit; \

View File

@ -1334,7 +1334,8 @@
*
*/
#define TT_LOADER_SET_PP( loader ) \
do { \
do \
{ \
(loader)->pp1.x = (loader)->bbox.xMin - (loader)->left_bearing; \
(loader)->pp1.y = 0; \
(loader)->pp2.x = (loader)->pp1.x + (loader)->advance; \