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

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/src/autofit/afdummy.c

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "afdummy.h"
 
2
#include "afhints.h"
 
3
 
 
4
 
 
5
  static FT_Error
 
6
  af_dummy_hints_init( AF_GlyphHints     hints,
 
7
                       AF_ScriptMetrics  metrics )
 
8
  {
 
9
    af_glyph_hints_rescale( hints,
 
10
                            metrics );
 
11
    return 0;
 
12
  }
 
13
 
 
14
  static FT_Error
 
15
  af_dummy_hints_apply( AF_GlyphHints  hints,
 
16
                        FT_Outline*    outline )
 
17
  {
 
18
    FT_UNUSED( hints );
 
19
    FT_UNUSED( outline );
 
20
 
 
21
    return 0;
 
22
  }
 
23
 
 
24
 
 
25
  FT_LOCAL_DEF( const AF_ScriptClassRec )  af_dummy_script_class =
 
26
  {
 
27
    AF_SCRIPT_NONE,
 
28
    NULL,
 
29
 
 
30
    sizeof( AF_ScriptMetricsRec ),
 
31
    (AF_Script_InitMetricsFunc)  NULL,
 
32
    (AF_Script_ScaleMetricsFunc) NULL,
 
33
    (AF_Script_DoneMetricsFunc)  NULL,
 
34
 
 
35
    (AF_Script_InitHintsFunc)    af_dummy_hints_init,
 
36
    (AF_Script_ApplyHintsFunc)   af_dummy_hints_apply
 
37
  };