System.ArgumentException at Orts.Viewer3D.Popups.WindowTextFont..ctor (1.1.3487, AU NSW Great Zig Zag, "Font 'Arial' does not support style 'Regular'.")

Bug #1564251 reported by Michael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
New
Undecided
Unassigned

Bug Description

My 4 year old REALLY wants to drive trains and I seem to have a problem with a font type that I use every day!
Please, please help!!

Best Regards,

Michael Schulz
Customer Service Tester
Harry and David

This is a log file for Open Rails. Please include this file in bug reports.
--------------------------------------------------------------------------------
Date/time = 3/30/2016 11:07:12 PM (2016-03-31 06:07:12Z)
BIOS = Ver 1.00 A08 (Dell Inc.)
Processor = Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz (8 threads, 4 cores, 1.6 GHz) (L1 Cache 64 KB) (L2 Cache 256 KB) (L3 Cache 6144 KB)
Memory = 4.0 GB
Video = ATI Mobility Radeon HD 4650 (1.0 GB RAM) (atikmpag 8.14.1.6264)
Display = \\.\DISPLAY1 (1920 x 1080, 32-bit, primary, 0 x 0)
Sound = AMD High Definition Audio Device (atihdw76 7.12.0.7708)
Sound = IDT High Definition Audio CODEC (stwrt64 6.10.6267.0)
Disk = C: (Local Fixed Disk, NTFS, 451.1 GB, 268.8 GB free)
Disk = D: (CD-ROM Disc, )
Disk = E: (Removable Disk, NTFS, 7.5 GB, 0.0 GB free)
Disk = F: (CD-ROM Disc, )
OS = Microsoft Windows 7 Home Premium 64-bit (6.1.7601)
Runtimes = 2.0.50727 SP2 3.0 SP2 3.5 SP1 4 Client 4 Full 4.0 Client
Runtime = 2.0.50727.5485 (32bit)
--------------------------------------------------------------------------------
Version = 1.1.3487
Build = 0.0.5928.36023 (2016-03-25 20:00:46Z)
Logfile = C:\Users\Michael\Desktop\OpenRailsLog.txt
Executable = RunActivityLAA.exe
Argument = -start
Argument = -explorer
Argument = C:\Open Rails Train Simulator\ZZ\ROUTES\au_great_zig_zag\PATHS\default_bottom_bowenfels.pat
Argument = C:\Open Rails Train Simulator\ZZ\TRAINS\CONSISTS\zz_eskbank_local_shunter#1.con
Argument = 12:00
Argument = 1
Argument = 0
--------------------------------------------------------------------------------
AdhesionFactor = 130
AdhesionFactorChange = 10
AdhesionMovingAverageFilterSize = 10
AdhesionProportionalToWeather = False
Alerter = False
AlerterDisableExternal = True
Autopilot = False
AuxActionEnabled = False
AvatarURL = http://openrails.org/images/support-logos.jpg
BrakePipeChargingRate = 21
BreakCouplers = False
Cab2DStretch = 0
CarVibratingLevel = 0
CircularSpeedGauge = False
ConditionalLoadOfNightTextures = False
CorrectQuestionableBrakingParams = False
CurveResistanceSpeedDependent = False
CurveSpeedDependent = False
DataLogger = False
DataLoggerSeparator = comma
DataLogMisc = False
DataLogPerformance = True
DataLogPhysics = False
DataLogSpeedUnits = route
DataLogStart = False
DataLogStationStops = False
DataLogTrainSpeed = False
DataLogTSContents = 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0
DataLogTSInterval = 10
DayAmbientLight = 20
DisableTCSScripts = False
DistantMountains = True
DistantMountainsViewingDistance = 40000
DoubleWire = False
DynamicShadows = False
ExtendedAIShunting = False
FastFullScreenAltTab = False
FullScreen = False
GraduatedRelease = False
HotStart = True
Language =
LODBias = 0
LODViewingExtention = False
Logging = True
LoggingFilename = OpenRailsLog.txt
LoggingPath = C:\Users\Michael\Desktop
Menu_Selection = (user set) C:\Open Rails Train Simulator\ZZ, C:\Open Rails Train Simulator\ZZ\ROUTES\au_great_zig_zag, , , C:\Open Rails Train Simulator\ZZ\TRAINS\CONSISTS\zz_eskbank_local_shunter#1.con, C:\Open Rails Train Simulator\ZZ\ROUTES\au_great_zig_zag\PATHS\default_bottom_bowenfels.pat, 12:00, 1, 0
ModelInstancing = False
MSTSBINSound = True
Multiplayer = False
Multiplayer_Host = 127.0.0.1
Multiplayer_Port = 30000
Multiplayer_UpdateInterval = 10
Multiplayer_User = Michael
MultiplayerClient = False
MultiplayerServer = False
NoForcedRedAtStationStops = False
OverrideNonElectrifiedRoutes = False
PerformanceTuner = False
PerformanceTunerTarget = 60
PrecipitationBoxHeight = 100
PrecipitationBoxLength = 500
PrecipitationBoxWidth = 500
PreferDDSTexture = False
PressureUnit = Automatic
Profiling = False
ProfilingFrameCount = 0
ProfilingTime = 0
ReplayPauseBeforeEnd = True
ReplayPauseBeforeEndS = 0
RetainersOnAllCars = False
ScreenshotPath = C:\Users\Michael\Pictures\Open Rails
ShaderModel = 3
ShadowAllShapes = False
ShadowMapBlur = True
ShadowMapCount = 4
ShadowMapDistance = 1000
ShadowMapResolution = 1024
ShowAvatar = False
ShowErrorDialogs = True
SignalLightGlow = False
SoundDetailLevel = 5
SoundVolumePercent = 100
SuperElevationGauge = 1435
SuperElevationMinLen = 50
SuppressConfirmations = False
SuppressShapeWarnings = False
TunnelResistanceDependent = False
Units = Automatic
UseAdvancedAdhesion = True
UseLargeAddressAware = True
UseLocationPassingPaths = False
UseMSTSEnv = False
UseSuperElevation = 0
VerticalSync = False
ViewDispatcher = False
ViewingDistance = 2000
ViewingFOV = 45
WindowGlass = False
WindowPosition_Activity = 50, 50
WindowPosition_CarOperations = 50, 50
WindowPosition_Compass = 50, 0
WindowPosition_ComposeMessage = 50, 50
WindowPosition_DriverAid = 100, 100
WindowPosition_Help = 50, 50
WindowPosition_NextStation = 0, 100
WindowPosition_Quit = 50, 50
WindowPosition_Switch = 0, 50
WindowPosition_TrackMonitor = 100, 0
WindowPosition_TrainList = 100, 0
WindowPosition_TrainOperations = 50, 50
WindowSize = 1024x768
Wire = True
WorldObjectDensity = 10
YoungestFailedToRestore = 0
--------------------------------------------------------------------------------
Mode = explorer

Warning: Cannot parse the constant number 0.0.013 in C:\Open Rails Train Simulator\ZZ\ROUTES\au_great_zig_zag\openrails\au_great_zig_zag.trk:line 11

Route = AU NSW Great Zig Zag
Path = Default - Bottom Points to Bowenfels EOL (C:\Open Rails Train Simulator\ZZ\ROUTES\au_great_zig_zag\PATHS\default_bottom_bowenfels.pat)
Consist = Eskbank - Local Shunter 1 - Full Coal (C:\Open Rails Train Simulator\ZZ\TRAINS\CONSISTS\zz_eskbank_local_shunter#1.con)
Time = 12:00:00 (12:00)
Season = Summer (1)
Weather = Clear (0)
--------------------------------------------------------------------------------
Loading TRK

Warning: Cannot parse the constant number 0.0.013 in C:\Open Rails Train Simulator\ZZ\ROUTES\au_great_zig_zag\openrails\au_great_zig_zag.trk:line 11

 TDB SIGCFG DAT ACT RDB CARSPAWN SIGSCR WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

Information: InitialPressureDropRatioRpMtoX - default information read from SteamTables

Information: BurnRateSteamToCoalLbspH - default information read from SteamTables

Information: BackPressureIHPtoAtmPSI (Saturated) - default information read from SteamTables

Warning: When expecting a number, we found a ) marker. Using the default 1 in C:\Open Rails Train Simulator\ZZ\trains\trainset\AU_NSW_1905_JWW_Htype\JWW_Htype_L.wag:line 71

 ENV SIGCFG SIGCFG TTYPE

Error: System.ArgumentException: Font 'Arial' does not support style 'Regular'.
   at System.Drawing.Font.CreateNativeFont()
   at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
   at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit)
   at Orts.Viewer3D.Popups.WindowTextFont..ctor(String fontFamily, Single sizeInPt, FontStyle style, Int32 outlineSize) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Popups\WindowText.cs:line 147
   at Orts.Viewer3D.Popups.WindowTextManager.GetExact(String fontFamily, Single sizeInPt, FontStyle style, Int32 outlineSize) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Popups\WindowText.cs:line 119
   at Orts.Viewer3D.Popups.WindowTextManager.GetScaled(String fontFamily, Single sizeInPt, FontStyle style) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Popups\WindowText.cs:line 58
   at Orts.Viewer3D.Popups.WindowManager..ctor(Viewer viewer) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Popups\WindowManager.cs:line 77
   at Orts.Viewer3D.Viewer.Initialize() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 365
   at Orts.Viewer3D.Viewer..ctor(Simulator simulator, Game game) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Viewer.cs:line 287
   at Orts.Viewer3D.Processes.GameStateRunActivity.Start(UserSettings settings, String acttype, String[] args) in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 275
   at Orts.Viewer3D.Processes.GameStateRunActivity.<>c__DisplayClass8.<Load>b__3() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 149
   at Orts.Viewer3D.Processes.GameStateRunActivity.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\GameStateRunActivity.cs:line 190
   at Orts.Viewer3D.Processes.LoaderProcess.Load() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 158
   at Orts.Viewer3D.Processes.LoaderProcess.DoLoad() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 138
   at Orts.Viewer3D.Processes.LoaderProcess.LoaderThread() in e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Processes\LoaderProcess.cs:line 109
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart()

Information: Game.PopState()

Loader: Time = 00:00:12.0030170 ms
Loader: Expected = 10,582,907 bytes
Loader: Actual = 10,587,863 bytes
Loader: Difference = 4,956 bytes (0.0 %)

Tags: crash graphics
James Ross (twpol)
summary: - Fatal Error - Error: System.ArgumentException: Font 'Arial' does not
- support style 'Regular'.
+ System.ArgumentException at Orts.Viewer3D.Popups.WindowTextFont..ctor
+ (1.1.3487, AU NSW Great Zig Zag, "Font 'Arial' does not support style
+ 'Regular'.")
tags: added: crash graphics
removed: error fatal
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.