It is currently April 19th, 2024, 5:42 pm
help making lines vertical
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
Re: help making lines vertical
Honestly, I think Jeff's idea is the best and universal solution so far, as current Rainmeter doesn't support "vertical writing" font of Japanese version of Windows.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
Re: help making lines vertical
Back to RGBisLyf's primary question...It is better(best?) to use Jeff's idea.
How do you get the string "ジャン・カルロ"? Is this fixed or dynamically changing?
If fixed, add a measure to replace original string to "pseudo-vertical" string.
When the string is changing as an output from some measure.
As I didn't actually try (= paper coding), some mistake is possible. If so, sorry.
Anyway, posting your working skin code here is certainly helpful to improve.
How do you get the string "ジャン・カルロ"? Is this fixed or dynamically changing?
If fixed, add a measure to replace original string to "pseudo-vertical" string.
Code: Select all
[MeasureReplace]
Measure=String
String="ジャン・カルロ"
RegExpSubstitute=1
Substitute="(.)":"\0#CRLF#"
[MeterString]
Meter=String
MeasureName=MeasureReplace
MeterStyle=QuoteStyle
Text=%1
Code: Select all
[SomeMeasure]
Measure=(some)
......
RegExpSubstitute=1
Substitute="(.)":"\0#CRLF#"
[MeterString]
Meter=String
MeasureName=SomeMeasure
MeterStyle=QuoteStyle
Text=%1
Anyway, posting your working skin code here is certainly helpful to improve.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: help making lines vertical
As far as I see from the posted images / screenshots, I'd add one more option to the String meter, a StringAlign=Center, to get the center of the letters (symbols - whatever do you name those) aligned one beneath the other. If add this, you also have to increase a little bit the X value, otherwise the left half of the letters go outside to left of the skin.
For instance on Jeff's code, I'd replace the [TheStringMeter] meter with something like this:
For instance on Jeff's code, I'd replace the [TheStringMeter] meter with something like this:
Code: Select all
[TheStringMeter]
Meter=String
MeasureName=MeasureString
X=15
FontFace=メイリオ
FontSize=12
StringAlign=Center
-
- Posts: 908
- Joined: December 30th, 2015, 9:47 am
Re: help making lines vertical
Nice point-out...