It is currently March 28th, 2024, 11:11 am
Get help with installing and using Rainmeter.
Slav Boi
Posts: 10 Joined: December 13th, 2021, 2:02 am
Post
by Slav Boi » December 13th, 2021, 2:18 am
Hi, I am new to rainmeter and I made a battery skin. When I increased the font weight, I started getting some antialiasing problems. Here's the code:
Code: Select all
[Rainmeter]
Update=1000
BackgroundMode=2
SolidColor=0,0,0,1
LeftMouseUpAction=["C:\Users\username\Documents\Rainmeter\Skins\Bat tree\@Resources\bat tree"] ;opens a shortcut which opens batterysettings;
[Battery icon]
Meter=Image
ImageName=bat tree.png
W=45
H=45
[MeasureBatteryPercent]
Measure=Plugin
Plugin=PowerPlugin
PowerState=Percent
[MeterBatteryPercent]
Meter=String
MeasureName=MeasureBatteryPercent
X=12
Y=13
W=200
H=23
FontColor=0,0,0
FontFace= Avenir-LT-Std-85-Heavy_5177
FontSize=11
FontWeight=900
Text=%1
AntiAliasing=1
So even when I put anti-aliasing on, it doesn't apply that to the text. I also tried to post this on the r/rainmeter subreddit and the guy who replied was equally puzzled as this didn't work for him the first time but it did work after a rainmeter restart (which didn't work in my case). Any ideas about this weird behaviour?
eclectic-tech
Rainmeter Sage
Posts: 5380 Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:
Post
by eclectic-tech » December 13th, 2021, 4:05 am
[MeterBatteryPercent] should be AntiAlias=1 ... you typed AntiAliasing=1
Slav Boi
Posts: 10 Joined: December 13th, 2021, 2:02 am
Post
by Slav Boi » December 13th, 2021, 8:45 am
woah mate thanks that actually worked!