Summary: | Loading the font which has index!=0 in TrueType Collection by .loadfont | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Masamichi Hosoda <trueroad> |
Component: | Font API | Assignee: | Chris Liddell (chrisl) <chris.liddell> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 9.19 | ||
Hardware: | PC | ||
OS: | Windows 8 | ||
Customer: | Word Size: | --- |
Description
Masamichi Hosoda
2016-06-06 06:39:25 UTC
If you want to use a TrueType collection (or a member) as a font, you need to add it to your cidfmap and use it as a CIDFont. Currently you can't really use TrueType Collections as a Font, they must be a CIDFont, I don't think you can usefully use a CJKV font as a PostScript Font anyway, since you'd be limited to 255 characters. NB Don't try to use undocumented Ghostscript language extensions! Use the documented method for loading fonts :-) Since you are using Windows you will need to retrieve the support files from the Ghostscript source (either use Git to access our repository or pick one of the source tarballs). You will then need the contents of /ghostpdl/Resource/Init copied locally, and you will need to modify cidfmap and then tell Ghostscript to 'Include' the directory in the search path by using the -I switch. The format of entries in cidfmap is documented in comments in the file itself. Thank you for your advice. *** This bug has been marked as a duplicate of bug 695903 *** |