Add proper TrueType font support (Issue #2)

Still need to implement proper Unicode support (currently only writes WinAnsi
font descriptor and handles UTF-8 for 0-255...)
This commit is contained in:
Michael R Sweet
2021-06-17 10:18:55 -04:00
parent d1f199c7ae
commit bbdf0cdb18
6 changed files with 2140 additions and 15 deletions

View File

@ -47,7 +47,8 @@ LIBOBJS = \
pdfio-stream.o \
pdfio-string.o \
pdfio-token.o \
pdfio-value.o
pdfio-value.o \
ttf.o
OBJS = \
$(LIBOBJS) \
testpdfio.o
@ -133,8 +134,8 @@ testpdfio: testpdfio.o libpdfio.a
# Dependencies
$(OBJS): pdfio.h Makefile
$(LIBOBJS): pdfio-private.h
pdfio-content.o: pdfio-content.h
pdfio-content.o: pdfio-content.h ttf.h
ttf.o: ttf.h
# Make documentation using Codedoc <https://www.msweet.org/codedoc>
DOCFLAGS = \