wchar_t GetFormChar(wchar_t wch, wchar_t prev, wchar_t next) { CFX_Char c(wch, FX_GetUnicodeProperties(wch)); CFX_Char p(prev, FX_GetUnicodeProperties(prev)); CFX_Char n(next, FX_GetUnicodeProperties(next)); return GetFormChar(&c, &p, &n); }
FX_WCHAR GetFormChar(FX_WCHAR wch, FX_WCHAR prev, FX_WCHAR next) { CFX_Char c(wch, kTextLayoutCodeProperties[(uint16_t)wch]); CFX_Char p(prev, kTextLayoutCodeProperties[(uint16_t)prev]); CFX_Char n(next, kTextLayoutCodeProperties[(uint16_t)next]); return GetFormChar(&c, &p, &n); }