1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00

working on encoding

This commit is contained in:
Lu Wang 2012-08-07 02:13:54 +08:00
parent 210aef28ac
commit 910c89c378
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
set -e
# Get directory of the script
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ] ; do SOURCE="$(readlink "$SOURCE")"; done

View File

@ -458,8 +458,10 @@ void HTMLRenderer::drawChar(GfxState *state, double x, double y,
if ((state->getRender() & 3) == 3)
return ;
//cur_string->addChars(state, x, y, dx, dy, code, nBytes);
cur_string->addUnicodes(state, x, y, dx, dy, u, uLen);
if(uLen > 0)
cur_string->addUnicodes(state, x, y, dx, dy, u, uLen);
else
cur_string->addChars(state, x, y, dx, dy, code, nBytes);
}
// TODO