Hi everybody, any progress on this? (I really don't like see a different 
fontfamily when editing)
thank you so much for all the great work!

maurizio

Il giorno martedì 30 gennaio 2018 alle 21:09:06 UTC+1 Ton Gerner ha scritto:

> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6e0fbd90-a27c-433f-a93c-9973e6addf3en%40googlegroups.com.

Reply via email to