diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-04-24 21:40:53 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-04-24 21:40:53 +0200 |
commit | 00bf23444ca93b9b6f6b8c9a3a6f10b535698acf (patch) | |
tree | 417d73d893de83b4a06cb128d16fa0fb485e2054 /fitz/fitz_res.h | |
parent | eac58058a2ff46fda09fd9e28f9ad908b79d2031 (diff) | |
download | mupdf-00bf23444ca93b9b6f6b8c9a3a6f10b535698acf.tar.xz |
Add font width scaling for rendering substituted fonts.
Diffstat (limited to 'fitz/fitz_res.h')
-rw-r--r-- | fitz/fitz_res.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fitz/fitz_res.h b/fitz/fitz_res.h index ed3a5635..157875f2 100644 --- a/fitz/fitz_res.h +++ b/fitz/fitz_res.h @@ -324,6 +324,10 @@ struct fz_font_s struct pdf_xref_s *xref, fz_obj *resources, fz_buffer *contents); fz_rect bbox; + + /* substitute metrics */ + int widthcount; + int *widthtable; }; fz_error fz_newfreetypefont(fz_font **fontp, char *name, int substitute); |