mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-07-05 17:48:38 +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
|
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);
|
line_buf.append_unicodes(u, uLen);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user