Re: [docbook-apps] Using custom fonts

From
Alan Oehler <>
Date
2015-03-06T22:40:43+00:00
ID
CAPGDEsV_q1WsA1Zx9RTd448c5_g6UDCopRYGKU3JwxQa3aV=
Thread
Re: [docbook-apps] Using custom fonts
Made that change, and it didn't help the emphasis issue.

On Fri, Mar 6, 2015 at 2:32 PM, Thomas Schraitle <> wrote:
Hi Alan,

Am Freitag, 6. März 2015, 23:28:56 schrieb Thomas Schraitle:

>

> > I created a fop config file to register Trebuchet as my basic body font

> > and Consolas as my monotype font.

> [...]

> >

> > I added all four variants of both fonts (normal, italic, bold and bold

> > italic). Is there some other detail I'm missing?

>

> "Register" Trebuchet? Which version of FOP do you use?

>

> As far as I know, registering a font is not needed anymore for >1.0.

I forgot to add my example. Here is an excerpt of the PDF renderer:

 <renderers>

  <renderer mime="application/pdf">

   <fonts>

    <!--

        register all the fonts found in a directory

        use recursive="true" to also include subdirectories

     -->

     <directory>/usr/share/fonts/truetype/</directory>

     <!-- automatically detect operating system installed fonts -->

     <auto-detect/>

   </fonts>

  </renderer>

 </renderers>

--

Gruß/Regards

  Thomas Schraitle

---------------------------------------------------------------------

To unsubscribe, e-mail: 

For additional commands, e-mail: 

-- 

Regards,
Alan

 

Alan C. Oehler
Senior Technical Writer

Phone: 650-919-8856 | Email:  
Instart Logic | 450 Lambert Ave, Palo Alto, CA 94306 | instartlogic.com