It is currently September 29th, 2024, 9:28 pm

Font issues!

General topics related to Rainmeter.
Vinny2010
Posts: 13
Joined: May 9th, 2013, 12:05 am

Font issues!

Post by Vinny2010 »

Walk me through this please! I downloaded a AudiAntiqua Italic font its registered as AUDIAI.TFF and it will not read it in configs when I replace the fontname: with it and I did refresh and redownload the font
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Font issues!

Post by Seahorse »

have a read through the Fonts Guide.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Vinny2010
Posts: 13
Joined: May 9th, 2013, 12:05 am

Re: Font issues!

Post by Vinny2010 »

I have already read that, and this is what I am having trouble with:

[Rainmeter]
Author=poiru
AppVersion=1002000
Update=1000
BackgroundMode=1
MouseActionCursor=0

[Metadata]
Name=Spotify Example Skon
Config=Spotify_Example
Description=Example skin for Spotify.
Version=1.0.0
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

; MEASURES

[MeasureProcessPID]
Measure=Plugin
Plugin=Plugins\Perfmon.dll
PerfMonObject="Process"
PerfMonCounter="ID Process"
PerfMonInstance=Spotify
PerfMonDifference=0
UpdateDivider=5

[MeasureCheckState]
Measure=Calc
Formula=MeasureProcessPID > 0 ? 1 : 0
IfEqualValue=0
IfEqualAction=!Execute [!RainmeterHideMeter Track][!RainmeterShowMeter NA]
IfAboveValue=0
IfAboveAction=!Execute [!RainmeterShowMeter Track][!RainmeterHideMeter NA]

[MeasureTrack]
Measure=Plugin
Plugin=Plugins\WindowMessagePlugin.dll
WindowClass=SpotifyMainWindow
Substitute="Spotify - ":"","Spotify":"Paused"

; METERS

[Container]
Meter=IMAGE
MeterStyle=sTitleArea
X=0
Y=0
W=250
H=50
SolidColor=000000CC

[NA]
Meter=STRING
X=5
Y=5
W=240
FontFace= Times New Roman
FontColor=FFFFFF
Text="Spotify is not running"
AntiAlias=1
Hidden=1

[Track]
Meter=STRING
MeasureName=MeasureTrack
X=5
Y=5
W=240
FontFace=Times New Roman
FontColor=FFFFFF
AntiAlias=1

[Prev]
Meter=STRING
X=5
Y=22r
FontFace= Times New Roman
FontSize=10
FontColor=FFFFFF
Text= <<
AntiAlias=1
MouseActionCursor=1
LeftMouseUpAction=!Execute ["#CURRENTPATH#spotifyctrl.exe" /prev]

[Play]
Meter=STRING
X=35r
Y=0r
FontFace= Times New Roman
FontSize=10
FontColor=FFFFFF
Text= ll
AntiAlias=1
MouseActionCursor=1
LeftMouseUpAction=!Execute ["#CURRENTPATH#spotifyctrl.exe" /playpause]

[Next]
Meter=STRING
X=35r
Y=0r
FontFace= Times New Roman
FontSize=10
FontColor=FFFFFF
Text=>>
AntiAlias=1
MouseActionCursor=1
LeftMouseUpAction=!Execute ["#CURRENTPATH#spotifyctrl.exe" /next]


I want to switch the text from "times new roman" to "AudiAntiqua Italic" I think its just called Audiantiqua thats what it is called in the text font folder but its an italic version and its just not updating it for some reason

What do I have to change???
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Font issues!

Post by Seahorse »

I have not been able to locate the font to download & test, so this is based on experience working with fonts.
  • Have you Placed then in the skin folder under @Resources/fonts?
  • Have you amended FontFace= Times New Roman to read something like FontFace= AudiAntiqua (best guess here).
  • Does the font support Italics?
  • If so have you added StringStyle=Italic
Your code suggests you are not writing the skin but editing an existing one, presume you are looking at the manual to better understand the principles and have worked through the example skins?
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Vinny2010
Posts: 13
Joined: May 9th, 2013, 12:05 am

Re: Font issues!

Post by Vinny2010 »

Seahorse wrote:I have not been able to locate the font to download & test, so this is based on experience working with fonts.
  • Have you Placed then in the skin folder under @Resources/fonts?
  • Have you amended FontFace= Times New Roman to read something like FontFace= AudiAntiqua (best guess here).
  • Does the font support Italics?
  • If so have you added StringStyle=Italic
Your code suggests you are not writing the skin but editing an existing one, presume you are looking at the manual to better understand the principles and have worked through the example skins?
1)Font downloaded from: http://www.meinwirt.com/webserver/vwvortex/fonts/fonts.html
2) I cannot find @Resources/fonts is it in my computer or rainmeter? (walkthrough would be great)
3) I have tried that I changed it back for posting purposes
4)Under the folder that holds my fonts it says it is Italic, and AudiAntiqua is the main name
5) I cannot find the stringstyle all I can see is: Meter=STRING

I am editing the skin thats what I have always done in order to customize it, is their another way that is better to understand or am I doing it wrong?

Font should be a zip file; name is: AUDIAI_.TTF
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Font issues!

Post by Seahorse »

1)Font downloaded from: http://www.meinwirt.com/webserver/vwvortex/fonts/fonts.html
Got it.
2) I cannot find @Resources/fonts is it in my computer or rainmeter? (walkthrough would be great)
Let's assume the skin is in your Rainmeter folder and it is called Spotify, create a directory to match this and put the font the folder called Fonts. Clearly if it is called something else create it there.
My Documents\Rainmeter\Skins\Spotify\@Resources\Fonts
3) I have tried that I changed it back for posting purposes
4)Under the folder that holds my fonts it says it is Italic, and AudiAntiqua is the main name
5) I cannot find the stringstyle all I can see is: Meter=STRING

I am editing the skin thats what I have always done in order to customize it, is their another way that is better to understand or am I doing it wrong?
You do not appear to be editing the skin looking at the code you posted.

Taking the first meter with a font:

Code: Select all

[NA]
Meter=STRING
X=5
Y=5
W=240
FontFace= Times New Roman
FontColor=FFFFFF
Text="Spotify is not running"
AntiAlias=1
Hidden=1
Change to font name:

Code: Select all

[NA]
Meter=STRING
X=5
Y=5
W=240
FontFace=AudiAntiqua
FontColor=FFFFFF
Text="Spotify is not running"
AntiAlias=1
Hidden=1
Capture.JPG
Repeat on all other meters you want the new font on (presumably the lot). Suggest you read through String meter documents as the fix was exactly the same as the one suggested in my previous post. :o
You do not have the required permissions to view the files attached to this post.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

Vinny2010
Posts: 13
Joined: May 9th, 2013, 12:05 am

Re: Font issues!

Post by Vinny2010 »

I have replaced the Fontname with: AudiAntiqua and even the meterstyle: Italic and still nothing.

Finding the folder under my documents/rainmeter/skins/spotify I see 2 options:
Spotify.ini
Spotifyctrl.exe

I do see a @backup folder but no @resources

I did create a new folder called fonts and put the audi.tff file in that folder and still nothing
User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Font issues!

Post by Seahorse »

Put the font in Fonts folder which is in @Resources i.e. \Spotify\@Resources\Fonts. If these folders do not exist MAKE THEM.

Edit the FontFace to read FontFace=AudiAntiqua in Spotify.ini

Refresh skin.

Suggest you work you way through the tutorials as you clearly are not understanding this at all.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt

User avatar
Seahorse
Posts: 1175
Joined: June 9th, 2010, 5:56 pm
Location: Locks heath, UK

Re: Font issues!

Post by Seahorse »

It is not clear even from your PMs where you are going wrong. It is about a simple a change as you can make to a skin.

Rather than me explain it again for the fifth time here is the skin you uploaded with the font changed and packaged up.

You really need to go read the manual and read the tutorials... :thumbup:
Spotify_1.rmskin
You do not have the required permissions to view the files attached to this post.
"Regrettably your planet is one of those scheduled for demolition"
Mike

My Skins at DeviantArt