Page 1 of 1

XnViewMP 0.96 full screen strings garbled

Posted: Fri Apr 03, 2020 8:57 am
by Irrawaddy
XnViewMp 0.96 64-bit for Windows 10. I'm using the following string for full screen info (this copied as-is from the INI file):
infoTemplate="<span style=\"background-color: rgb(32,32,32);\">{Filename}\n &nbsp; &nbsp; <span style=\"font-weight: bold;\">{Folder name} &nbsp; &nbsp;</span><span style=\"color: Gray; background-color: rgb(32,32,32);\"> {File Index}\n\n &nbsp; &nbsp; <span style=\"color: White\">{Modified Date [Y]}</span>{Modified Date [-m-d H:M]}\n &nbsp; &nbsp; {Width} \xd7 {Height} ({MPixels} MP) \x2022 <span style=\"color: White\">{Size KB}</span> kB \x2022 {File Type}\n &nbsp; &nbsp; {Directory}\n\n &nbsp; &nbsp; <span style=\"color: White\">{EXIF:Date Taken [Y]}</span>{EXIF:Date Taken [-m-d H:M]}\n &nbsp; &nbsp; {EXIF:Make} {EXIF:Model}\n &nbsp; &nbsp; {EXIF:ISO Value} &nbsp; {EXIF:F-Number} &nbsp; {EXIF:Exposure Time} &nbsp; {EXIF:Focal Length} &nbsp; {EXIF:Focal Length 35mm} &nbsp; {EXIF:Exposure Bias}\n\n{Rating}\n<span style=\"color: white;\">{IPTC:Keywords}\n{IPTC:Caption}</span>\n{IPTC:Special Inst.}\n{IPTC:Source}\n\n{IPTC:Created Date}\n{IPTC:Sublocation}\n{IPTC:City}\n{IPTC:State}\n{IPTC:Country}\n{IPTC:Country Code}\n\n{EXIF:Latitude} {EXIF:Latitude Ref}\n{EXIF:Longitude} {EXIF:Longitude Ref}\n{EXIF:Altitude} {EXIF:Altitude Ref}\n</span>"
In 0.95 this renders properly but in 0.96 it shows the raw string only with spaces coded as &nbsp;

Here are screen captures from 0.95 and 0.96 with the same image using the above infoTemplate:

0.95 proper layout and styling:
Image

0.96 garbled with raw string display only:
Image

What gives?

Re: XnViewMP 0.96 full screen strings garbled

Posted: Tue Apr 07, 2020 8:23 am
by xnview