It is currently February 4th, 2023, 2:58 am

[Solved] Scrambled text in weather skin

Get help with creating, editing & fixing problems with skins
kermit
Posts: 11
Joined: May 2nd, 2010, 9:08 pm

[Solved] Scrambled text in weather skin

Post by kermit »

scrambled.jpg
I'm using a slightly modified Weather skin by moxamax. While it looks ok at first, the text on the first day and sometimes the second day gets scrambled after a while. (now that im typing this the icon also got slightly scrambled) It probably happens when it updates but I haven't actually seen it happen yet. Only way to get it back to normal is to refresh the skin.
No problems with the rest of the skins you see so I'm guessing it's something in the code of this one?

Code: Select all

;Weather Status & 3-Day Forecast (TPE,TWN)

[Rainmeter]
Background=bg.png
Author=moxamax

;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
;Please replace your location code of Weather.com below, e.g: Taipei is TWXX0021.
;You can check it on Weather.com or Google.
;And you may also delete "&unit=m" if you prefer the Fahrenheit Scale.
URL=http://xml.weather.com/weather/local/NLXX0015?cc=*&dayf=6&unit=m
Font=Eurostile LT ExtendedTwo

;================================================================

[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
;--------------------------------

[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3

[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5

[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------

;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10

;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12

;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------

;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21

;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23

;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27

;-------------------------

;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
;[MeasureWeatherDate3]
;Measure=Plugin
;Plugin=Plugins\WebParser.dll
;Url=[MeasureWeatherRSS]
;StringIndex=32

;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
;[MeasureWeatherTemp3]
;Measure=Plugin
;Plugin=Plugins\WebParser.dll
;Url=[MeasureWeatherRSS]
;StringIndex=34

;D+3, weather icon, id=38
;[MeasureWeatherIcon3]
;Measure=Plugin
;Plugin=Plugins\WebParser.dll
;Url=[MeasureWeatherRSS]
;StringIndex=38

;================================================================

[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=155
Y=3
FontColor=255,255,255,217
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=153
Y=17
FontColor=255,255,255,217
FontSize=7
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=143
Y=1

[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=143
Y=0
Hidden=1
;------------------------- offset Y: +40

[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=155
Y=43
FontColor=255,255,255,80
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDate1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=153
Y=57
FontColor=255,255,255,80
FontSize=7
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=143
Y=40
;------------------------- offset Y: +40

[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=155
Y=83
FontColor=255,255,255,80
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1
Postfix="°"

[MeterDate2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=153
Y=97
FontColor=255,255,255,80
FontSize=7
StringAlign=RIGHT
StringStyle=BOLD
FontFace=#Font#
Antialias=1

[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
ImageTint=255,255,255,80
X=143
Y=80
;------------------------- offset Y: +40

;[MeterTemp3]
;MeasureName=MeasureWeatherTemp3
;Meter=STRING
;X=148
;Y=123
;FontColor=255,255,255,80
;StringStyle=NORMAL
;FontSize=10
;StringAlign=RIGHT
;StringStyle=BOLD
;FontFace=#Font#
;Antialias=1
;Postfix="°"

;[MeterDate3]
;MeasureName=MeasureWeatherDate3
;Meter=STRING
;X=139
;Y=137
;FontColor=255,255,255,80
;FontSize=7
;StringAlign=RIGHT
;StringStyle=BOLD
;FontFace=#Font#
;Antialias=1

;[MeterIcon3]
;MeasureName=MeasureWeatherIcon3
;Meter=IMAGE
;X=143
;Y=120
I'm using Rainmeter 1.1 rev 306 on win7 64
Any idea what might be the problem? Things I might try?
You do not have the required permissions to view the files attached to this post.
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: Scrambled text in weather skin

Post by dragonmage »

kermit
Posts: 11
Joined: May 2nd, 2010, 9:08 pm

Re: Scrambled text in weather skin

Post by kermit »

Ah I didn't see that thread, thanks a lot!
I've disabled the background line as suggested and so far that seems to have done the trick.