diff options
author | Simon Bünzli <zeniko@gmail.com> | 2014-02-22 19:37:57 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2014-02-25 12:15:16 +0000 |
commit | b9f7b021f320c8f6b4879ddc20acf11976bd5add (patch) | |
tree | d7922e432322755228a25a67c162e54a5422f4c2 /resources/cmaps | |
parent | 39d56f84b386d1c5de13792fde8371c617466744 (diff) | |
download | mupdf-b9f7b021f320c8f6b4879ddc20acf11976bd5add.tar.xz |
Bug 694851: pass more information to fz_load_system_font
The following changes allow font providers to make better choices WRT
what font to provide and under what circumstances:
* bold and italic flags are passed in so that implementors can decide
themselves whether to ask for simulated boldening/italicising
if a font claims not to be bold/italic
* is_substitute is replaced with needs_exact_metrics to make the
meaning of this argument hopefully clearer (that argument is set only
for PDF fonts without a FontDescriptor)
* the font name is always passed as requested by the document instead
of the cleaned name for the standard 14 fonts which allows
distinguishing e.g. Symbol and Symbol,Bold
Diffstat (limited to 'resources/cmaps')
0 files changed, 0 insertions, 0 deletions