diff options
author | Paul Gardiner <paul@Pauls-Mac.site> | 2018-02-23 14:36:14 +0000 |
---|---|---|
committer | Paul Gardiner <paul@Pauls-Mac.site> | 2018-02-23 14:36:14 +0000 |
commit | dd76e14575a9f9779197c8f0771cc4c19990eded (patch) | |
tree | aed61fd8940910d2cbdaa01f07e57ef96c884adf /source/pdf/pdf-xref.c | |
parent | 02584b4f4f5a7fa3d13bf622beca3ccd4e08b1c6 (diff) | |
download | mupdf-dd76e14575a9f9779197c8f0771cc4c19990eded.tar.xz |
Include a font's style in its name.
We were previously using the font's family as its name. Now if only one
of family and style are defined we use that. If both are present we
concatenate family and style with an intervening space, unless style
already has family as a prefix, in which case we just use the style.
Better would be to use the font's full name, but that is more difficult
to obtain via the freetype API.
Diffstat (limited to 'source/pdf/pdf-xref.c')
0 files changed, 0 insertions, 0 deletions