Lines Matching defs:wch

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