Scrobbesbyrigcyr
Joined: 27 Jun 2012
Posts: 3
Hi Karl,

Sorry if this has been addressed already but searching the forum didn't turn anything up.

Is it possible to use Google Web Fonts with X2?

In principle, you just need to insert something like
Code
<link href='http://fonts.googleapis.com/css?family=Font_Family_Example' rel='stylesheet' type='text/css'>
in your HTML code,
and then something like
Code
font-family: 'Font_Family_Example', sans-serif;

in your CSS code ... at voilá!

I know editing the PHTML code is a bad idea because edits won't survive upgrades but I like the idea of linking to external fonts so everybody sees the same thing. So to test it out, I have tried adding the HTML code into index.gallery.phtml and then using Admin to insert the CSS code into the body style.
The php generated html look OK but I can't get the font embedding to work for me.

Is it possible to use Google fonts? If so, is there a way to do it without hacking the phtml?

Cheers,

John


Re: Google web fonts?
User avatar
Imagevue Hitman
Joined: 2 May 2006
Posts: 2857
I don't think you will be able to use webfonts in Flash gallery. In HTML gallery you can add them via @import statement in custom CSS or by adding script tag to the SEO > Counters section I think.

_________________
Nick // Imagevue

Image
Image
Image
Image

dear-apple.com jaconda.im indexr gridpapr


Re: Google web fonts?
Scrobbesbyrigcyr
Joined: 27 Jun 2012
Posts: 3
OK - thanks Nick.


Re: Google web fonts?
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
Confirm. Sorry, flash is not able to use google webfonts, but you could use it for the mobile version.

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


Re: Google web fonts?
Scrobbesbyrigcyr
Joined: 27 Jun 2012
Posts: 3
Thanks Karl - I'll look into it.

John


Re: Google web fonts?
User avatar
Joined: 5 Jul 2012
Posts: 15
Could You upload you own font into a local folder within the imagevue folder and use a font that's not linked to a specific OS? Lets say you want to use font "HappyCat" or whatever, and that font is a free to use font, but not everyone has it on their computer/device. Would that work?

_________________
Thanks,
Thomas Schreiber
http://mayfly.dk


Re: Google web fonts?
User avatar
Imagevue Wizard
Joined: 30 Sep 2006
Posts: 7280
schreiber wrote
Could You upload you own font into a local folder within the imagevue folder and use a font that's not linked to a specific OS? Lets say you want to use font "HappyCat" or whatever, and that font is a free to use font, but not everyone has it on their computer/device. Would that work?

Unfortunately no, this is not possible. For that to happen technically, one would first need to embed a specific font into the flash before it is exported from the source file.

_________________
Karl / mjau-mjau

Image
Image
Image
Image

www.imagevuex.com
www.mjau-mjau.com
www.photogallerylinks.com


cron
 
Imagevue Forums HomeForum  View topic - Google web fonts?7 posts