Search…

X3 Photo Gallery Support Forums

Search…
 
touffu
Topic Author
Posts: 6
Joined: 22 Oct 2008, 06:11

Where to place new font ?

22 Oct 2008, 13:05

Hello

I want to change global font used by imagevue, and replace it with one of my own.

I need to change first some parameters in the CSS theme file.

What kind of parameter ?

Then, as I read on other topics, I need to configure a backup font.

What parameters do I have to insert then in CSS file ?

If I want to use a specific font as default, Do I have to setup this font as main font, or backup font ?

Then, finally, in which specific folder on my website do I have to place this font ?

Thanks a lot for your answers.

Ben (France)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

22 Oct 2008, 22:56

ok, let me just clear any possible misunderstandings:

Just like HTML pages, you can not use any custom font you have. That would require the font to be embedded into the SWF when it is exported, and obviously we can't be embedding all fonts into the gallery.

Therefore, just like HTML, you need to select from a group of globally accessible fonts that the user has on their computer. That list would usually be:

Verdana, Arial, "Times New Roman", Times, Sans Serif, Serif, "Courier New", Georgia, "Comic Sans MS", Garamond, Tahoma, "Trebuchet MS", Candara*, Constantia*, Cambria*

* Only available for Vista computers or computers with Office 2007.

So then to answer your question, if you want to change the font globally, locate the setting at the top of your theme CSS stylesheet file:
Code
body {
	font-size: 13px;
	font-family: Candara, Arial, "Times New Roman", Times, serif;
	color: #CCCCCC;
}
As you can see, it is using a "font-family" so to make sure that if the computer does not have the first font, it will try the second font so you are sure the text will display at least. The body class above, works for the entire gallery, unless different fonts are set on other sub-classes of the document.

Does that make it clear?
 
touffu
Topic Author
Posts: 6
Joined: 22 Oct 2008, 06:11

27 Oct 2008, 09:19

Ok, I understand the whole thing.

But if I want to add one new font, just one, is it possible ? Where is located the SWF file you talk about ?

I will have to modify the SWF. Do I have to simply open it with dreamweaver, and then add my font, and re export it ? or is there another operation to do ?

Thanks for answering.

Ben
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

29 Oct 2008, 03:57

Sorry, that needs to be done from the imagevue.fla source file ... and if you edit that, you will not be able to use any upgrades.

We will be looking into some options for this, but it will certainly require that you have the Adobe Flash program if you want to add custom fonts.
 
rdch
Posts: 23
Joined: 31 Oct 2008, 08:42

31 Oct 2008, 09:21

it would be great if you could incorporate this - http://www.mikeindustries.com/blog/sifr/ into the HTML version.

Maybe this will help integrate fonts into the flash version too?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

01 Nov 2008, 23:57

rdch wrote:it would be great if you could incorporate this - http://www.mikeindustries.com/blog/sifr/ into the HTML version.

Maybe this will help integrate fonts into the flash version too?
Yea, seen that before ... However, it won't benefit the flash gallery version in any way, because it still requires custom fonts to be embedded within the SWF.