1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 13:00:08 +00:00

update readme

This commit is contained in:
Lu Wang 2012-08-07 01:22:25 +08:00
parent fb24349449
commit 965c5d4c5a
2 changed files with 9 additions and 5 deletions

View File

@ -19,15 +19,15 @@ Features
---------------------------- ----------------------------
* Text Selection * Text Selection
* Font embedding * Font embedding
* Proper styling * Proper styling (Color, Transformation...)
* Optimization for Web * Optimization for Web
* Transformation
Not supported yet Not supported yet
---------------------------- ----------------------------
* Non-text object (Don't worry, they will be rendered as images) * Non-text object (Don't worry, they will be rendered as images)
* Color * Blend Mode
* CJK * CJK
* ...
Dependency Dependency
---------------------------- ----------------------------

View File

@ -7,7 +7,6 @@
/* /*
* TODO * TODO
* color
* font base64 embedding * font base64 embedding
*/ */
@ -246,7 +245,7 @@ void HTMLRenderer::startPage(int pageNum, GfxState *state)
html_fout << "\">"; html_fout << "\">";
if(param->readable) html_fout << endl; if(param->readable) html_fout << endl;
cur_fn_id = cur_fs_id = cur_tm_id = 0; cur_fn_id = cur_fs_id = cur_tm_id = cur_color_id = 0;
cur_line_x_offset = 0; cur_line_x_offset = 0;
cur_line_y = 0; cur_line_y = 0;
cur_font_size = 0; cur_font_size = 0;
@ -547,6 +546,11 @@ long long HTMLRenderer::install_font(GfxFont * font)
return new_fn_id; return new_fn_id;
} }
//debug
{
std::cerr << "install font: " << new_fn_id << ' ' << font->getID()->num << std::endl;
}
string new_fn = (boost::format("f%|1$x|") % new_fn_id).str(); string new_fn = (boost::format("f%|1$x|") % new_fn_id).str();
if(font->getType() == fontType3) { if(font->getType() == fontType3) {