Package com.itextpdf.typography.config
      
 
      Class TypographyConfigurator
      java.lang.Object 
      
 
     
       com.itextpdf.typography.config.TypographyConfigurator
      
 
     
       Provides a way to configure certain aspects of pdfCalligraph processing, like applying OpenType features to specific scripts inside some layout elements (whole document, paragraph, text chunk etc).
      
 
     -  
        
Constructor Summary
Constructors -  
        
Method Summary
Modifier and TypeMethodDescriptionaddFeatureConfig(IFeaturesConfig featureConfig) AddsIFeaturesConfiginstance into consideration for text processing.Gets scripts that are affected by this instance ofTypographyConfigurator.FindsIFeaturesConfigthat was already set for the given script. 
-  
        
Constructor Details
-  
           
TypographyConfigurator
public TypographyConfigurator() 
 -  
           
 -  
        
Method Details
-  
           
addFeatureConfig
AddsIFeaturesConfiginstance into consideration for text processing.If two added
IFeaturesConfigare associated with the same script, only the one that was added latest is applied for this script. When several scripts are associated with the singleIFeaturesConfig, it should rather mean that those scripts are processed in exactly the same manner, rather than they have some mutual features.- Parameters:
 - 
              
featureConfig- a configuration to be applied. - Returns:
 - 
              this 
TypographyConfiguratorinstance. 
 -  
           
getFeatureConfig
FindsIFeaturesConfigthat was already set for the given script.- Parameters:
 - 
              
script- anCharacter.UnicodeScriptfor which corresponding configuration is searched. - Returns:
 - 
              the 
IFeaturesConfigfor the givenCharacter.UnicodeScript, or null if no configuration was set. 
 -  
           
getConfiguredScripts
Gets scripts that are affected by this instance ofTypographyConfigurator.- Returns:
 - 
              a 
Setof scripts which processing is defined by someIFeaturesConfig. 
 
 -