@bagadeprasanna The problem occurs because substitution table is not empty. Here is how it looks like for Linux:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<TableSubstitutionSettings xmlns="Aspose.Words">
<SubstitutesTable>
<Item OriginalFont="Arial" SubstituteFonts="Liberation Sans, FreeSans, Garuda, DejaVu Sans" />
<Item OriginalFont="Charcoal" SubstituteFonts="FreeSerif" />
<Item OriginalFont="Comic Sans MS" SubstituteFonts="DejaVu Sans" />
<Item OriginalFont="Courier New" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="Georgia" SubstituteFonts="Norasi, Liberation Serif, FreeSerif, DejaVu Serif" />
<Item OriginalFont="Helvetica" SubstituteFonts="FreeSans" />
<Item OriginalFont="Lucida Grande" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans" />
<Item OriginalFont="Lucida Sans Unicode" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans" />
<Item OriginalFont="Lucida Console" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="New York" SubstituteFonts="DejaVu Serif" />
<Item OriginalFont="Tahoma" SubstituteFonts="DejaVu Sans, Kalimati" />
<Item OriginalFont="Times New Roman" SubstituteFonts="FreeSerif, Liberation Serif, DejaVu Serif" />
<Item OriginalFont="Palatino Linotype" SubstituteFonts="FreeSerif" />
<Item OriginalFont="Verdana" SubstituteFonts="DejaVu Sans Mono" />
<Item OriginalFont="Trebuchet MS" SubstituteFonts="Liberation Sans, FreeSans, Garuda, DejaVu Sans" />
<Item OriginalFont="Impact" SubstituteFonts="Rekha, DejaVu Sans" />
<Item OriginalFont="Arabic Transparent" SubstituteFonts="KacstArt" />
<Item OriginalFont="Arial Baltic" SubstituteFonts="Liberation Sans, FreeSans, Garuda, DejaVu Sans" />
<Item OriginalFont="Arial CE" SubstituteFonts="Liberation Sans, FreeSans, Garuda, DejaVu Sans" />
<Item OriginalFont="Arial Cyr" SubstituteFonts="Liberation Sans, FreeSans, Garuda, DejaVu Sans" />
<Item OriginalFont="Arial Greek" SubstituteFonts="Liberation Sans, FreeSans, Garuda, DejaVu Sans" />
<Item OriginalFont="Arial TUR" SubstituteFonts="Liberation Sans, FreeSans, Garuda, DejaVu Sans" />
<Item OriginalFont="Courier New Baltic" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="Courier New CE" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="Courier New Cyr" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="Courier New Greek" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="Courier New TUR" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="Courier" SubstituteFonts="FreeMono, Liberation Mono, DejaVu Sans Mono" />
<Item OriginalFont="Tahoma Armenian" SubstituteFonts="DejaVu Sans" />
<Item OriginalFont="Times" SubstituteFonts="FreeSerif, Liberation Serif, DejaVu Serif" />
<Item OriginalFont="Times New Roman Baltic" SubstituteFonts="FreeSerif, Liberation Serif, DejaVu Serif" />
<Item OriginalFont="Times New Roman CE" SubstituteFonts="FreeSerif, Liberation Serif, DejaVu Serif" />
<Item OriginalFont="Times New Roman Cyr" SubstituteFonts="FreeSerif, Liberation Serif, DejaVu Serif" />
<Item OriginalFont="Times New Roman Greek" SubstituteFonts="FreeSerif, Liberation Serif, DejaVu Serif" />
<Item OriginalFont="Times New Roman TUR" SubstituteFonts="FreeSerif, Liberation Serif, DejaVu Serif" />
<Item OriginalFont="Microsoft Sans Serif" SubstituteFonts="DejaVu Sans" />
<Item OriginalFont="MS UI Gothic" SubstituteFonts="TakaoPGothic" />
<Item OriginalFont="PMingLiU-ExtB" SubstituteFonts="FreeSerif" />
<Item OriginalFont="Cambria Math" SubstituteFonts="FreeSerif Italic" />
<Item OriginalFont="Calibri" SubstituteFonts="Liberation Sans" />
<Item OriginalFont="MS PGothic" SubstituteFonts="TakaoPGothic" />
<Item OriginalFont="Arial Unicode MS" SubstituteFonts="TakaoPGothic" />
<Item OriginalFont="Microsoft YaHei" SubstituteFonts="MSungGB18030C-Medium" />
</SubstitutesTable>
</TableSubstitutionSettings>
You can get this XML using the following code:
TableSubstitutionRule substitutionRule = fontSettings.getSubstitutionSettings().getTableSubstitution();
substitutionRule.save("/temp/out.xml");
You can edit this XML file by adding your substitution rules and them load it using TableSubstitutionRule.load method.