Existing WebApp Eorror with 1.3

These instructions can't be complete as just adding AddFontToCache to OnCreate doesn't compile.


When I add WebLib.TMSFNCPDFLib to the uses list and code:


unit Unit3;

interface

uses
  System.SysUtils, System.Classes, JS, Web, WEBLib.Graphics, WEBLib.Controls,
  WEBLib.Forms, WEBLib.Dialogs, WebLib.TMSFNCPDFLib;

type
  TForm3 = class(TWebForm)
    procedure WebFormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form3: TForm3;

implementation

{$R *.dfm}

procedure TForm3.WebFormCreate(Sender: TObject);
begin
 AddFontToCache('xxx.ttf');
end;

end.

The only error I get is the expected error:
GET http://localhost:8000/Project3/xxx.ttf 404 (Not Found)

Sorry, yes, a genuine font has to be added to the project. Please download the project from https://simplyaccounts.net/Downloads2/TMSWebCoreFont.zip

This helped to identify the issue and apply a fix. The fix will be in TMS FNC Core and we expect to release an update this week.

Great, thanks.