pdf5-ml icon indicating copy to clipboard operation
pdf5-ml copied to clipboard

Unexpected presentation of IJ in Dutch

Open mmg-hinchey opened this issue 2 years ago • 6 comments

When we publish our Dutch (nl) content in PDF, the diaphram "IJ" presents in an unexpected way when capitolized:
image <fo:block start-indent="inherited-property-value(start-indent) + 7mm" end-indent="10mm" font-size="inherit" id="unique_15_HEARTRATEALARMINTERFERENCEPoorCable-231C7152">DON'T WEAR A HIJAB IN THE BIJOU.</fo:block>

The same content looks as expected, with a distinguishable I and J when published in English. image <fo:block start-indent="inherited-property-value(start-indent) + 7mm" end-indent="10mm" font-size="inherit" id="unique_15_HEARTRATEALARMINTERFERENCEPoorCable-231C7152">DON'T WEAR A HIJAB IN THE BIJOU.</fo:block>

The fo:block is identical - and the text does not show the combined letters. The only difference I can find in the code is that English lists 3 font famileis, while Dutch lists one.

Please help me understand what is going on here.

mmg-hinchey avatar Apr 22 '22 17:04 mmg-hinchey

What font family have you assigned for Dutch publishing? Also can you attach your Formatter setting file to this thread?

ToshihikoMakita avatar Apr 22 '22 23:04 ToshihikoMakita

Also it is helpful to inform me the Formatter version.

ToshihikoMakita avatar Apr 22 '22 23:04 ToshihikoMakita

It's the result of a new Dutch 'IJ' replacement option. See https://www.antenna.co.jp/AHF/help/en/ahf-optset.html#text-replace-Dutch-IJ

It can be disabled with this setting:

<formatter-config>
  <formatter-settings text-replace-Dutch-IJ="false" />
</formatter-config>

(Copied from an Antenna House USA Support response.)

tgraham-antenna avatar Apr 22 '22 23:04 tgraham-antenna

Nice follow-up!

ToshihikoMakita avatar Apr 23 '22 01:04 ToshihikoMakita

Thank you for the information.
I'm using an Antennahouse plugin to the DITA Open Toolkit on my desktop. There doesn't seem to be a Option Setting file in the plugin. I see a paramater that would seem to call to it (ahf.opt), but the file doesn't exist. Can I create one?

mmg-hinchey avatar Apr 25 '22 18:04 mmg-hinchey

Yes, you need to specify ahf.opt by yourself.

  • -Dahf.opt=PathToOptionSettingFile if you are using ant to invoke DITA-OT
  • --ahf.opt=PathToOptionSettingFile if you are using dita command

ToshihikoMakita avatar Apr 25 '22 20:04 ToshihikoMakita