📱
APhone
  • What is APhone ?
  • Installation
    • Workshop
    • Configuration ( Lua part )
    • Configuration ( In-game )
  • How you make your own apps
    • Create your first app
    • App functions
    • App Metas
    • Tips you NEED to know
  • API ( Clientside )
    • Parameters ( Clientside )
    • UI - General Functions
    • UI - Required Functions
    • UI - Colors
    • UI - Fonts
    • UI - Web/Imgur Pictures
    • UI - Renderview
    • UI - Stencils
    • UI - Panels
    • Notifications
    • Rotate functions
  • API ( Shared )
    • Numbers
  • API - App Specific
    • Contacts ( Clientside )
    • Messages ( Clientside )
    • Bank ( Shared )
Powered by GitBook
On this page
  • aphone.GetFont(string font_name)
  • Fonts list

Was this helpful?

  1. API ( Clientside )

UI - Fonts

APhone uses function to get fonts. Here, the list and function to get them

aphone.GetFont(string font_name)

APhone uses function to get the right fonts based on the display mode. This sizes automatically based on screen size and display

This will return the right font name.

aphone.GetFont("Roboto_40_700")
aphone.GetFont("Roboto_45")
aphone.GetFont("Little")

Fonts list

Font name

Real Font name

Font size ( 3D )

Weight

Roboto18_500

Roboto

18

500

Little

Roboto

20

1000

Little2

Roboto

20

500

Small

Roboto

25

500

Medium

Ebrima

30

550

MediumHeader

Roboto

30

Roboto_40

Roboto

40

Roboto_(40, 45)_700

Roboto

Look name

700

Roboto_( 45, 60, 80 )

Roboto

Look name

550

StartScreen

Strasua

80

DateShow_200

Arial

200

SVG_( 16, 20, 25, 30, 40, 60, 76, 90, 180 )

Akulla_SVG

Look name

BigDarkweb

Rockwell

60

HeaderDarkWeb

Rockwell

30

PreviousUI - ColorsNextUI - Web/Imgur Pictures

Last updated 4 years ago

Was this helpful?