~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/sfnt/ttmtx.c

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2009-11-02 18:30:08 UTC
  • mfrom: (1.2.2 upstream)
  • mto: (15.2.5 experimental)
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: james.westby@ubuntu.com-20091102183008-b6a4gcs128mvfb3m
Tags: upstream-4.6.0~beta1
ImportĀ upstreamĀ versionĀ 4.6.0~beta1

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
/*                                                                         */
5
5
/*    Load the metrics tables common to TTF and OTF fonts (body).          */
6
6
/*                                                                         */
7
 
/*  Copyright 2006, 2007 by                                                */
 
7
/*  Copyright 2006, 2007, 2008 by                                          */
8
8
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
9
9
/*                                                                         */
10
10
/*  This file is part of the FreeType project, and may only be used,       */
60
60
  /* <Return>                                                              */
61
61
  /*    FreeType error code.  0 means success.                             */
62
62
  /*                                                                       */
63
 
#if !defined FT_CONFIG_OPTION_OLD_INTERNALS
 
63
#ifndef FT_CONFIG_OPTION_OLD_INTERNALS
64
64
 
65
65
  FT_LOCAL_DEF( FT_Error )
66
66
  tt_face_load_hmtx( TT_Face    face,
97
97
    return error;
98
98
  }
99
99
 
100
 
#else /* !OPTIMIZE_MEMORY || OLD_INTERNALS */
 
100
#else /* !FT_CONFIG_OPTION_OLD_INTERNALS */
101
101
 
102
102
  FT_LOCAL_DEF( FT_Error )
103
103
  tt_face_load_hmtx( TT_Face    face,
229
229
    return error;
230
230
  }
231
231
 
232
 
#endif /* !OPTIMIZE_MEMORY || OLD_INTERNALS */
 
232
#endif /* !FT_CONFIG_OPTION_OLD_INTERNALS */
233
233
 
234
234
 
235
235
  /*************************************************************************/
341
341
  /*                                                                       */
342
342
  /*    advance :: The advance width resp. advance height.                 */
343
343
  /*                                                                       */
344
 
#if !defined FT_CONFIG_OPTION_OLD_INTERNALS
 
344
#ifndef FT_CONFIG_OPTION_OLD_INTERNALS
345
345
 
346
346
  FT_LOCAL_DEF( FT_Error )
347
347
  tt_face_get_metrics( TT_Face     face,
420
420
    return SFNT_Err_Ok;
421
421
  }
422
422
 
423
 
#else /* OLD_INTERNALS */
 
423
#else /* !FT_CONFIG_OPTION_OLD_INTERNALS */
424
424
 
425
425
  FT_LOCAL_DEF( FT_Error )
426
426
  tt_face_get_metrics( TT_Face     face,
460
460
    return SFNT_Err_Ok;
461
461
  }
462
462
 
463
 
#endif /* !OPTIMIZE_MEMORY || OLD_INTERNALS */
 
463
#endif /* !FT_CONFIG_OPTION_OLD_INTERNALS */
464
464
 
465
465
 
466
466
/* END */