1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
This commit is contained in:
Lu Wang 2012-09-11 22:18:31 +08:00
commit 812a41bdba
4 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,7 @@
}
.p {
position:relative;
background-color:white;
overflow:hidden;
display:block;
}

View File

@ -4,6 +4,7 @@
$(function() {
var $pages = $(".p"),
$pageWrappers = $(".b"),
$pageWrappers = $(".pw"),
$main = $("#pdf-main"),
l = $pages.length;

View File

@ -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
{

View File

@ -222,7 +222,7 @@ void HTMLRenderer::startPage(int pageNum, GfxState *state)
void HTMLRenderer::endPage() {
close_line();
// close page
html_fout << "</div>" << "</div>" << endl;
html_fout << "</div></div>" << endl;
}
void HTMLRenderer::process_single_html()