From 0c48163479c875b1e6fbd9f12bb8b10feafd002e Mon Sep 17 00:00:00 2001 From: Photopea Date: Thu, 4 Jan 2024 11:25:18 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 56fa9d4..1ea1920 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Typr.js consists of static functions only, it can be easily rewritten into C or The font object has a structure, wich corresponds to the structure of the TTF/OTF file. I.e. it is a set of tables, each table has its own structure. ```javascript -var font = Typr.parse(buffer); -console.log(font); +var fonts = Typr.parse(buffer); +console.log(fonts[0]); ``` ## Typr.U