Results 1 to 10 of 35

Thread: Pascal eXtended Library (aka Asphyre) released!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #19
    Report a bug: TBitmapFonts.Font[fontname] return a nil value, change TBitmapFonts.insert(...) code:

    Code:
    function TBitmapFonts.Insert(const Font: TBitmapFont): Integer;
    begin
      Result := Length(FFonts);
      SetLength(FFonts, Result + 1);
    
    
      FFonts[Result] := Font;
      FFonts[Result].StyleTags := FStyleTags;
      FFonts[Result].Canvas := FCanvas;
      FSearchListDirty := True; //add this code
    end;
    Last edited by devchenxip; 29-06-2016 at 10:14 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •