mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
..
This commit is contained in:
commit
812a41bdba
@ -18,6 +18,7 @@
|
||||
}
|
||||
.p {
|
||||
position:relative;
|
||||
background-color:white;
|
||||
overflow:hidden;
|
||||
display:block;
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
$(function() {
|
||||
var $pages = $(".p"),
|
||||
$pageWrappers = $(".b"),
|
||||
$pageWrappers = $(".pw"),
|
||||
$main = $("#pdf-main"),
|
||||
l = $pages.length;
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user