It is currently September 29th, 2024, 5:38 pm

Rainmeter font symbol (japanese language) minor issue

General topics related to Rainmeter.
slyphnier
Posts: 19
Joined: October 18th, 2011, 2:38 pm

Rainmeter font symbol (japanese language) minor issue

Post by slyphnier »

hello everyone

I got this issue ever since final release 3.0
please take a look the image below
Image

the symbol that i red-circled
in script that from Text="ユ" and Text="ラ"
complete script is this:

Code: Select all

[Sunrise_Symbol]
Hidden=1
Meter=STRING
X=12
Y=82
StringEffect=#effect#
StringStyle=NORMAL
StringAlign=LEFT
FontColor=#fontColor.Text#
FontSize=#FontGrafityHeight#
FontFace=#FontGrafity#
Antialias=1
Text="ユ"
it been working until rainmeter 3beta r2022

ever since final release and the latest 3.0.1 it no longer showing up
anyone can help how to fix this ?

thank in advance
User avatar
moshi
Posts: 1740
Joined: November 13th, 2012, 9:53 pm

Re: Rainmeter font symbol (japanese language) minor issue

Post by moshi »

try:
FontFace=Webdings
Text="Õ"
FontFace=Webdings
Text="×"
slyphnier
Posts: 19
Joined: October 18th, 2011, 2:38 pm

Re: Rainmeter font symbol (japanese language) minor issue

Post by slyphnier »

hi moshi

tried your script and sunset symbol working but sunrise still not working
instead showing sun it showing ears :confused:
here the result after i made changes to the script
Image
User avatar
moshi
Posts: 1740
Joined: November 13th, 2012, 9:53 pm

Re: Rainmeter font symbol (japanese language) minor issue

Post by moshi »

the symbols you want to use are from the Webdings font.
the characters they represent are maybe different on a Japanese Windows.
open the Windows character map. go to the Webdings font. search your symbol. double click it. copy. paste into your skin's INI.

FontFace should be Webdings.
slyphnier
Posts: 19
Joined: October 18th, 2011, 2:38 pm

Re: Rainmeter font symbol (japanese language) minor issue

Post by slyphnier »

ah yes i got it working
the code you post earlier is right
i need to save .ini file in unicode
at first when saving by default, notepad giving notice i will lose some if i save in ansi
so i save in utf-8... but seems it messing things
resave it in unicode and fixed the symbol

thank you
User avatar
moshi
Posts: 1740
Joined: November 13th, 2012, 9:53 pm

Re: Rainmeter font symbol (japanese language) minor issue

Post by moshi »

my pleasure.

i think it is in general a good idea to work with Unicode (UTF-16 Little Endian) encoded files in Rainmeter. even such simple things as the degree sign ° get messed up if a Hungarian user wants to use an ANSI encoded skin from an English user for example.

ANSI encoded files are smaller of course. but you better ask a coder if that's really noticeable on nowadays computers or if it is about fractions of milliseconds.