It is currently March 28th, 2024, 11:11 am

Anti-Aliasing does not apply to text?

Get help with installing and using Rainmeter.
Post Reply
Slav Boi
Posts: 10
Joined: December 13th, 2021, 2:02 am

Anti-Aliasing does not apply to text?

Post by Slav Boi »

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?
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5380
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Contact:

Re: Anti-Aliasing does not apply to text?

Post by eclectic-tech »

[MeterBatteryPercent] should be AntiAlias=1... you typed AntiAliasing=1
Slav Boi
Posts: 10
Joined: December 13th, 2021, 2:02 am

Re: Anti-Aliasing does not apply to text?

Post by Slav Boi »

woah mate thanks that actually worked!
Post Reply