X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..73c04bcfe1096173b00431f0cdc742894b15eef0:/icuSources/layout/AnchorTables.cpp diff --git a/icuSources/layout/AnchorTables.cpp b/icuSources/layout/AnchorTables.cpp index d9f6fb1b..24f3cf31 100644 --- a/icuSources/layout/AnchorTables.cpp +++ b/icuSources/layout/AnchorTables.cpp @@ -1,7 +1,6 @@ /* - * @(#)AnchorTables.cpp 1.6 00/03/15 * - * (C) Copyright IBM Corp. 1998, 1999, 2000, 2001 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved * */ @@ -42,6 +41,10 @@ void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstanc } default: + // unknown format: just use x, y coordinate, like format 1... + const Format1AnchorTable *f1 = (const Format1AnchorTable *) this; + + f1->getAnchor(fontInstance, anchor); break; } }