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;