diff --git a/share/tail.html b/share/tail.html
index 5ef9d9c..bb095dd 100644
--- a/share/tail.html
+++ b/share/tail.html
@@ -25,8 +25,6 @@ $(function() {
// Selectively rendering of pages that are visible or will be visible
function selectiveRender() {
- console.debug('render');
-
var first = 0, last = l - 1,
H = $main.height();
@@ -36,7 +34,6 @@ $(function() {
// Find the last visible page
while(last >= 0 && !isPageVisible(last, H))
last--;
- console.debug('visible from='+first+", to="+last);
// Set invisible
setVisibilities(first > 0 ? first-1 : first,
last < l -1 ? last + 1 : last, true);
diff --git a/src/HTMLRenderer/export.cc b/src/HTMLRenderer/export.cc
index ed7af33..3ae631b 100644
--- a/src/HTMLRenderer/export.cc
+++ b/src/HTMLRenderer/export.cc
@@ -21,7 +21,7 @@ void HTMLRenderer::export_remote_font(const FontInfo & info, const string & suff
auto fn = str_fmt("f%llx%s", info.id, suffix.c_str());
if(param->single_html)
{
- allcss_fout << "'data:font/" << fontfileformat << ";base64," << base64stream(ifstream(tmp_dir + "/" + (char*)fn, ifstream::binary)) << "'";
+ allcss_fout << "'data:font/opentype;base64," << base64stream(ifstream(tmp_dir + "/" + (char*)fn, ifstream::binary)) << "'";
}
else
{