Skip to content

Commit

Permalink
Add support for new font
Browse files Browse the repository at this point in the history
 - See #5
  • Loading branch information
drojf committed Dec 25, 2022
1 parent 6586288 commit 8683b9a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Update/init.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,23 @@ void main()
SetGlobalFlag(GArtStyle , 1);
}

// Some values have been adjusted in Rei for new font/font renderer
// and also to prevent text overflow. With the new font you can fit
// four lines of text (normally only 3 are ever used though)
ModADVModeSettingLoad(
"<size=+4>{0}\n</size>", //NameFormat
-170, //WindowPosX
-300, //WindowPosY
1150, //WindowSizeX
250, //WindowSizeY
60, //WindowMarginLeft
30, //WindowMarginTop
15, //WindowMarginTop - Rei: Adjust to 15 (was 30)
50, //WindowMarginRight
30, //WindowMarginBottom
1, //FontID
0, //CharSpacing
8, //LineSpacing
30 //FontSize
0, //LineSpacing - Rei: Adjust to 0 (was 8)
28 //FontSize - Rei: Adjust to 28 (was 30)
);

ModNVLModeSettingLoad(
Expand All @@ -101,7 +104,7 @@ void main()
30, //WindowMarginBottom
1, //FontID
0, //CharSpacing
8, //LineSpacing
0, //LineSpacing - Rei: Adjust to 0 (was 8)
34 //FontSize
);

Expand All @@ -117,7 +120,7 @@ void main()
30, //WindowMarginBottom
1, //FontID
0, //CharSpacing
8, //LineSpacing
0, //LineSpacing - Rei: Adjust to 0 (was 8)
34 //FontSize
);

Expand Down

0 comments on commit 8683b9a

Please sign in to comment.