mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
show font names in debug messages
This commit is contained in:
parent
ff7469a521
commit
136991135d
@ -206,7 +206,7 @@ void HTMLRenderer::embed_font(const string & filepath, GfxFont * font, FontInfo
|
||||
|
||||
if(param.debug)
|
||||
{
|
||||
cerr << "Em size: " << info.em_size << endl;
|
||||
cerr << "em size: " << info.em_size << endl;
|
||||
}
|
||||
|
||||
info.space_width = 0;
|
||||
@ -624,7 +624,10 @@ const FontInfo * HTMLRenderer::install_font(GfxFont * font)
|
||||
|
||||
if(param.debug)
|
||||
{
|
||||
cerr << "Install font: (" << (font->getID()->num) << ' ' << (font->getID()->gen) << ") -> " << "f" << hex << new_fn_id << dec << endl;
|
||||
cerr << "Install font " << hex << new_fn_id << dec
|
||||
<< ": (" << (font->getID()->num) << ' ' << (font->getID()->gen) << ") "
|
||||
<< (font->getName() ? font->getName()->getCString() : "")
|
||||
<< endl;
|
||||
}
|
||||
|
||||
if(font->getType() == fontType3) {
|
||||
|
Loading…
Reference in New Issue
Block a user