[lucida] Lucida + XEP PDF rendering engine?

Norbert Preining preining at logic.at
Tue Aug 31 21:35:27 CEST 2010


Hi Robert,

Having no idea what your XEP system is about, but ...

On 09/01/2010 12:59 AM, Robert Nagle wrote:
>   <font-group label="LucidaSans">
>        <font-family name="LucidaSans">
>          <font><font-data afm="lsr.afm"/></font>
>          <font style="italic"><font-data afm="lbi.afm"/></font>
>          <font style="italic" weight="bold"><font-data ttf="lsbi.afm"/></font>
>        </font-family>
>      </font-group>
>
> XEP gives me an error message:
>
> Started: "C:\Program Files (x86)\XEP\xep.bat" -fo "I:\My
> Documents\work-related\4guide\index.xml_xslt" -pdf "I:\My
> Documents\work-related\4guide\4rough.pdf"
> [error] No outline file for font metric 'file:/C:/Program Files
> (x86)/XEP/fonts/lsr.afm'; font cannot be embedded
> [error] No outline file for font metric 'file:/C:/Program Files

Is quite clear. There is nowhere a specification where the pfb/pfa
file is, so the actual font definition.

Looking down at your other example:

<font-group label="Assorted Type 1" embed="true">
       <font-family name="OmegaSerifIPA">
         <font><font-data afm="IPA.afm" pfa="IPA.pfa"
glyph-list="IPA.glyphs"/></font>
       </font-family>
       <font-alias name="OmegaIPA" value="OmegaSerifIPA"/>
       <font-alias name="Phonetic" value="OmegaSerifIPA"/>
     </font-group>

I would assume that you have to put somewhere the pfa or pfb.
What about trying:

 >   <font-group label="LucidaSans">
 >        <font-family name="LucidaSans">
 >          <font><font-data afm="lsr.afm"/></font>
 >          <font style="italic"><font-data afm="lbi.afm" 
pfb="lbi,pfb"/></font>
 >          <font style="italic" weight="bold"><font-data 
ttf="lsbi.afm"/></font>
 >        </font-family>
 >      </font-group>

Mind the added ...pfb="lbi.pfb"

If that does not work, try
	pfa="lbi.pfb"
and if that still doesn't work convert the pfb font
to pfa (there are many tools for that) and then add
	pfa="lbi.pfa"

Hope that helps.

Norbert


More information about the lucida mailing list