TSvgReader.AddFontFromResource

function AddFontFromResource(const resName: string; resType: PChar): Boolean;

Loads a font into the TSvgReader object, so it's available for text rendering. At least one font must be registered to display text in in SVG image. Multiple fonts will better support the variety of font styles (bold, italic) and font families (serif, sans-serif and monospace), and the TSvgReader object will choose the best one from those available.

Example:
  {$R Font_Liberation_Sans.res}
  ...
  
  svgReader.AddFontFromResource(
    'Liberation_Sans_Regular', RT_RCDATA);