It is currently April 20th, 2024, 10:12 am

local font in rainmeter section

Get help with creating, editing & fixing problems with skins
User avatar
TRSyntax
Posts: 13
Joined: February 4th, 2010, 9:36 pm
Location: Norway

local font in rainmeter section

Post by TRSyntax »

hi.

the ini file:

Code: Select all

[Rainmeter]
LocalFont=#LocalFont#

[Variables]
@Include=#SKINSPATH#SDX.Rainmeter\!SDX.BASE\ConfVariables.inc
the inc file:

Code: Select all

[Variables]
FontFace="Consolas"
LocalFont=#SKINSPATH#SDX.Rainmeter\!SDX.BASE\Consola.tff
will this work?? or do i have to include the full path to the font file in each ini? i can't tell since i've got the font installed in my local fonts folder and pretty much every skin and program on my computer uses it :\

sorry if its a stupid question.. its late in norway and i can't find the answer in the introduction..

med vennelig hilsen Tom Ryan (:)
WAR AGAINST THE MACHINE!
User avatar
TRSyntax
Posts: 13
Joined: February 4th, 2010, 9:36 pm
Location: Norway

Re: local font in rainmeter section

Post by TRSyntax »

nobody knows this? :p
WAR AGAINST THE MACHINE!
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: local font in rainmeter section

Post by Alex2539 »

Well there's really no point in asking if something will work. You have nothing to lose by trying it. Once you do, you'll have your answer.
ImageImageImageImage
User avatar
TRSyntax
Posts: 13
Joined: February 4th, 2010, 9:36 pm
Location: Norway

Re: local font in rainmeter section

Post by TRSyntax »

PsychoHoliC wrote:will this work?? or do i have to include the full path to the font file in each ini? i can't tell since i've got the font installed in my local fonts folder and pretty much every skin and program on my computer uses it :\
edit: so if i remove it from my local fonts folder alot of prpograms and other skins are going to crash!. therefore i ask instead of try it out myself..
WAR AGAINST THE MACHINE!
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: local font in rainmeter section

Post by Alex2539 »

The other programs wouldn't crash, LocalFonts has nothing to do with other programs. What it's for is specifying a font that is in a folder besides the regular Windows Fonts folder. That way you can include a font with a skin and the person who downloads it will not need to install it. The font in that folder is only going to be handled by Rainmeter. If it doesn't work, the worst-case scenario is that it defaults to Arial.
ImageImageImageImage
dragonmage
Developer
Posts: 1270
Joined: April 3rd, 2009, 4:31 am
Location: NC, US

Re: local font in rainmeter section

Post by dragonmage »

Test it with another font, if that's your concern.