• Register
Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes

I'm trying to use the API to export several documents rendering the text as "HTML Web-safe fallback fonts" or "HTML with local font embedding". But everytime the text is rendered as image.

Here's the code, what I'm doing wrong?

  in5api.run({
      targFolder: 'folderToExtport',
      pageRangeStr: '1-end',
      textrender: 'html',
      outputFormat: 'multipageweb',
      imageExport: 'hq',
      });

I'm testing on a very simple file. Just a textbox and a simple text. As you can see on the image below, inspecting the HTML we have the text generated as image:

asked in how_to by (170 points)
    

1 Answer

0 votes
 
Best answer

It's case-sensitive. textrender should be textRender with a capital "R."

https://ajarproductions.com/pages/products/in5/api.php#text-rendering

answered by (147k points)
selected ago by