epsfontalias
Get/set Type 1 font aliases
Contents
Syntax
epsfontalias epsfontalias(alias, actual) epsfontalias(alias, '--Remove') epsfontalias(fontmap)
Description
epsfontalias, by itself, prettyprints the search path for Type 1 fonts used by EPS Utility Toolbox.
alias = epsfontalias returns a 2-column cell string matrix, each row containing the alias font name (1st column) and its actual name (2nd column).
epsfontalias(alias, actual) either adds a new alias or changes the existing alias, specified by the string alias, to be associated with an actual font, specified by the string actual. Both alias and actual must begin with '/'. If the actual font does not exist, no changes will occur.
epsfontalias(alias, '--Remove') removes the existing alias specified by the string alias.
epsfontalias(fontmap) reads a font map file specified by string fontmap. A font map file is a text file with rows specifying the font aliases. For example, a fontmap file containing the text
/AvantGarde-Demi /URWGothicL-Demi;
assigns the actual font /URWGothicL-Demi to be used for Adobe standard /AvantGarde-Demi. In other words, the fontmap file specifies /AvantGarde-Demi to be an alias for /URWGothicL-Demi. The line must be terminated by a semicolon and all white space characters are ignored.
See Also
Copyright 2012. Takeshi Ikuma. All rights reserved.