Help on Making your own font

Discussion in 'Scar/Simba Help' started by mal1t1a, Mar 28, 2008.

Help on Making your own font
  1. Unread #1 - Mar 28, 2008 at 11:19 PM
  2. mal1t1a
    Joined:
    Aug 9, 2007
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0

    mal1t1a Newcomer

    Help on Making your own font

    Any Idea's? I'm trying to make my own font an i tried using loadcharsfromfont2 and its not really working.

    I Tried This:

    Code:
    Program New;
    
    function FindText(var cx, cy: Integer; txt: string; font, xs, ys, xe, ye:
      Integer): Boolean; //by Stupid3ooo
    var
      S: Integer;
    begin
      S := CreateBitmapMaskFromText(txt, font);
      if xs <= 0 then xs := 0;
      if ys <= 0 then ys := 0;
      Result := FindBitmapMaskTolerance(S, cx, cy, xs, ys, xe, ye, 30, 30);
      FreeBitmap(S);
    end;
    
    var
    a,x,y:integer;
    begin
    a := loadcharsfromfont2('Ms Sans Serif',10,false,false,false,false);
    if findtext(x,y,'Hi',a,1,1,1279,799) then
    begin
    writeln('Hi Found at: '+inttostr(x)+', '+inttostr(y));
    end;
    end.
    If you have any ideas on what i'm doing wrong or if you can help me.
     
  3. Unread #2 - Apr 21, 2008 at 11:17 PM
  4. mal1t1a
    Joined:
    Aug 9, 2007
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0

    mal1t1a Newcomer

    Help on Making your own font

    Wow, i like how FAST this help place is. not one SINGLE post. I guess that is why i never come here...............



    **BUMP!!!!**
     
< Do not click. | How do I get SCAR to work? >

Users viewing this thread
1 guest


 
 
Adblock breaks this site