[Seaside] Adding @font-face to a CSS style sheet in Seaside

Francois Stephany tulipe.moutarde at gmail.com
Sun Jan 8 17:42:47 UTC 2012


Hi Larry,

There's nothing to do in the Seaside side, everything happens in the CSS 
file. The only thing that you need to figure out is the url of the font. 
In your example it is 'Chunkfive.otf'. You can serialize this file with 
FileLibrary if you want...

I don't know if this helps ?

On 08/01/12 07:37, Lawrence Kellogg wrote:
> Hello,
>    I'm trying to use the @font-face command like this one:
>
> @font-face {
> 	font-family: Chunkfive;
> 	src: url('Chunkfive.otf);
> }
>
> from here:
>
> http://sixrevisions.com/css/font-face-guide/
>
> but I don't understand how to add this to my existing stylesheet.
> Do I use some attributes from the updateRoot: method?
>
> I have an existing stylesheet stored in a FileLibrary and I specify it in
> my updateRoot: method:
>
> anHtmlRoot stylesheet url: UserFileLibrary / #myStyleCss
>
> How do I generate the call to font-face to use the custom font that
> I have stored in a file library?
>
>    Thanks,
>
>    Larry
>
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

-- 
http://tulipemoutarde.be
BE: +32 (0)65 709 131
CA: +1 778 558 3225


More information about the seaside mailing list