View Single Post
Old February 1, 2019, 17:56   #63
Bandobras
Knight
 
Join Date: Apr 2007
Posts: 726
Bandobras is on a distinguished road
Huh, suddenly between this

https://github.com/Mikolaj/angband/c...55ad910fbbce00

and this commit

https://github.com/Mikolaj/angband/c...ec29ce9301bb1d

the WOFF font no longer shows up on the list and when I force it via `.angband/Angband/sdl2init.txt`, it fails with

Code:
parse error in /home/mikolaj//.angband/Angband/sdl2init.txt line 15 column 4: : invaild value
angband: main-sdl2.c:5683: get_new_window: Assertion `!window->inited' failed.
Aborted (core dumped)
The very same font file works fine in my Allure of the Stars with SDL2 frontend.

Edit: my .angband/Angband/sdl2init.txt

Code:
window-display:0:0
window-full-rect:0:0:0:1920:1080
window-fullscreen:0:true
window-renderer:0:hardware
window-wallpaper-path:0:/home/mikolaj/r/angband/lib/icons/att-128.png
window-wallpaper-mode:0:tiled
window-status-bar-font:0:0:8x13x.fon
window-graphics-id:0:0
window-tile-scale:0:width:1
window-tile-scale:0:height:1
window-cursor:0:true

subwindow-window:0:0
subwindow-full-rect:0:0:22:1920:1058
subwindow-font:0:12:16x16xw.fon
subwindow-borders:0:false
subwindow-top:0:true:false
subwindow-alpha:0:255
Edit2: When I increase the WOFF font size, after size 21 it goes back to size 4. My monitor is Full HD and the font at size 24 results in exactly Full HD size with 80 columns and 45 rows, so it should still fit at size 24.

Last edited by Bandobras; February 1, 2019 at 18:08.
Bandobras is offline   Reply With Quote