Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

scripting for "Output fewer <tspan/> elements" - SVG

Guest
Nov 25, 2008 Nov 25, 2008
I don't seem to be finding documentation for support of all available SVG options in the scripting guide (CS3). Specifically I want to set "fewer tspan elements" to "true" as in checking the box on the SVG options dialog. Is this possible?
TOPICS
Scripting
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Expert ,
Nov 25, 2008 Nov 25, 2008
Many of the things available in the UI are not able to be scripted. I don't see it in the list of export options. You may have to venture into doing by system calls.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 01, 2008 Dec 01, 2008
LATEST
Steve~

The "output fewer elements" suppresses AI CS3's kerning behavior. Therefore, the key is to adjust the kerning output controls.

If I understand the AI CS3 scripting guide and javascript reference documents correctly, sVGAutoKerning is by default set to "false", and therefore disables automatic kerning.

The quirky part of this is that, when we manually use 'Save As' to generate an svg file, the "fewer tspan elements" checkbox is not defaulted to checked ("true").

Best, Jim
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines