[xep-support] Generating PDF, Embedding all fonts

Tommy Nordgren tommy.nordgren at comhem.se
Thu Dec 13 09:06:24 PST 2007


On 13 dec 2007, at 14.18, Werner Donné wrote:

> I can't run XEP with those fonts. I tried Monaco.dfont and the
> message is:
>
> Unsupported file format or broken file found reading font metric from
> file:/var/local/XEP4/fonts/Monaco.dfont: Not a TrueType/OpenType  
> file, or
> unsupported TrueType version: 0.256
>
> I don't know what kind of fonts they are.
>
> Werner.
>
	
Both 'Linotype Font Explorer' and Apple's 'Font Book' claim that the  
fonts are truetype.


> Tommy Nordgren wrote:
>> On 13 dec 2007, at 09.24, Werner Donné wrote:
>>> Hi Tommy,
>>>
>>> In your xep.xml file you have to add an element like this:
>>>
>>> <font-family name="AquaKana" embed="true" subset="true">
>>> <font>
>>>   <font-data otf="/System/Library/Fonts/AquaKanaRegular.otf"/>
>>> </font>
>>> <font style="bold">
>>>   <font-data otf="/System/Library/Fonts/AquaKanaBold.otf"/>
>>> </font>
>>> </font-family>
>>>
>>> I would advice you to place such elements in a separate entity
>>> and include the following to your xep.xml file:
>>>
>>    The fonts I'm currently trying to embed are the base 14 fonts,
>> stored in files with suffix .dfont
>>> <!DOCTYPE config
>>> [
>>> <!ENTITY fonts SYSTEM "fonts.local.ent">
>>> ]>
>>>
>>> <config xmlns...>
>>>
>>> &fonts;
>>>
>>> ...
>>>
>>> </config>
>>>
>>> Now, when you upgrade XEP, you only have to put back the document
>>> type declaration and the entity reference.
>>>
>>> Best regards,
>>>
>>> Werner.
>>>
>>> Tommy Nordgren wrote:
>>>> How do I create and use a XEP configuration file, that uses the  
>>>> version of the
>>>> standard fonts distributed with Mac OS X Leopard.
>>>> No matter what I try, the preflight option in acrobat wil show  
>>>> that fonts are not embedded
>>>> -------------------------------------
>>>> This sig is dedicated to the advancement of Nuclear Power
>>>> Tommy Nordgren
>>>> tommy.nordgren at comhem.se
>>>> -------------------
>>>> (*) To unsubscribe, send a message with words 'unsubscribe xep- 
>>>> support'
>>>> in the body of the message to majordomo at renderx.com from the  
>>>> address
>>>> you are subscribed from.
>>>> (*) By using the Service, you expressly agree to these Terms of  
>>>> Service http://www.renderx.com/terms-of-service.html
>>>
>>> -- 
>>> Werner Donné  --  Re                                     http://www.pincette.biz
>>> Engelbeekstraat 8                                               http://www.re.be
>>> BE-3300 Tienen
>>> tel: (+32) 486 425803    e-mail: werner.donne at re.be
>>> -------------------
>>> (*) To unsubscribe, send a message with words 'unsubscribe xep- 
>>> support'
>>> in the body of the message to majordomo at renderx.com from the address
>>> you are subscribed from.
>>> (*) By using the Service, you expressly agree to these Terms of  
>>> Service http://www.renderx.com/terms-of-service.html
>> ----------------------------------
>> Skinheads are so tired of immigration, that they are going to move  
>> to a country that don't accept immigrants!
>> Tommy Nordgren
>> tommy.nordgren at comhem.se
>> -------------------
>> (*) To unsubscribe, send a message with words 'unsubscribe xep- 
>> support'
>> in the body of the message to majordomo at renderx.com from the address
>> you are subscribed from.
>> (*) By using the Service, you expressly agree to these Terms of  
>> Service http://www.renderx.com/terms-of-service.html
>
> -- 
> Werner Donné  --  Re                                     http://www.pincette.biz
> Engelbeekstraat 8                                               http://www.re.be
> BE-3300 Tienen
> tel: (+32) 486 425803	e-mail: werner.donne at re.be
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep- 
> support'
> in the body of the message to majordomo at renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of  
> Service http://www.renderx.com/terms-of-service.html

----------------------------------
Skinheads are so tired of immigration, that they are going to move to  
a country that don't accept immigrants!
Tommy Nordgren
tommy.nordgren at comhem.se




-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html



More information about the Xep-support mailing list