FAForeverMapEditor icon indicating copy to clipboard operation
FAForeverMapEditor copied to clipboard

Texts do not draw

Open Odepax opened this issue 3 years ago • 3 comments

Hello, there.

Just unpacked version v0.704-alpha, and I think that some text elements are not drawn:

image

Another example in the side bar:

image

Direct3D: Version: Direct3D 11.0 [level 11.0] Renderer: NVIDIA GeForce GT 740M (ID=0x1292) Vendor:
VRAM: 2009 MB Driver: 25.21.14.2531

Odepax avatar Sep 14 '21 17:09 Odepax

None of the texts draw for me in top menu row, so I assume some font is missing from my wine installation.

If someone would find fonts used, we could add it to dependencies list for Linux users, so that they could populate their wineprefixes right.

SHOTbyGUN avatar Aug 15 '23 11:08 SHOTbyGUN

Editor should not use system fonts, All fonts are included and are generated to texture by Unity itself. I just checked and on top app-menu fonts are not assigned so its using default font: Arial. It should use Roboto font included in the the project instead.

Just pushed fix for that, assigned Roboto everywhere where Arial was used 405a787eb3a1be8ec8f826dd0e59fbeaff8c8026

If font is still not rendering in new builds then 99% issue is with text fields being too small so text is culled. Maybe something changed between Unity releases or even something is different on Linux. Or maybe it even not scale correctly on some resolutions. Solution is to make these fields like 1-2 pixels bigger.

ozonexo3 avatar Aug 17 '23 09:08 ozonexo3

v0.703-alpha Text doesn't show when UI -scale set to 1.25 (and maybe higher.) Reducing scale to 1.20 shows text again.

Cursedth avatar Sep 30 '24 23:09 Cursedth