tev icon indicating copy to clipboard operation
tev copied to clipboard

Unicode not handled in filenames in sidebar

Open mmp opened this issue 3 years ago • 2 comments

(OSX, FWIW)

If I load an image in tev using, say,

$ tev 🐨.exr --hostname 192.168.86.70:6502

Then although the filename is correctly displayed in the title bar, it is not correct in the list of files in the sidebar.

image

(Not the most important bug ever, but more common characters like those with umlauts seem to have trouble as well...)

image

mmp avatar Jun 02 '21 17:06 mmp

Heh, being able read images with strange filenames in a cross-platform manner was a big effort and I'm very happy that you can open yours at all, especially the first one! :P

I'll have a closer look at the actual issue, but from what I remember: the font rendering engine of nanogui is simply not adequately equipped for generic unicode. So the chance for a fix is low-ish.

Tom94 avatar Jun 02 '21 18:06 Tom94

(As it turns out, I'm working through getting this to work with pbrt, which has been "interesting", even without a GUI involved, so I can imagine it's extra tricky with tev.) I can certainly imagine it being a tricky / low-priority fix in the grand scheme of things.

mmp avatar Jun 02 '21 18:06 mmp