Lines Matching refs:wch

144 void CFX_TxtBreak::SetDefaultChar(FX_WCHAR wch) {  in SetDefaultChar()  argument
145 m_wDefChar = wch; in SetDefaultChar()
157 void CFX_TxtBreak::SetParagraphBreakChar(FX_WCHAR wch) { in SetParagraphBreakChar() argument
158 if (wch != L'\r' && wch != L'\n') in SetParagraphBreakChar()
160 m_wParagBreakChar = wch; in SetParagraphBreakChar()
336 FX_WCHAR wch = pCurChar->m_wCharCode; in AppendChar_Combination() local
346 wForm = wch; in AppendChar_Combination()
352 if (wch == 0x0651) { in AppendChar_Combination()
358 } else if (wch >= 0x064C && wch <= 0x0650) { in AppendChar_Combination()
360 wForm = FX_GetArabicFromShaddaTable(wch); in AppendChar_Combination()
415 FX_WCHAR wch = pCurChar->m_wCharCode; in AppendChar_Control() local
416 switch (wch) { in AppendChar_Control()
428 if (wch == m_wParagBreakChar) in AppendChar_Control()
509 FX_WCHAR wch = pCurChar->m_wCharCode; in AppendChar_Others() local
510 FX_WCHAR wForm = wch; in AppendChar_Others()
513 wForm = wch + 0x0630; in AppendChar_Others()
516 } else if (wch == L',') { in AppendChar_Others()
522 wForm = FX_GetMirrorChar(wch, dwProps, m_bCurRTL, m_bVertical); in AppendChar_Others()
548 uint32_t CFX_TxtBreak::AppendChar(FX_WCHAR wch) { in AppendChar() argument
549 uint32_t dwProps = kTextLayoutCodeProperties[static_cast<uint16_t>(wch)]; in AppendChar()
554 pCurChar->m_wCharCode = static_cast<uint16_t>(wch); in AppendChar()
600 FX_WCHAR wch, wForm; in EndBreak_UpdateArabicShapes() local
616 wch = pCur->m_wCharCode; in EndBreak_UpdateArabicShapes()
617 if (wch == L'.') { in EndBreak_UpdateArabicShapes()
623 wForm = wch == L'.' ? 0x066B : 0x066C; in EndBreak_UpdateArabicShapes()
1136 uint16_t wch; member
1204 FX_WCHAR wch; in GetDisplayPos() local
1206 wch = pAccess->GetChar(pIdentity, i); in GetDisplayPos()
1209 wch = *pStr++; in GetDisplayPos()
1213 uint32_t dwProps = FX_GetUnicodeProperties(wch); in GetDisplayPos()
1217 wLast = wch; in GetDisplayPos()
1252 wForm = pdfium::arabic::GetFormChar(wch, wPrev, wNext); in GetDisplayPos()
1253 bLam = (wPrev == 0x0644 && wch == 0x0644 && wNext == 0x0647); in GetDisplayPos()
1255 wForm = wch; in GetDisplayPos()
1256 if (wch >= 0x064C && wch <= 0x0651) { in GetDisplayPos()
1270 if (wch == 0x0651) { in GetDisplayPos()
1277 wForm = FX_GetArabicFromShaddaTable(wch); in GetDisplayPos()
1286 wForm = wch; in GetDisplayPos()
1289 } else if (wch == L'.') { in GetDisplayPos()
1290 wForm = wch; in GetDisplayPos()
1304 } else if (wch == L',') { in GetDisplayPos()
1305 wForm = wch; in GetDisplayPos()
1309 wForm = FX_GetMirrorChar(wch, dwProps, bRTLPiece, bVerticalChar); in GetDisplayPos()
1311 wForm = wch; in GetDisplayPos()
1333 wPrev = wch; in GetDisplayPos()
1334 wLast = wch; in GetDisplayPos()
1343 formChars[0].wch = wch; in GetDisplayPos()
1362 wch = wForm; in GetDisplayPos()
1367 bCharCode ? wch : pFont->GetGlyphIndex(wForm, false); in GetDisplayPos()
1411 if (wForm == wch && wLast != 0xFEFF) { in GetDisplayPos()
1510 wPrev = static_cast<FX_WCHAR>(formChars[0].wch); in GetDisplayPos()
1511 wLast = wch; in GetDisplayPos()
1544 FX_WCHAR wch; in GetCharRects() local
1557 wch = pAccess->GetChar(pIdentity, i); in GetCharRects()
1560 wch = *pStr++; in GetCharRects()
1564 bool bRet = (!bSingleLine && FX_IsCtrlCode(wch)); in GetCharRects()
1565 if (!(wch == L'\v' || wch == L'\f' || wch == 0x2028 || wch == 0x2029 || in GetCharRects()
1566 (wLineBreakChar != 0xFEFF && wch == wLineBreakChar))) { in GetCharRects()
1595 pFont->GetCharWidth(wch, iCharWidth, false); in GetCharRects()