Skip to main content
Participant
February 6, 2009
Question

How to turn off ligatures in text

  • February 6, 2009
  • 1 reply
  • 2013 views
Hi

I am working in a project in indesign and facing a problem with text frame.
when I get the text run,some text automaticaly converted in ligatures like ff, ffl, fi , fl etc. and these characters doesn't show in text run.

if anybody have any idea how to urn off ligatures in indesign then please let me know.

Regards,
Jitendra Kumar Singh
This topic has been closed for replies.

1 reply

Known Participant
August 6, 2013

// ICompositionStyle::SetLigaturesOn

  InterfacePtr <IComposeScanner> composer (textModel, IID_ICOMPOSESCANNER);

          if (composer)

          {

  //Get drawingStyle from IComposeScanner

                    int32 len = 0;

                    IDrawingStyle* drawingStyle = composer->GetCompleteStyleAt (0, &len);

                    if (drawingStyle)

                    {

  //Get ICompositionStyle from drawingStyle

  InterfacePtr <ICompositionStyle> compositionStyle (drawingStyle, IID_ICOMPOSITIONSTYLE);

                              if (compositionStyle)

                              {

                                        compositionStyle->SetLigaturesOn (false);

                              }

                    }

          }