How to load a custom font from a stream instead of from a file?

Currently no way to my knowledge,

But fpparsettf.pp has this:

  TTFFileInfo = class(TObject)
  ...
  public
    // Load a TTF file from file or stream.
    Procedure LoadFromFile(const AFileName : String);
    Procedure LoadFromStream(AStream: TStream); virtual;
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to