Lines Matching refs:formatting
546 buf->text[index].formatting = (text_dir << 5) | 128; in ocr_append_char()
550 buf->text[index].formatting = text_dir << 5; in ocr_append_char()
553 buf->text[index].formatting = (nl_type << 6) | (line_dir << 5); in ocr_append_char()
556 buf->text[index].formatting |= enhancement & (~EUC_FORMAT_MASK); in ocr_append_char()
587 if ((buf->text[buf->count - 1].formatting >> 6) != OCR_NL_NEWLINE in ocr_send_text()
588 && (buf->text[buf->count - 1].formatting >> 6) != OCR_NL_NEWPARA) { in ocr_send_text()
590 buf->text[buf->count - 1].formatting &= 63; in ocr_send_text()
591 buf->text[buf->count - 1].formatting |= OCR_NL_NEWLINE << 6; in ocr_send_text()
600 else if ((buf->text[buf->count - 1].formatting >> 6) != OCR_NL_NEWPARA) { in ocr_send_text()
602 buf->text[buf->count - 1].formatting &= 63; in ocr_send_text()
603 buf->text[buf->count - 1].formatting |= OCR_NL_NEWPARA << 6; in ocr_send_text()