On Tue, 8 Feb 2005, Hans Hagen wrote:
Hartmut Henkel wrote:
Another maybe more simple way would be some font aliasing mechanism, creating a "virtual" tfmname, e. g. \pdffonttfmalias{cmr10 hcmr10} (while no hcmr10.tfm exists), and then you can create a normal map line starting with hcmr10...
i've been thinking about that, but the problem is that it will overload all usages of fonts since tex shares them, so
\font\a=cmr10 at 10pt \pdfsetfontenc\a{< one.enc} \font\b=cmr10 at 10pt \pdfsetfontenc\b{< two.enc}
yes, but it could be implemented without sharing like:
\pdfmapline{+ cmr10 CMR10 would indeed mean two different mapping for each instance; while an
alias would apply the enc to both instances (sorry, bit fuzzy
explanation) i thought it would be just another independent tfmname, aliased to cmr10
only for tfm/vf read. TeX wouldn't notice at all (but i don't have any
preference what to implement/if time :-) btw, aliasing could be a nice feature for other reasons, think of: but then, it can be done with macros and pdfmapline already, so i
decided not to ask for it -) yes, only what can't be done by macros :-)
Regards, Hartmut