2003-01-04 02:52:23 +00:00
|
|
|
/*
|
2003-06-03 20:58:22 +00:00
|
|
|
* (C) Copyright IBM Corp. 2002-2003 - All Rights Reserved
|
2003-01-04 02:52:23 +00:00
|
|
|
*
|
|
|
|
* $Source: /xsrl/Nsvn/icu/icu/source/layout/MPreFixups.h,v $
|
2003-09-24 21:05:40 +00:00
|
|
|
* $Date: 2003/09/24 21:05:13 $
|
|
|
|
* $Revision: 1.4 $
|
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);
|
|
|
|
|
2003-09-24 21:05:40 +00:00
|
|
|
void apply(LEGlyphID *glyphs, le_int32 *charIndices);
|
2003-01-04 02:52:23 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
FixupData *fFixupData;
|
|
|
|
le_int32 fFixupCount;
|
|
|
|
};
|
|
|
|
|
|
|
|
U_NAMESPACE_END
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|