It is currently March 28th, 2024, 9:34 pm

Quotes for Rainmeter

Get help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Quotes for Rainmeter

Post by jsmorley »

P.S. Be careful as one of your lines:

"Boo yaa! Get it? Boo ya? Like I'm a scary punk ghost." - Chloe Price/

Has a space after the "/". That it going to bork it, as it then ends on the "/", captures the space and the carriage return / linefeed, then our Substitute fails, as the resultant string doesn't "start" with \r\n. It starts with a space.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Quotes for Rainmeter

Post by jsmorley »

deXxterlab97 wrote:Different font size and text makes it larger than one line
Ok, what does that have to do with how it is structured in the text file though?
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Quotes for Rainmeter

Post by jsmorley »

My assumption was that you had text that you specifically wanted to break at certain points, like:

Code: Select all

"After 5 years you're still Max Caulfield" - Chloe Price/
"Boo yaa! Get it? Boo ya? Like I'm a scary punk ghost." - Chloe Price/
Doe, a deer a female deer
Ray, a drop of golden sun
Me, a name, I call myself
Fa, a long, long way to run/
"Max, I'm in a nightmare and I can't wake up, unless I put myself to sleep." - Kate Marsh/
"I wish I could stay in this moment forever. I guess I actually can now, but then it wouldn’t be a moment." - Max Caulfield/
"Max, never Maxine" - Max Caulfield/
1.png
In which case I would not force the width of the meter with W=700 but use:

ClipStringW=700
ClipString=2
2.png
That way if the line renders longer than 700 pixels it wraps at or about 700 pixels, but since you have (again presumably) shorter individual lines, the size of the meter and thus the skin, is not just arbitrarily forced to 700 wide.
You do not have the required permissions to view the files attached to this post.