Created
October 13, 2018 08:40
-
-
Save agentmilindu/9264a871b57d23c56885addb50afdd5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for paragraph in parser.readDoc(): | |
print( | |
mapper.toUnicode( | |
Font( | |
'si', # Where we canget this part? | |
paragraph.getFont() | |
), | |
paragraph.getText() | |
) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for paragraph in parser.readDoc(): | |
print( | |
to_unicode( | |
Font( | |
paragraph.getFont(), | |
"sinhala", # Where we canget this part? | |
filepath="tests/fm_abhaya.yaml" # Where we canget this part? | |
), | |
paragraph.getText() | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment