mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
dirty fix:decompose ligatures when tounicode is not used
This commit is contained in:
parent
6a4c0856a7
commit
f2af4be094
@ -522,7 +522,7 @@ void HTMLRenderer::drawString(GfxState * state, GooString * s)
|
||||
}
|
||||
else
|
||||
{
|
||||
if((param->decompose_ligature) && all_of(u, u+uLen, isLegalUnicode))
|
||||
if((param->decompose_ligature) && (uLen > 1) && all_of(u, u+uLen, isLegalUnicode))
|
||||
{
|
||||
line_buf.append_unicodes(u, uLen);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user