Jump to content
You must now use your email address to sign in [click for more info] ×

Publisher has incorrect sign on decoration when importing XML from InDesign


Recommended Posts

I imported an InDesign file, and found that the formatting was off in the resulting file. On inspection, I can see that the import code has the wrong sign on one of the XML objects.

As can be seen in this screenshot, the "RuleBelowOffset" of "17.9999…3" is being imported as "Bottom: -1p6.5" (with a minus sign) when it should be set as "Bottom: 1p6.5" (with a positive value).

In the screenshot, you can see that I have corrected the first entry ("salads & sauces") and the decoration appears correctly below the text. But in the subsequent entries (such as "soups") the decoration is appearing at the x-height…

I can fix these manually as I only have a few files to import, but it would be great to get this reviewed and fixed. There may be other places where that sort of object ("RuleBelow…") is being given an incorrect sign.

Affinity Error 2022-12-30 at 1.33.13 PM.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.