mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
working on encoding
This commit is contained in:
parent
210aef28ac
commit
910c89c378
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user