[Rseding91] [0.15.33] Unhelpful error msg when adding font without size

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 3740
Joined: Tue Jul 12, 2016 9:03 am
Contact:

[Rseding91] [0.15.33] Unhelpful error msg when adding font without size

Post by eradicator » Thu Aug 10, 2017 7:13 pm

When adding a font and forgetting to specify the size the game errors after "loading sprites..." with "gui style not defined".
Some more checks during mod loading or a more verbose error message would be nice :P

Code: Select all

data:extend{{
    type = "font",
    name = "no-size-font",
    from = "default",
    -- size = 14, -> makes game fail to load with "gui style not defined"
  }}
Author of: Hand Crank Generator, Screenshot Hotkey 2.0
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Rseding91
Factorio Staff
Factorio Staff
Posts: 9977
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.15.33] Unhelpful error msg when adding font without size

Post by Rseding91 » Wed Aug 16, 2017 6:30 pm

Thanks for the report. This is now fixed for 0.16.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”

Who is online

Users browsing this forum: No registered users