| 27 Jun 2012, 11:21 | |
|
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'> 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 |
| 27 Jun 2012, 20:23 | Re: Google web fonts? |
|
Imagevue Hitman Joined: 2 May 2006Posts: 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 ![]() ![]() ![]() ![]() dear-apple.com jaconda.im indexr gridpapr |
| 27 Jun 2012, 21:52 | Re: Google web fonts? |
|
Joined: 27 Jun 2012
Posts: 3 |
OK - thanks Nick.
|
| 28 Jun 2012, 00:26 | Re: Google web fonts? |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7280 |
Confirm. Sorry, flash is not able to use google webfonts, but you could use it for the mobile version.
_________________ Karl / mjau-mjau ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |
| 28 Jun 2012, 07:10 | Re: Google web fonts? |
|
Joined: 27 Jun 2012
Posts: 3 |
Thanks Karl - I'll look into it.
John |
| 06 Jul 2012, 02:06 | Re: Google web fonts? |
|
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 |
| 06 Jul 2012, 03:38 | Re: Google web fonts? |
|
Imagevue Wizard Joined: 30 Sep 2006Posts: 7280 |
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 ![]() ![]() ![]() ![]() www.imagevuex.com www.mjau-mjau.com www.photogallerylinks.com |




