shithub: fnt

Download patch

ref: 8824c6a75e260270b385cfd4d5865350a71ea320
parent: 6f253d40525f256056837e7fb708db8523e77977
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Jun 16 21:20:30 EDT 2024

fix Fixed parser

--- a/otf.rkt
+++ b/otf.rkt
@@ -371,7 +371,7 @@
 (mktype Offset24 24 u32int "%ud")
 (mktype Offset32 32 u32int "%ud")
 (mktype Version16Dot16 32 u32int "%V")
-(mktype Fixed 32 float "%g" (λ (b index) (~a ((type-parse int32) b index) "/65536.0f")))
+(mktype Fixed 32 float "%g" (λ (b index) (~a "(" ((type-parse int32) b index) ")/65536.0f")))
 (mktype F2DOT14
         16
         float