Is there a way to use Google WebFonts in LO?

I am running a website that uses Google Fonts for its headings and body. I’d like to mirror those fonts in my LO documents, that I host on the site. I know I can download the fonts as TTF files and install them on my local computer - so far, so good. They even work when I export the LO document to PDF, and view them on a computer without the font installed.

However, there is one place I am getting stumped. I also export the document to HTML, and make it browsable on the website as a simple webpage. When I do this, the fonts work fine on the computer I generated them on, but they don’t work on another computer that does not have the font installed. In other words, the outputted HTML file does not make use of Google’s API to display the Google Fonts.

Is there a way to do this, so that when I output to HTML, the fonts pull from Google and display properly on the web?

Thank you!

Uh, how do you use those fonts then ? The code.

Add the code about how you include the fonts in the HTML document, here they works fine.

The Google Webfont API is provider-specific and as such will need to be catered for on an ad-hoc basis i.e., by manually editing the generated HTML. Someone can always write an extension for LO that performs this task at the click of a button.