Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-29 06:58:43



Reply to topic  [ 13 posts ]  Go to page 1, 2  Next
Weird pop-up menu texts 
Author Message

Joined: 2012-11-06 08:23:07
Posts: 15
Reply with quote
Hello, I ran into a strange issue - I tested this collar

https://marketplace.secondlife.com/p/NG ... x/22017758

and the texts in the menu show as seen in the picture. The collar creator says he can only help with "Linden approved" viewers... Any idea what might be the issue here?

Running the Windows version 1.28.2.25


Attachments:
ruffle collar.jpg
ruffle collar.jpg [ 19.82 KiB | Viewed 1695 times ]
2021-06-03 13:02:23
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
They are probably using unsupported UTF-8 characters in their menu.

It's not either a viewer issue, but a font issue (if they use hyper-rare UTF-8 characters, not all fonts will have them).

I suggest they revise their list of "Linden approved viewers" (there is no such thing, by the way)... Especially since the Cool VL Viewer uses the font that has been designed on Linden Lab's request, for their own v1 viewer (MtBkLfRg.ttf and MtBdLfRg.ttf, see the Readme.txt file in the fonts/ directory) !

And no, I will not change the font in use in my viewer (but you can, by changing skins/default/xui/en-us/fonts.xml)...


2021-06-03 13:16:50
Profile WWW

Joined: 2012-11-06 08:23:07
Posts: 15
Reply with quote
Thankyou for explaining this. Figured it would be a font issue - the texts in the buttons are just the usual yu find in these, like Lock/Unlock etc... I'l have a look at the fonts and also talk to the creator again but somehow it seems the problem might be in my computer and/or my viewer settings...


2021-06-03 13:32:30
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
I doubt it is a problem with your computer (the menu does seem to be using LL's v1-viewers font).

Copy skins/default/xui/en-us/fonts.xml from the installation directory into the directory containing the logs/ directory (see this Wiki page for where to find it, depending on your OS), i.e. as skins/default/xui/en-us/fonts.xml; this will override the fonts settings of the viewer installation. Then modify this copied fonts.xml to use another font; e.g. replace "MtBkLfRg.ttf" with "Roboto-Condensed.ttf" and "MtBdLfRg.ttf" with "Roboto-BoldCondensed.ttf" to use the provided Roboto fonts.


2021-06-03 13:40:38
Profile WWW

Joined: 2012-11-06 08:23:07
Posts: 15
Reply with quote
Okay, tried that - seems to have no effect on the cryptic texts... Come to think of it, I have also seen some avatar names with same weird symbols, I first thought that the person running the avatar is trying to be funny, haa-haa, but now thnking could it be the same issue?


2021-06-13 23:46:00
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Without logs, I cannot go further to diagnose your issue...


2021-06-14 08:03:48
Profile WWW

Joined: 2012-11-06 08:23:07
Posts: 15
Reply with quote
There's the log file.


Attachments:
CoolVLViewer.zip [36.76 KiB]
Downloaded 86 times
2021-06-14 09:31:45
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
Minea Caproni wrote:
There's the log file.
Thank you !

It first tells me an important thing: you are using the Windows build (Linux and Windows fonts processing are quite different, even when both are using Freetype as the font renderer as it is the case for the viewer). I updated Freetype to v2.10.4 for next builds, but since LL is still using a totally outdated (and security holes riddled) v2.4.4, I doubt it will make any difference for Windows builds...

From the log, I also can see that the default v1 viewers fonts get loaded (and not the Roboto ones, like I hinted you to try with)... Is the log matching a sessions for which you did (try and) replace the default fonts for Roboto ones ? If the answer is yes, then you obviously did not manage to change the font.

Now, another issue could be that, since v3+ viewers are now all using the DejaVu fonts, which got a much wider characters set as even the Roboto ones, some super-silly UTF-8 characters could still be seen with those viewers and not in mine... Here is a zip file containing DejaVu fonts and a patched fonts.xml file: simply copy the contents of the fonts directory (i.e. the three *.ttf files) of the zip file into the fonts\ sub-directory of the viewer installation directory, and the skins directory itself (i.e. skins\ and all its sub-directories and files) into the "%AppData%\SecondLife\" directory (this will expand to "C:\Users\tomik\AppData\Roaming\SecondLife\" in your case, from what I can see in the log).

EDIT: zip file attachment removed since no more needed with v1.28.2.28 and newer (see the message below).


2021-06-14 12:20:05
Profile WWW

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
In today's release (v1.28.2.28), you may instead enable the new "Advanced" -> "User interface" --> "Extended character set font" --> "Use for script dialogs" toggle to solve such issues. Do remove any custom fonts.xml file you would have put in "%AppData%\SecondLife\skins\default\xui\en-us\" however, to see the result.


2021-06-19 08:58:48
Profile WWW

Joined: 2012-11-06 08:23:07
Posts: 15
Reply with quote
The DejaVu fonts - fix seemed to work okay, or like 99% but since you now have the solution built in the viewer I will update. Thankyou!


2021-06-28 08:29:50
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.