• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * @(#)DeviceTables.h   1.5 00/03/15
3  *
4  * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
5  *
6  */
7 
8 #ifndef __DEVICETABLES_H
9 #define __DEVICETABLES_H
10 
11 /**
12  * \file
13  * \internal
14  */
15 
16 #include "LETypes.h"
17 #include "OpenTypeTables.h"
18 
19 U_NAMESPACE_BEGIN
20 
21 struct DeviceTable
22 {
23     le_uint16  startSize;
24     le_uint16  endSize;
25     le_uint16  deltaFormat;
26     le_uint16  deltaValues[ANY_NUMBER];
27 
28     le_int16   getAdjustment(le_uint16 ppem) const;
29 
30 private:
31     static const le_uint16 fieldMasks[];
32     static const le_uint16 fieldSignBits[];
33     static const le_uint16 fieldBits[];
34 };
35 LE_VAR_ARRAY(DeviceTable, deltaValues)
36 
37 U_NAMESPACE_END
38 #endif
39 
40 
41