merci beaucoup!

This worked:
<arg line="-fopconf @{fo-config}" />

We are using 3_15_0 with bundled fop.
________________________________
From: Hussein Shafie <[email protected]>
Sent: Saturday, February 24, 2024 3:40 AM
To: Caroline Leccese <[email protected]>
Cc: '[email protected]' <[email protected]>
Subject: Re: [ditac] fonts with fop in ditac

On 2/24/24 05:46, Caroline Leccese wrote:
>
> Do we register the fop.xconf the same in 3_15_0?

Yes. In principle, ditac 3.15 is 100% compatible with  ditac 3.14.


>
> This works for us in 3_14_0, but not 3_15_0:
> <arg line="-foconverter FOP pdf '@{fo-processor} -c @{fo-config} -fo %I
> -pdf %O'" />
>
> I've checked the paths and they're correct, but the PDF is not
> displaying in Tahoma font.
>

You are right. This does not work.

It seems that we have a *regression* here. Sorry for that. We'll fix
this bug to in next release. Note that this bug is specific to ditac
3.15+bundled FOP ("ditac-3_15_0-plus-fop.zip" distribution). It does not
happen with ditac 3.15 without bundled FOP.



--> Meanwhile, ditac 3.15 features a *new* *simpler* method for
specifying a custom FOP configuration file. See option -fopconf,
https://www.xmlmind.com/ditac/_distrib/doc/manual/webhelp/commandLine.html#commandLine__option-fopconf

If you are using ditac 3.15+bundled FOP, please replace:
---
<arg line="-foconverter FOP pdf '@{fo-processor} -c @{fo-config} -fo %I
-pdf %O'" />
---
by simply:
---
<arg line="-fopconf @{fo-config}" />
---

For example, this command invoking ditac 3.15+bundled FOP worked fine
for me:
---
~/ditac_site/site/_download/ditac-3_15_0/docsrc/manual$ ../../bin/ditac
-vvv -fopconf ~/tmp/fop.conf manual.pdf manual.ditamap

ditac: DEBUG: Registering external XSL-FO converter FOP[ps]:
""/home/hussein/ditac_site/site/_download/ditac-3_15_0/plus/fop-2.9/fop/fop"
-q -r -c "/home/hussein/tmp/fop.conf" -fo "%I" -ps "%O""...

ditac: DEBUG: Registering external XSL-FO converter FOP[pdf]:
""/home/hussein/ditac_site/site/_download/ditac-3_15_0/plus/fop-2.9/fop/fop"
-q -r -c "/home/hussein/tmp/fop.conf" -fo "%I" -pdf "%O""...

ditac: INFO: Loading
"/home/hussein/ditac_site/site/_download/ditac-3_15_0/docsrc/manual/manual.ditamap"...
...


[www.cadituk.com] <https://www.cadituk.com>
Caroline Leccese
Stylesheet Developer
[email protected]

CADIT Inc





Confidentiality Statement: This e-mail may contain confidential information and 
may be legally privileged. It is intended solely for the addressee. Access to 
this e-mail by anyone else is unauthorized. If you are not the intended 
recipient you must not use, disclose, distribute, copy, print or rely on this 
e-mail. If an addressing or transmission error has misdirected this e-mail, 
please notify the author by replying to this e-mail.
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to