aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-01-25 23:16:22 +0100
committerMattias Andrée <m@maandree.se>2026-01-25 23:16:22 +0100
commit8f57f27c0a6da6a6ec38639675bf736b539b4b0d (patch)
treeb42ba37a6dc987378d92065cb607bb719b23b753
parentAdd chess (diff)
downloadcharconv-8f57f27c0a6da6a6ec38639675bf736b539b4b0d.tar.gz
charconv-8f57f27c0a6da6a6ec38639675bf736b539b4b0d.tar.bz2
charconv-8f57f27c0a6da6a6ec38639675bf736b539b4b0d.tar.xz
Add transformations for crop marks
Signed-off-by: Mattias Andrée <m@maandree.se>
-rw-r--r--libcharconv_flipped.c4
-rw-r--r--libcharconv_mirrored.c4
-rw-r--r--libcharconv_rotated_90deg_ccw.c4
-rw-r--r--libcharconv_rotated_90deg_cw.c4
-rw-r--r--libcharconv_turned.c4
5 files changed, 17 insertions, 3 deletions
diff --git a/libcharconv_flipped.c b/libcharconv_flipped.c
index 2595da8..fd47f99 100644
--- a/libcharconv_flipped.c
+++ b/libcharconv_flipped.c
@@ -11,7 +11,9 @@ static struct {
{UINT32_C(0xA4D5), (uint_least32_t)'Y'}, /* the one in letterlike is sans-serif */
{UINT32_C(0xA4F5), (uint_least32_t)'U'},
{UINT32_C(0xA4E5), (uint_least32_t)'V'},
- {UINT32_C(0x1D5B8), UINT32_C(0x2144)}
+ {UINT32_C(0x1D5B8), UINT32_C(0x2144)},
+ {UINT32_C(0x230D), UINT32_C(0x230F)},
+ {UINT32_C(0x230C), UINT32_C(0x230E)}
};
diff --git a/libcharconv_mirrored.c b/libcharconv_mirrored.c
index eecd5f8..78bc924 100644
--- a/libcharconv_mirrored.c
+++ b/libcharconv_mirrored.c
@@ -17,7 +17,9 @@ static struct {
{UINT32_C(0xA4F7), (uint_least32_t)'D'},
{UINT32_C(0xA4F1), (uint_least32_t)'E'},
{UINT32_C(0xA4D8), (uint_least32_t)'K'},
- {UINT32_C(0x1F12F), UINT32_C(0x00A9)}
+ {UINT32_C(0x1F12F), UINT32_C(0x00A9)},
+ {UINT32_C(0x230C), UINT32_C(0x230D)},
+ {UINT32_C(0x230E), UINT32_C(0x230F)}
};
diff --git a/libcharconv_rotated_90deg_ccw.c b/libcharconv_rotated_90deg_ccw.c
index 9b7a2e7..40e76b1 100644
--- a/libcharconv_rotated_90deg_ccw.c
+++ b/libcharconv_rotated_90deg_ccw.c
@@ -6,6 +6,10 @@ static struct {
uint_least32_t to;
uint_least32_t from;
} pairs[] = {
+ {UINT32_C(0x230E), UINT32_C(0x230C)},
+ {UINT32_C(0x230C), UINT32_C(0x230D)},
+ {UINT32_C(0x230D), UINT32_C(0x230F)},
+ {UINT32_C(0x230F), UINT32_C(0x230E)},
{UINT32_C(0x1FA04), UINT32_C(0x1FA19)},
{UINT32_C(0x1FA19), UINT32_C(0x1FA2E)},
{UINT32_C(0x1FA2E), UINT32_C(0x1FA43)},
diff --git a/libcharconv_rotated_90deg_cw.c b/libcharconv_rotated_90deg_cw.c
index 68cf9b7..1429692 100644
--- a/libcharconv_rotated_90deg_cw.c
+++ b/libcharconv_rotated_90deg_cw.c
@@ -6,6 +6,10 @@ static struct {
uint_least32_t from;
uint_least32_t to;
} pairs[] = {
+ {UINT32_C(0x230E), UINT32_C(0x230C)},
+ {UINT32_C(0x230C), UINT32_C(0x230D)},
+ {UINT32_C(0x230D), UINT32_C(0x230F)},
+ {UINT32_C(0x230F), UINT32_C(0x230E)},
{UINT32_C(0x1FA04), UINT32_C(0x1FA19)},
{UINT32_C(0x1FA19), UINT32_C(0x1FA2E)},
{UINT32_C(0x1FA2E), UINT32_C(0x1FA43)},
diff --git a/libcharconv_turned.c b/libcharconv_turned.c
index 2ff3e5a..835ec00 100644
--- a/libcharconv_turned.c
+++ b/libcharconv_turned.c
@@ -33,7 +33,9 @@ static struct {
{UINT32_C(0x1D5A6), UINT32_C(0x2141)},
{UINT32_C(0x1D5AB), UINT32_C(0x2142)},
{UINT32_C(0x1D5B8), UINT32_C(0x2144)},
- {UINT32_C(0x1F12F), UINT32_C(0x00A9)}
+ {UINT32_C(0x1F12F), UINT32_C(0x00A9)},
+ {UINT32_C(0x230C), UINT32_C(0x230F)},
+ {UINT32_C(0x230E), UINT32_C(0x230D)}
};