[Opensim-users] mop + google fonts

ssm2017 ssm2017 at gmail.com
Fri Feb 8 21:40:23 UTC 2013


your are right, this is working
thank you Edmund for the info


2013/2/8 Edmund Edgar <ed at avatarclassroom.com>

> > im not able to use google fonts with a media on a prim website.
> > is there a way to make them work ?
>
> I found the solution was to ditch the regular Google font loader and
> specify the font yourself. The issue seems to be that when you use the
> font loader it tries to give you the font from "local(yourfont)" first
> and only pull it from the web if it's not already there, but that
> causes the whole thing to blow up with media on a prim.
>
> So this fails:
> http://fonts.googleapis.com/css?family=Candal
>
> As does the contents of that:
> @font-face {
>   font-family: 'Candal';
>   font-style: normal;
>   font-weight: 400;
>   src: local('Candal'),
> url(
> http://themes.googleusercontent.com/static/fonts/candal/v3/c4OCAZZ9bgJkVvcf-E79mQ.woff
> )
> format('woff');
> }
>
> ...but this is OK:
> @font-face {font-family: Candal; src: url(font/Candal.ttf); }
>
> --
> Edmund Edgar
> Avatar Classroom
> Your classroom, on the web, in a virtual world.
>
> ed at avatarclassroom.com
> +81 090 3912 3380
> Skype: edmundedgar
> Second Life: Edmund Earp
> Linked In: edmundedgar
> Twitter: @edmundedgar
> http://www.avatarclassroom.com
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20130208/e52c80d8/attachment.html>


More information about the Opensim-users mailing list