aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-11-10 22:50:28 +0100
committerMattias Andrée <maandree@kth.se>2021-11-10 22:50:28 +0100
commit0c352cad10691992d261e7d0f9ec06fdb801ed34 (patch)
tree7ac493a2b99226421979040189cd6c48cfe2b59f /libfonts.h
parentAdd missing include directive (diff)
downloadlibfonts-0c352cad10691992d261e7d0f9ec06fdb801ed34.tar.gz
libfonts-0c352cad10691992d261e7d0f9ec06fdb801ed34.tar.bz2
libfonts-0c352cad10691992d261e7d0f9ec06fdb801ed34.tar.xz
Implement libfonts_calculate_subpixel_order
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libfonts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libfonts.h b/libfonts.h
index 211e391..6a988a5 100644
--- a/libfonts.h
+++ b/libfonts.h
@@ -20,7 +20,7 @@ enum libfonts_subpixel_order {
/* For any value V, a rotation of 90⋅R degrees, R integer,
* clockwise, of the physical output, will yeild a subpixel
- * order represented with the value (V + R) Mod 4 + ⌊V / 4⌋,
+ * order represented with the value (V + R) Mod 4 + 4⋅⌊V / 4⌋,
* if V ≥ 4, otherwise V asis. A rotation that is not
* divisible by 90 degrees, will yeild the subpixel order
* LIBFONTS_SUBPIXEL_ORDER_NONLINEAR if V is greater or equal