Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected presentation of IJ in Dutch #223

Open
mmg-hinchey opened this issue Apr 22, 2022 · 6 comments
Open

Unexpected presentation of IJ in Dutch #223

mmg-hinchey opened this issue Apr 22, 2022 · 6 comments

Comments

@mmg-hinchey
Copy link

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.

@ToshihikoMakita
Copy link
Contributor

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

@ToshihikoMakita
Copy link
Contributor

Also it is helpful to inform me the Formatter version.

@tgraham-antenna
Copy link
Member

tgraham-antenna commented Apr 22, 2022

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.)

@ToshihikoMakita
Copy link
Contributor

Nice follow-up!

@mmg-hinchey
Copy link
Author

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?

@ToshihikoMakita
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants