commit 4513110797b84a320981ae46bc02e35ceea6bd56
parent 7134fb822d6be14630fd1b7d0abe5395fc18f024
Author: Frederic Cambus <fred@statdns.com>
Date: Wed, 29 Jan 2020 12:55:24 +0100
Calculate initial position using ASCENT, so the baseline is correctly positioned.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bdftosfd.c b/src/bdftosfd.c
@@ -4,7 +4,7 @@
* https://github.com/fcambus/bdftosfd
*
* Created: 2019-11-21
- * Last Updated: 2020-01-28
+ * Last Updated: 2020-01-29
*
* bdftosfd is released under the BSD 2-Clause license
* See LICENSE file for details
@@ -273,7 +273,7 @@ main(int argc, char *argv[])
"Fore\n"
"SplineSet\n");
- y = 704;
+ y = (ascent - 1) * ylength;
readglyph = true;
glyphes++;