mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-10-05 19:41:40 +00:00
..
This commit is contained in:
commit
812a41bdba
@ -18,6 +18,7 @@
|
|||||||
}
|
}
|
||||||
.p {
|
.p {
|
||||||
position:relative;
|
position:relative;
|
||||||
|
background-color:white;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
display:block;
|
display:block;
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
$(function() {
|
$(function() {
|
||||||
var $pages = $(".p"),
|
var $pages = $(".p"),
|
||||||
$pageWrappers = $(".b"),
|
$pageWrappers = $(".b"),
|
||||||
|
$pageWrappers = $(".pw"),
|
||||||
$main = $("#pdf-main"),
|
$main = $("#pdf-main"),
|
||||||
l = $pages.length;
|
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());
|
auto fn = str_fmt("f%llx%s", info.id, suffix.c_str());
|
||||||
if(param->single_html)
|
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
|
else
|
||||||
{
|
{
|
||||||
|
@ -222,7 +222,7 @@ void HTMLRenderer::startPage(int pageNum, GfxState *state)
|
|||||||
void HTMLRenderer::endPage() {
|
void HTMLRenderer::endPage() {
|
||||||
close_line();
|
close_line();
|
||||||
// close page
|
// close page
|
||||||
html_fout << "</div>" << "</div>" << endl;
|
html_fout << "</div></div>" << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
void HTMLRenderer::process_single_html()
|
void HTMLRenderer::process_single_html()
|
||||||
|
Loading…
Reference in New Issue
Block a user