Prototype/Font

From Official Factorio Wiki
Revision as of 08:22, 25 October 2017 by Bilka (talk | contribs) (Created page with "== Basics == Fonts are used in all gui in the game. == Mandatory properties == === type === '''Type''': Types/string Must be "font". === name === '''Type''': Types/s...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basics

Fonts are used in all gui in the game.

Mandatory properties

type

Type: Types/string

Must be "font".

name

Type: Types/string

Name of the font.

size

Type: Types/uint

Size of the font.

from

Type: Types/string

Optional properties

border

Type: Types/bool

border_color

Type: Table of some sort

Example

{
    type = "font",
    name = "default-button",
    from = "default-bold",
    size = 18
  },