Re: [docbook-apps] How do I embed fonts in a PDF?

From
Kacques Goucry
Date
2007-09-15T21:32:25+00:00
ID
Thread
Re: [docbook-apps] How do I embed fonts in a PDF?
On 15 sept. 07, at 23:26, Sheldon Plankton wrote:

> Thanks Jacques ... can you point me to that XEP example ... BTW  
> what's XEP? :)

XEP is another xslt-fo processor (not free) like FOP.

The sample is that :

<font-family name="Palatino" embed="true" ligatures="&#xFB00; &#xFB01;  
&#xFB02; &#xFB03; &#xFB04;">
	<font>
		<font-data ttf="pala.ttf"/>
	</font>
	<font style="italic">
		<font-data ttf="palai.ttf"/>
	</font>
	<font weight="bold">
		<font-data ttf="palab.ttf"/>
	</font>
	<font weight="bold" style="italic">
		<font-data ttf="palabi.ttf"/>
	</font>
</font-family>

With the keyword embed="true" in the <font-family> tag, the palatino  
font will be embedded in the PDF document generated by XEP.

Jacques
-- 
« Mac OS X Server à votre Service » est épuisé.
Vous pouvez désormais l'acquérir en PDF
<http://www.foucry.net/Redaction/service/service.html>