1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-07-01 07:59:00 +00:00

text in writing mode are rendered as image

This commit is contained in:
Lu Wang 2012-11-16 20:46:52 +08:00
parent ef72038894
commit 210a2451e6

View File

@ -19,7 +19,8 @@ void SplashBackgroundRenderer::drawChar(GfxState *state, double x, double y,
double originX, double originY,
CharCode code, int nBytes, Unicode *u, int uLen)
{
if((state->getRender() & 3) == 3)
if(((state->getRender() & 3) == 3)
|| ((state->getFont()) && (state->getFont()->getWMode())))
{
SplashOutputDev::drawChar(state,x,y,dx,dy,originX,originY,code, nBytes, u, uLen);
}