Skip to main content
snegig
Known Participant
December 19, 2012
Question

Bullet Outline

  • December 19, 2012
  • 1 reply
  • 1323 views

Hi Scripter.

We have lot's of bullet list in my InDesign cs5.5 files. When we export PDF then show CID fonts in bullet. If we out line bullet in InDesign then solve this problem. Can anybody have script all bullet in indesign outline.

Thanks for advance.

This topic has been closed for replies.

1 reply

Known Participant
January 2, 2013

Hi Snegig,

I am a learner, I have created this script. Might be useful. Try this below.

//create outline on character

var mydoc = app.activeDocument;

var mytfs=mydoc.stories.everyItem().words.everyItem().getElements( );

for (i=0;i<mytfs.length;i++){

    mytf=mytfs

    if (mytf.contents=="•"){

        mytf.createOutlines(true);

        }

    }

Sundar

snegig
snegigAuthor
Known Participant
January 2, 2013

Hi Sundar,

It's work fine in text but not work on the table. I have lot's of bullet in table.

Thank soooo much.

Known Participant
January 2, 2013

Snegig,

Try this, be sure this will create outline for all the bullets including the non-CID fonts. If you want to change a particular font, then we have to go in another way.

//create outline on characters

var mydoc = app.activeDocument;

var mytfs=mydoc.stories.everyItem().words;

for (i=0;i<mytfs.length;i++){

    mytf=mytfs

    if (mytf.contents=="•"){

        mytf.createOutlines(true);

    var tabletxts=mydoc.stories.everyItem().tables.everyItem().cells.everyItem().getElements();

        for (k=0;k<tabletxts.length;k++){

            tabletxt=tabletxts

            if (tabletxt.contents=="•"){

                tabletxt.createOutlines(true);

                }

            }

        }

    }

Thanks