2000-11-28 20:56:52 +00:00
|
|
|
/*
|
2002-03-27 00:34:56 +00:00
|
|
|
* @(#)DeviceTables.h 1.5 00/03/15
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
2001-01-19 00:30:17 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __DEVICETABLES_H
|
|
|
|
#define __DEVICETABLES_H
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
#include "OpenTypeTables.h"
|
|
|
|
#include "GlyphIterator.h"
|
|
|
|
#include "GlyphPositionAdjustments.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
struct DeviceTable
|
|
|
|
{
|
|
|
|
le_uint16 startSize;
|
|
|
|
le_uint16 endSize;
|
|
|
|
le_uint16 deltaFormat;
|
|
|
|
le_uint16 deltaValues[ANY_NUMBER];
|
|
|
|
|
2001-01-19 00:30:17 +00:00
|
|
|
le_int16 getAdjustment(le_uint16 ppem) const;
|
2000-11-28 20:56:52 +00:00
|
|
|
|
|
|
|
private:
|
2002-03-27 00:34:56 +00:00
|
|
|
static const le_uint16 fieldMasks[];
|
|
|
|
static const le_uint16 fieldSignBits[];
|
|
|
|
static const le_uint16 fieldBits[];
|
2000-11-28 20:56:52 +00:00
|
|
|
};
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|