"/me" command does not italicize
complete
Marianne McCann
When using the "/me" command on text, the expected behavior is for it to italicize the text, to show it an an action. However, the text is not italicizing on the latest viewer, remaining standard. See this Gyazo for how it is showing: https://gyazo.com/da6d8d9bcc53ef65907191fb32c45856
Log In
AAngel Braveheart
use a colon instead, it's one character and easier to type. ie : Me Me Me!
Atlas Linden
complete
A fix for this issue is now live in the latest Maintenance W RC 7.1.3.7701974306
Signal Linden
in progress
Atlas Linden
tracked
Andrey Kleshchev
reproes at Second Life Release 7.1.3.7453541295
Gwyneth Llewelyn
After delving a bit into the viewer code — at least, as far as I can — there seems to be no good reason for "broken italics". The function in question seems to be handled by
LLChatHistory::appendMessage
, which is in viewer/indra/newview/llchathistory.cpp
— a file which remains untouched for 9 months, so that cannot be it.It could also be something coming from
viewer/indra/newview/llviewermessage.cpp
, but that one has not been touched for three months, so, again, we can discard it as well.The font used is
still
DejaVuSans-Oblique.ttf, and I've checked, the included font is fine.Nevertheless, it doesn't show with the
/me
command. Alas, whispering, which also
uses italics, doesn't work either — so whatever the problem might be, it's just connected to the italic font(s) provided, and how these are then used upstream, i.e., at the level of LL's own source code.This goes through several layers, most notably a Freetype layer and LL's own layer built on top of Freetype (thus, if something better comes along, LL cam replace it
without
breaking things (in theory only, of course!).But I couldn't see any calls to Deja Vu's
oblique
font type. I also checked under Firestorm - where you can tinker much more with fonts — and I get even less information on the logs!Although Firestorm's currently released version is
not
yet PBR-enabled, and therefore corresponds to LL's version before the PBR one (plus additional patching by the Firestorm crew), we're comparing apples with oranges, but Firestorm has no issue whatsoever with displaying italics/oblique — exactly how LL's own viewer used
to work, before they released the latest upgrade...If
that
is the reason for the italics missing (somehow, enabling PBR materials "broke" italics), well, then, I guess that's worth taking a look at what's going on during those font loading procedures. From taking a peek at the code, it seems that there are several
points where the fonts can be loaded, with many fallback mechanisms and so forth, because some methods for loading the fonts are faster than others. It's actually not very easy to figure out which ones are currently active, and which are not. All I can see is that the code is
calling the italics font in those two scenarios (whisper and
the /me
emote, which LL calls "IRC mode"). Why it doesn't get displayed is a mystery to me.Also note that shouting still applies bold to the font, just as before. The issue is really only with the italics. But, as said, the (recently) upgraded Deja Vu Oblique font is fine — there is really nothing wrong with it.
Gwyneth Llewelyn
Good, I'm glad I'm not the only one bothering to file a ticket :)