OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Using custom fonts


Thanks, Thomas.

I'm using fop 1.1. I'll try setting the base directory instead of the fonts individually and see if that resolves the issue.


On Fri, Mar 6, 2015 at 2:28 PM, Thomas Schraitle <tom_schr@web.de> wrote:
Hi Alan,

Am Freitag, 6. März 2015, 14:13:40 schrieb Alan Oehler:
> I created a fop config file to register Trebuchet as my basic body font and
> Consolas as my monotype font. Worked beautifully – except it seems like all
> the places where I'd used <emphasis>...</emphasis> are no longer
> italicized, and where I'd used <emphasis role="bold">...</emphasis> are
> no longer bolded (emboldened?).
>
> 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. You only
have to insert your base directory of all your fonts and FOP does the rest.
See [1] of an example of FOP's configuration file.

If you use an older version than 1.0, I would strongly suggest to upgrade to
the latest version.

[1] https://xmlgraphics.apache.org/fop/1.1/configuration.html#general-elements

--
Gruß/Regards
  Thomas Schraitle


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org




--
Regards,
Alan

Instart Logic 

Alan C. Oehler
Senior Technical Writer

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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]