The first approach worked just fine, and I'll try the other one as well. Thanks a lot.
By the way, is the attribute `webfonts` documented somewhere? PS: I noticed that the opening post title is incomplete. I'm sorry. I don't think it is possible to change it now, though. On Wednesday, August 5, 2015 at 8:57:13 PM UTC-3, Dan Allen wrote: > > You are referring to behavior in Asciidoctor. There are a couple of > approaches. > > Approach #1: > > Disable the webfonts attribute and use docinfo to add your own font > declaration to the header: > > :webfonts!: > :docinfo2: > > Approach #2: > > Provide your own stylesheet and use the @import directive in CSS to link > to a font CSS file of your choice (which would need to define each > @font-face). > > :stylesheet: custom.css > > I hope that helps: > > Cheers, > > -Dan > > On Wed, Aug 5, 2015 at 4:53 PM, Fernando Basso <[email protected] > <javascript:>> wrote: > >> I am looking for a way to use local fonts instead of the web fonts that >> are linked in the top of the document when I generate an .html file. >> >> ---- >> >> <link rel="stylesheet" >> href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400"> >> ---- >> >> >> I love that default look and feel. Just that sometimes my connection is >> so slow that I would like to disable it at least for a while so that I can >> write in the .adoc file, regenerate the html and reload the page more >> quickly. >> >> Thanks in advance. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "asciidoc" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/asciidoc. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Dan Allen | http://google.com/profiles/dan.j.allen > -- You received this message because you are subscribed to the Google Groups "asciidoc" 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 http://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
