Font Substitution

Rule Based Font Substitution

To replace the fonts by setting some rules of replacement following steps are used:

  • Load the desired presentation.
  • Load the font that is to replaced inside the presentation.
  • Load the replacing font.
  • Add rule for replacement.
  • Add the rule to presentation font replacement rule collection.
  • Generate the slide image to observe the effect.

The implementation of the above steps is given below.