Antenna House/Image Magick setting for auto-scaling images

Many years ago we updated Antenna House settings to auto-scale images so they would fit into our PDF pages (even if they're too wide) while retaining good quality. Since upgrading to Tridion Docs r14, the same images that were auto-scaled to fit in PDF pages are bleeding off the edges, and there are way too many problematic images to update manually.

I forgot the Antenna House settings that we updated. Can anyone point me in the right direction?

Thanks as always...
Paul M.

Parents
  • Hi Paul,

    We use Ghostscript (not ImageMagick) for some of our scaling needs with vector graphics. To set that up, changes are made in the following file ...

    E:\InfoShare\App\Utilities\AntennaHouse\XSLFormatter\XfoSettings.xml

    The change to connect Ghostscript is added as two attributes on the <pdf-settings> element ...

    <pdf-settings EPS-processor="ghostscript" ghostscript="C:\Path_to_Ghostscript_executable\gswin64.exe" />

    Perhaps your processing instructions belong in this file as well.

    Hope that helps. 

    Regards,
    Tom D.

  • Tom, this is very, very helpful and timely, as we planned to meet with SDL tomorrow morning to compare our previous/current CMS environment configs. I can now compare the previous/current XfoSettings.xml files beforehand (the filename sounds very familiar - think it's the right place to look). Thanks again for the great help!!
    Paul M.

  • FYI for the community, Tom D. was spot-on. We updated \InfoShare\App\Utilities\AntennaHouse\XSLFormatter\XfoSettings.xml to include the following code:
    <formatter-config>
    <formatter-settings latin-ligature="true" pair-kerning="true" pxpi="120"/>
    <font-settings missing-glyph="2" missing-font="2" use-windows-api="false"/>
    <pdf-settings embed-all-fonts="true"/>
    </formatter-config>

    When Antenna House is installed anew, it starts with an empty XfoSettings.xml file. I had forgotten about this (wrote it down for our next upgrade!).

    Thanks again, Tom D., and many thanks to Frank G. (SDL) for helping with this today.

    Paul M.

  • I have to give most of the credit to Dana F. (our IT superstar) for refreshing my memory on the subject. I asked her about it when I saw your post. Thanks for providing the data from the file, in case we ever decide to use ImageMagick instead of Ghostscript for this processing. 

  • Tom and Paul thank you both for your active contributions to the community. I am very pleased to see this kind of collaboration that adds really valuable knowledge.

    Have a great weekend
       John

Reply Children
No Data