TsFontStore needs to unload the loaded fonts

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #37884
    HeDiBo
    Participant

    The destructor of TsFontStore is:

    Code:
    destructor TsFontStore.Destroy;
    begin
    FFonts.Free;
    inherited;
    end;

    What is missing is something like this:

    Code:
    destructor TsFontStore.Destroy;
    begin
    UnloadFonts;
    FFonts.Free;
    inherited;
    end;

    because the fonts are still registered for the system but no longer available.

    Alternatively it could be in the destructor of TacEmbeddedFont, which already contains an UnLoadFont procedure (which is not used).

    #58116
    Support
    Keymaster

    Hi

    I will add UnloadFont in the nearest release.

    #58173
    HeDiBo
    Participant
    'Support' wrote:

    Hi

    I will add UnloadFont in the nearest release.

    Done in AC 13.17 a7.gif

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.