It is currently April 24th, 2024, 6:54 pm
Get help with creating, editing & fixing problems with skins
CoffeeJoe
Posts: 48 Joined: November 6th, 2019, 4:19 am
Post
by CoffeeJoe » November 22nd, 2019, 10:00 pm
See the example
I've attacked this from a few angles - The superscript doesn't show up
I got the online option working when testing with 'size' - I've tried several different fonts
Please Help
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
[Metadata]
Name=
Author=CoffeeJoe
Information=
License=Creative Commons Attribution-NonCommercial-ShareAlike 3.0
Version=0.01
[Variables]
SkinSize=125
ForeColor=FFFFFF
ShadowColor=000000
; Styles ============================
[StringStyle]
Text=#CURRENTSECTION#
FontColor=#ForeColor#
FontWeight=500
FontSize=20
;tried a bunch of fonts
FontFace=Berlin Sans FB
;FontFace=Lucida Sans
;FontFace=Franklin Gothic
InlineSetting=Shadow | 2 | 2 | 2 | #ShadowColor#
InlineSetting2=Typography | sups
;This works with same pattern below
;InlineSetting2=Size | 10
InlinePattern2=.$
StringAlign=Center
X=(#SkinSize#/2)
SolidColor=255,160,0,200
SolidColor2=255,64,64,200
GradientAngle=80
Padding=5,10,5,10
BevelType=1
AntiAlias=1
DynamicVariables=1
; Measures =============================
[MeasureCPU]
Measure=CPU
; Meters ================================
[CPUString]
MeasureName=MeasureCPU
Meter=String
MeterStyle=StringStyle
W=#SkinSize#
H=(#SkinSize#/2)
Y=0
;FontSize=24
Text=%1%
jsmorley
Developer
Posts: 22629 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » November 22nd, 2019, 10:52 pm
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
[MeterOne]
Meter=String
FontFace=Fira Sans
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
InlineSetting=Size | 15
InlineSetting2=Typography | sups
InlinePattern2=2
AntiAlias=1
Text=Water is H20
1.png
I think you have to use InlineSetting=Size | ... on the meter, as superscript doesn't seem to play well when the string is just set with FontSize.
It's important that the font in question support the typography setting for "superscript". You can tell by using
dp4 Font Viewer .
2.png
Keep in mind as well that with many fonts, Superscript is only about "numbers"...
You do not have the required permissions to view the files attached to this post.
CoffeeJoe
Posts: 48 Joined: November 6th, 2019, 4:19 am
Post
by CoffeeJoe » November 23rd, 2019, 1:27 am
looks like its #s only
Since its just concatenated on the end there I guess I may have to create a new string meter and squeeze it in that space.
Maybe right align the numbers so it pushes to the second string... should be doable
balala
Rainmeter Sage
Posts: 16167 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » November 23rd, 2019, 7:25 am
jsmorley wrote: ↑ November 22nd, 2019, 10:52 pm
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
AccurateText=1
[Variables]
[MeterOne]
Meter=String
FontFace=Fira Sans
FontWeight=400
FontColor=255,255,255,255
SolidColor=47,47,47,255
Padding=5,5,5,5
InlineSetting=Size | 15
InlineSetting2=Typography | sups
InlinePattern2=2
AntiAlias=1
Text=Water is H20
Not to nitpick, but in fact I think the InlineSetting2 option of the above [MeterOne] meter should be:
InlineSetting2=Typography | subs .
H2O.png
jsmorley wrote: ↑ November 22nd, 2019, 10:52 pm
Keep in mind as well that with many fonts, Superscript is only about "numbers"...
Personally had no idea about this. Good to be known.
Thanks for the information. Found again something new!
You do not have the required permissions to view the files attached to this post.