Raised This Month: $ Target: $400
 0% 

[L4D2] Voice Viewer 1.6[Jan-24-2024]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Iciaria
Member
Join Date: Aug 2022
Old 12-22-2023 , 01:10   Re: [L4D2] Voice Viewer 1.4[Dec-13-2023]
Reply With Quote #16

Quote:
Originally Posted by [ru]In1ernal Error View Post
Hello!
My goal is to add ****************** (https://www.compart.com/en/unicode/U+1F568) or similar icon to the nickname on the right.
I dunno why, but utf8 characters are not being displayed correctly in hud/chat.
Tried w/wo bom (np++), different utf8 icons, none of them were rendered right.
Tried to upload your "data/l4d2_voiceviewer.txt" as is, but no luck again.
I even thought what if is unicode version used by engine is too old and those symbols do not exist there.
Any ideas?

UPD:
these are working: https://steamcommunity.com/sharedfil...?id=2165546519
I think it has to do with the fonts used by the client(OS fonts).

For me, it displays correctly 🔊(U+1F50A). plugin default: l4d2_voiceviewer.txt

You may want to check your in-game console for errors like this:
Code:
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans.ttf'
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans-Bold.ttf'
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans-BoldOblique.ttf'
Couldn't find custom font file 'resource/linux_fonts/DejaVuSans-Oblique.ttf'
Couldn't find custom font file 'resource/linux_fonts/LiberationSans-Regular.ttf'
Couldn't find custom font file 'resource/linux_fonts/LiberationSans-Bold.ttf'
Couldn't find custom font file 'resource/linux_fonts/LiberationMono-Regular.ttf'
This is my other OS (use linux version) and the emoji won't display correctly until I move the *ttf files.
Code:
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans-Bold.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/LiberationMono-Regular.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans-Oblique.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/DejaVuSans-BoldOblique.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/LiberationSans-Regular.ttf
./Left 4 Dead 2/left4dead2/resource/linux_fonts/LiberationSans-Bold.ttf
Attach Files(img)
l4d2_voiceviewer.txt
Code:
🔊 正在说话的玩家 🔊 | 🕨 🕨 🕨 🕨
U+1F568 doesn't display correctly for me, even in the browser or terminal, I think you should change to some other Unicode character, since it's unlikely that players specifically configure the font file.
Attached Thumbnails
Click image for larger version

Name:	full_2023-12-22_3840x2160.jpg
Views:	73
Size:	95.2 KB
ID:	202575   Click image for larger version

Name:	2023-12-22_1826x238.png
Views:	31
Size:	32.8 KB
ID:	202576   Click image for larger version

Name:	2023-12-22_665x1861.jpg
Views:	59
Size:	101.8 KB
ID:	202577  
__________________
Sorry,my english not good

Last edited by Iciaria; 12-22-2023 at 01:22.
Iciaria is offline
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode