From 30b762b251a361cdd4ba1f93aa36fcf7e9b38aea Mon Sep 17 00:00:00 2001 From: John Whitington Date: Wed, 5 Oct 2022 15:14:53 +0100 Subject: [PATCH] more --- Makefile | 3 ++- cpdftruetype.ml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5264ffc..adc3cce 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ all : $(TARGETS) clean :: rm -rf doc foo foo2 out.pdf out2.pdf foo.pdf decomp.pdf *.cmt *.cmti \ - *.json test/*.pdf debug/*.pdf *.ps *.aux *.idx *.log *.out *.toc *.cut + *.json test/*.pdf debug/*.pdf *.ps *.aux *.idx *.log *.out *.toc *.cut \ + *.ttf DOC_FILES = $(foreach x,$(DOC),$(x).mli ) diff --git a/cpdftruetype.ml b/cpdftruetype.ml index 13f3bf9..ecf37ca 100644 --- a/cpdftruetype.ml +++ b/cpdftruetype.ml @@ -2,6 +2,8 @@ open Pdfutil open Pdfio +(* ./cpdf -font-ttf ~/repos/pdfs/fonts/NotoSans-Bold.ttf -add-text foo hello.pdf -o out.pdf *) + type t = {flags : int; minx : int;