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]>
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].
> 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.
>



-- 
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.

Reply via email to