From 0c352cad10691992d261e7d0f9ec06fdb801ed34 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 10 Nov 2021 22:50:28 +0100 Subject: Implement libfonts_calculate_subpixel_order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libfonts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libfonts.h') 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 -- cgit v1.2.3-70-g09d2