ICU-120 remove any references to CDAC...

X-SVN-Rev: 3022
This commit is contained in:
Eric Mader 2000-11-28 20:59:41 +00:00
parent 1c9f0bf8a3
commit f96746c605
3 changed files with 9 additions and 1 deletions

View File

@ -18,7 +18,7 @@
#include "GDEFMarkFilter.h"
#include "CDACLayout.h"
//#include "CDACLayout.h"
#include "IndicReordering.h"
IndicOpenTypeLayoutEngine::IndicOpenTypeLayoutEngine(LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
@ -68,6 +68,7 @@ le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[],
return IndicReordering::reorder(&chars[offset], count, fScriptCode, outChars, charIndices, featureTags);
}
#if 0
CDACOpenTypeLayoutEngine::CDACOpenTypeLayoutEngine(LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode,
const CDACLayout::ScriptInfo *scriptInfo)
: IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode), fScriptInfo(scriptInfo)
@ -109,4 +110,5 @@ void CDACOpenTypeLayoutEngine::mapCharsToGlyphs(const LEUnicode chars[], le_int3
CDACLayout::initCDACGlyphs(fScriptInfo, chars, offset, count, glyphs);
}
#endif

View File

@ -127,6 +127,7 @@ protected:
const LETag **featureTags, LEGlyphID *&glyphs, le_int32 *&charIndices);
};
#if 0
/**
* This class implements Indic OpenType layout for CDAC fonts. Since CDAC fonts don't contain
* a GSUB table, it uses a canned GSUB table, using logical glyph indices. Each logical glyph
@ -200,6 +201,7 @@ protected:
virtual void mapCharsToGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool reverse, le_bool mirror,
LEGlyphID *&glyphs, le_int32 *&charIndices);
};
#endif
#endif

View File

@ -291,6 +291,7 @@ LayoutEngine *LayoutEngine::layoutEngineFactory(LEFontInstance *fontInstance, le
case tamlScriptCode:
case teluScriptCode:
{
#if 0
const CDACLayout::ScriptInfo *scriptInfo = CDACLayout::getCDACScriptInfo(fontInstance, scriptCode);
if (scriptInfo != NULL) {
@ -298,6 +299,9 @@ LayoutEngine *LayoutEngine::layoutEngineFactory(LEFontInstance *fontInstance, le
} else {
return new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode);
}
#else
return new IndicOpenTypeLayoutEngine(fontInstance, scriptCode, languageCode);
#endif
}
case arabScriptCode: