diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2021-09-13 08:13:47 +0100 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2021-11-09 11:12:04 +0000 |
commit | 0a1d08d91a95746f41e8c1d578a4e4af81ee5949 (patch) | |
tree | 90211a53904668e9541d04abde8b7d22165807e6 /pdf/pdf_fmap.h | |
parent | 9ebc7de2f18bb8b899f9298bdbc6b1a8fb66c6b5 (diff) | |
download | ghostpdl-0a1d08d91a95746f41e8c1d578a4e4af81ee5949.tar.gz |
native font map from font file scan
First pass at FONTDIR scanning...
Handles Type 1 and TTF/TTC/OTTO files.
CFF still to do. And probably some tidying up.
Slightly rejig font file scanning.
Previously, the code used the magic number to decide which file scanning
function to call, which would attempt to find the font name in the file, and
return it, so the caller could add the name/path to the native font map.
But that approach was messy when the ability to deal with TrueType collections
was implemented.
So, this tweaks it so the scanning function also does the adding of the font
mapping to the dictionary.
Diffstat (limited to 'pdf/pdf_fmap.h')
0 files changed, 0 insertions, 0 deletions