2003-01-04 02:52:23 +00:00
|
|
|
/*
|
2004-04-12 18:51:31 +00:00
|
|
|
*
|
2008-10-28 14:50:15 +00:00
|
|
|
* (C) Copyright IBM Corp. 2002-2008 - All Rights Reserved
|
2004-04-12 18:51:31 +00:00
|
|
|
*
|
2003-01-04 02:52:23 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MPREFIXUPS_H
|
|
|
|
#define __MPREFIXUPS_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2003-01-04 02:52:23 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
|
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2004-04-12 18:51:31 +00:00
|
|
|
class LEGlyphStorage;
|
|
|
|
|
2003-01-04 02:52:23 +00:00
|
|
|
// Might want to make this a private member...
|
|
|
|
struct FixupData;
|
|
|
|
|
|
|
|
class MPreFixups : public UMemory
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
MPreFixups(le_int32 charCount);
|
|
|
|
~MPreFixups();
|
|
|
|
|
|
|
|
void add(le_int32 baseIndex, le_int32 mpreIndex);
|
|
|
|
|
2008-10-28 14:50:15 +00:00
|
|
|
void apply(LEGlyphStorage &glyphStorage, LEErrorCode& success);
|
2003-01-04 02:52:23 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
FixupData *fFixupData;
|
|
|
|
le_int32 fFixupCount;
|
|
|
|
};
|
|
|
|
|
|
|
|
U_NAMESPACE_END
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|