[yandytex] Lucida fonts with lucimatx in YandY: TeX's OK, preview bombs

Murray Eisenberg murray at math.umass.edu
Thu Mar 23 00:36:14 CET 2006


Unfortunately, it is not self-explanatory to me.  My basic question is 
how does the previewer (and print driver) know which pfb file to 
associate with which tmf-name/alias-name pair?

In some cases, the tfm internally has the name of the actual pbf file. 
For example, inside hlcrm.tfm I find the string "LBMR", and there is a 
font file lbmr.psb.  But in other cases this is not the case.  For 
example, inside hlhr8y.tfm I find NO string naming an actual pfb file 
nor, for that matter, giving a longer name for a font.  (The only 
human-readable strings I find in there is: "TeX typewriter and Windows 
ANSI" and then "Y&Y" and then "LucidBri".)

paul wrote:
> Walter
> 
> This is a version of the .MAP file.  If you read it ity is self explanatory
> 
> 
> 
> Walter Schmidt wrote:
> 
>> Murray Eisenberg schrieb:
>>> What would get renamed to what under your suggestion?  The newly
>>> distributed Lucida pfb's and pfm's have the following names:
>>>
>>>     lbc.pfm   and lbc.pfb
>>>     lbd.pfm   etc.
>>> [...]
>>>
>>> But the tfm's have names:
>>>
>>> hlcbot8a.tfm
>>>     hlcbot8c.tfm
>>>     hlcbot8r.tfm [etc}
>> In TeX systems such as teTeX and MikTeX, the relation between
>> TFMs and PFBs is established by a so-called "font map file".
>> Its entries say, for instance
>>
>> hlhr8y LucidaBright "TeXnANSIEncoding ReEncodeFont" <texnansi.enc <lbr.pfb
>>
>> which means:
>>
>> The TFM with the name "hlhr8y" refers to the font file lbr.pfb,
>> with the internal /FontName "LucidaBright", and reencoded to
>> TeXNANSI encoding using the encoding file texnansi.enc
>>
>> Another example:
>>
>> hlcrim LucidaNewMath-Italic <lbmi.pfb
>>
>> Here, the TFM "hlcrim" refers to the font file lbmi.pfb;
>> the internal /FontName is "LucidaNewMath", and no reencoding
>> is applied.
>>
>> The distribution includes a map lucida.map in the directory
>> texmf/fonts/map/dvips/lucida.  This files works for teTeX,
>> MikTeX, etc.
>>
>> I don't know how Y&Y-TeX would establish the relation between
>> TFMs and physical font files.  Is it using a sort of "map file",
>> too?  If yes, you can perhaps adopt lucida.map or, at least,
>> take it as a starting point to create a map file for Y&Y-TeX.
>> And, of course, you would have to remove existing map file entries
>> that refer to the (non-standard) TFM names of the Lucida fonts
>> used previously in Y&Y-TeX.
>>
>> Note, however, that all TFMs whose names end with "8r" are
>> irrelevant for Y&Y-TeX, and the related map file entries can
>> be ignored.  Only the TFMs ending with "8y", plus those for
>> the math fonts, are useful in Y&Y-TeX.   Also, you need not
>> install any TFMs whose names end with "8t" or "8c", and which
>> have to related map file entries, anyway.
>>
>> Disclaiamer:  I know alsmost nothing about Y&Y-TeX, and I am
>> nor running a M$ Win system, so I cannot try out my above
>> sugestions in practice.  I just hope that I could point _you_
>> to the right direction.
>>
>> HTH
>> Walter
>> --
>> http://tug.org/mailman/listinfo/yandytex
>>
>> ------------------------------------------------------------------------
>>
>> --
>> http://tug.org/mailman/listinfo/yandytex

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


More information about the yandytex mailing list