装飾フォント使用でメッセージの文字サイズを最大にするとシナリオの読み込みに失敗する

Issue #953 resolved
lok created an issue

シナリオ突入前・プレイ中に文字設定を変更するとシナリオ読み込み失敗に、デバッガーを表示状態でシナリオをプレイ中に文字設定を変更すると、エラーメッセージが表示されエラーログが出力されました。

Version : 4.3 (32-bit) / 2020-04-12 13:33:21
DateTime: 2020-05-10 00:03:58
Traceback (most recent call last):
File ".\cw\thread.py", line 863, in run
File ".\cw\thread.py", line 915, in _run
File ".\cw\thread.py", line 931, in main_loop
File ".\cw\eventhandler.py", line 129, in run
File ".\cw\eventhandler.py", line 832, in executing_event
File ".\cw\debug\debugger.py", line 1295, in func
File ".\cw\thread.py", line 3675, in change_area
File ".\cw\data.py", line 850, in start_event
File ".\cw\event.py", line 621, in start
File ".\cw\event.py", line 846, in start
File ".\cw\event.py", line 906, in run
File ".\cw\event.py", line 1105, in action
File ".\cw\content.py", line 4306, in action
File ".\cw\sprite\message.py", line 82, in init
File ".\cw\sprite\message.py", line 583, in create_charimgs
File ".\cw\sprite\message.py", line 1239, in decorate
TypeError: invalid color argument

Comments (2)

  1. k4nagatsuki repo owner

    pull request #26

    ご報告ありがとうございます。

    装飾フォントは中央から外側へ向かって色を変化させていくのですが、あまりにも文字が大きいと途中でありえない色になってしまいエラーが出ていました。

  2. Log in to comment