2003-01-04 02:52:23 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright IBM Corp. 2002, 2003 - All Rights Reserved
|
|
|
|
*
|
|
|
|
* $Source: /xsrl/Nsvn/icu/icu/source/layout/MPreFixups.h,v $
|
2003-01-13 23:15:11 +00:00
|
|
|
* $Date: 2003/01/13 23:15:11 $
|
|
|
|
* $Revision: 1.2 $
|
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
|
|
|
|
|
|
|
|
// 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);
|
|
|
|
|
|
|
|
void apply(LEGlyphID *glyphs, le_int32 *charIndicies);
|
|
|
|
|
|
|
|
private:
|
|
|
|
FixupData *fFixupData;
|
|
|
|
le_int32 fFixupCount;
|
|
|
|
};
|
|
|
|
|
|
|
|
U_NAMESPACE_END
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|