From ce4e00037288939d9757cd29e28de82f8d92db76 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 24 Jan 2026 23:59:59 +0100 Subject: Add crop marks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcharconv_latin.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libcharconv_latin.c') diff --git a/libcharconv_latin.c b/libcharconv_latin.c index 68bdd7d..de5b618 100644 --- a/libcharconv_latin.c +++ b/libcharconv_latin.c @@ -496,6 +496,12 @@ libcharconv_latin(const char *s, size_t slen, size_t *n, uint_least32_t *cp, siz /* ocr (telegraphing) */ case UINT32_C(0x2BFF): c1 = 'E'; goto conv1; + /* crop marks */ + case UINT32_C(0x230C): c1 = '|'; c2 = '-'; goto conv2; + case UINT32_C(0x230D): c1 = '-'; c2 = '|'; goto conv2; + case UINT32_C(0x230E): c1 = '|'; c2 = '_'; goto conv2; + case UINT32_C(0x230F): c1 = '_'; c2 = '|'; goto conv2; + default: no_match: *n += clen; -- cgit v1.2.3-70-g09d2