X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..1546d4af2ed1219a41ef4170bf188f2ab91442e6:/icuSources/layout/AnchorTables.cpp diff --git a/icuSources/layout/AnchorTables.cpp b/icuSources/layout/AnchorTables.cpp index 94980da6..24f3cf31 100644 --- a/icuSources/layout/AnchorTables.cpp +++ b/icuSources/layout/AnchorTables.cpp @@ -1,6 +1,6 @@ /* * - * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved * */ @@ -41,9 +41,10 @@ void AnchorTable::getAnchor(LEGlyphID glyphID, const LEFontInstance *fontInstanc } default: - // Unknown format, set the anchor point to (0, 0) - anchor.fX = 0; - anchor.fY = 0; + // unknown format: just use x, y coordinate, like format 1... + const Format1AnchorTable *f1 = (const Format1AnchorTable *) this; + + f1->getAnchor(fontInstance, anchor); break; } }