In Adobe Acrobat DC Pro you can use the Preflight tool for this.
I want to do it with my program
You will use Adobe Acrobat or not?
I'm working on a Acrobat plug-in.
I want to know how to implement conversion text to outline in the plug-in.
May be that you can execute preflight profile in the plugin.
I'm not too good at using Acrobat
What should I do?
Can you say something about the procedure?
Please note that outlining fonts has a lot of negative implications and should be considered a very last resort and then only used when printing.
I found the way to use Preflight
Can I customize profile in Acrobat?
Why want you customize profiles?
I want to set profile according to the specific requirements
Use the existing profile.
Preflight.getProfileByName("Convert fonts to outlines");
Of course – use the Preflight UI to create it.