Thread: RuneScape Fonts

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1 RuneScape Fonts 
    Registered Member
    Join Date
    Nov 2006
    Posts
    699
    Thanks given
    1
    Thanks received
    32
    Rep Power
    524
    The RuneScape 317 client loads four main fonts from the cache.

    p11_full - A font with a point size of 11.
    p12_full - A font with a point size of 12.
    b12_full - A font with a point size of 12 and bolded.
    q8_full - A font which is used in interfaces (the fancy style).

    In the refactored clients, the specified privates are:
    p11_full: aTextDrawingArea_1270
    p12_full: aTextDrawingArea_1271
    b12_full: chatTextDrawingArea
    q8_full: aTextDrawingArea_1273

    In the non-refactored clients, the specified privates are:
    p11_full: aClass30_Sub2_Sub1_Sub4_1270
    p12_full: aClass30_Sub2_Sub1_Sub4_1271
    b12_full: aClass30_Sub2_Sub1_Sub4_1272
    q8_full: aClass30_Sub2_Sub1_Sub4_1273

    Whenever the client needs to write something using the font, it makes a call over to Class30_Sub2_Sub1_Sub4 (or TextDrawingArea) using one of the privates specified above. Changing the font is a very simple concept. If you want to use a different font, you just have to specify a different font to be calling the class.

    For example, the "Public chat" string in the bottom-left of the client looks like:
    Code:
    aTextDrawingArea_1271.method382(0xffffff, 55, "Public chat", 28, true);
    The above is currently using p12_full, which is "A font with a point size of 12". So in order to change the font size, you need to use a different font that is loaded into the client. Changing aTextDrawingArea_1271 to aTextDrawingArea_1270 will load the p11_full font and draw it using a different font size.

    I'm not sure as to how you would go about doing so, but maybe if someone did some digging with the font cache files, they could manipulate the courses of action of the original font files and load a new font into the client. That would be pretty nice. (H)

    Hopefully this tutorial was helpful. Some credits to Drags and Danno.

    ~Z
    Reply With Quote  
     

  2. #2  
    x19
    Guest
    Wow, amazing zachera.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Jan 2007
    Posts
    217
    Thanks given
    0
    Thanks received
    3
    Rep Power
    154
    Yay =] Sexy fonts
    Reply With Quote  
     

  4. #4  
    razvanx
    Guest
    so u mean if i change
    Code:
    aClass30_Sub2_Sub1_Sub4_1271.method382(65280, 55, anInt939, "       @[email protected] Chat: @[email protected]", 22, true);
    to

    Code:
    aClass30_Sub2_Sub1_Sub4_1270.method382(65280, 55, anInt939, "       @[email protected] Chat: @[email protected]", 22, true);
    the font will be 11? btw is 11 the font thats the smallest like rs has on the chat buttons?

    great work btw u wrote in refactored 2 times


    Edit mfg ty so much it worked :O
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2006
    Posts
    699
    Thanks given
    1
    Thanks received
    32
    Rep Power
    524
    Quote Originally Posted by razvanx View Post
    so u mean if i change
    Code:
    aClass30_Sub2_Sub1_Sub4_1271.method382(65280, 55, anInt939, "       @[email protected] Chat: @[email protected]", 22, true);
    to

    Code:
    aClass30_Sub2_Sub1_Sub4_1270.method382(65280, 55, anInt939, "       @[email protected] Chat: @[email protected]", 22, true);
    the font will be 11? btw is 11 the font thats the smallest like rs has on the chat buttons?

    great work btw u wrote in refactored 2 times


    Edit mfg ty so much it worked :O
    Yes, changing that code to that code will change the font size. And yes, I believe it is the smallest.

    ~Z
    Reply With Quote  
     

  6. #6  
    Optimist

    Vice's Avatar
    Join Date
    Nov 2007
    Age
    25
    Posts
    3,263
    Thanks given
    3
    Thanks received
    59
    Rep Power
    2536
    Nice good job zachera
    Jack
    Scotland
    Undergraduate - BSc Computing Science
    Reply With Quote  
     

  7. #7  
    Registered Member
    Bring Me The Horizon's Avatar
    Join Date
    May 2007
    Age
    26
    Posts
    1,370
    Thanks given
    2
    Thanks received
    4
    Rep Power
    335
    Hella nice job dad.
    Reply With Quote  
     

  8. #8  
    razvanx
    Guest
    heh ty again z looks really hot xD

    Reply With Quote  
     

  9. #9  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,200
    Thanks given
    7,190
    Thanks received
    12,174
    Discord
    View profile
    Rep Power
    5000
    FUCKING AZMZING BIG UP Z LOLOL U R SO SEXY
    ds

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  10. #10  
    Administrator

    Kevy's Avatar
    Join Date
    Jul 2006
    Posts
    1,338
    Thanks given
    158
    Thanks received
    1,724
    Discord
    View profile
    Rep Power
    5000
    Drags is funny..
    Thanks, Kevin.
    Reply With Quote  
     

Page 1 of 3 123 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Tags for this Thread

View Tag Cloud

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