Hi Alfonso,

If I remember correctly the following comes from Jeremy's TalkyTalky 
<https://tiddlywiki.com/talkytalky/> which uses the Google font Lato:

It contains the follwing stylesheet (a tiddler tagged with 
$:/tags/Stylesheet):

\define register-font(family,title,style,weight)
@font-face {
  font-family: "$family$";
  font-style: $style$;
  font-weight: $weight$;
  src: url(<<datauri "$title$">>) format("woff");
}
\end
\rules only filteredtranscludeinline transcludeinline macrodef 
macrocallinline

/*
** Fonts
*/

<<register-font "Lato" "$:/_fonts/lato-black-webfont.woff" "normal" "900">>
<<register-font "Lato" "$:/_fonts/lato-blackitalic-webfont.woff" "italic" 
"900">>
<<register-font "Lato" "$:/_fonts/lato-bold-webfont.woff" "normal" "700">>
<<register-font "Lato" "$:/_fonts/lato-bolditalic-webfont.woff" "italic" 
"700">>
<<register-font "Lato" "$:/_fonts/lato-hairline-webfont.woff" "normal" "100"
>>
<<register-font "Lato" "$:/_fonts/lato-hairlineitalic-webfont.woff" "italic" 
"100">>
<<register-font "Lato" "$:/_fonts/lato-italic-webfont.woff" "italic" "400">>
<<register-font "Lato" "$:/_fonts/lato-light-webfont.woff" "normal" "300">>
<<register-font "Lato" "$:/_fonts/lato-lightitalic-webfont.woff" "italic" 
"300">>
<<register-font "Lato" "$:/_fonts/lato-regular-webfont.woff" "normal" "400"
>>

Hope that helps.

Cheers,

Ton


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc9f6737-cfc9-4c2c-921e-8ad98c131195%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to