Skip to content

Hebrew letters not showing up in filled pdf #20

@hadassag

Description

@hadassag

Hi,
I'm using your package to generate filled pdf form, but I can't get hebrew to show up. The best I got was 􀀀􀀀􀀀􀀀􀀀
Any ideas?
I used the havarat_gemel.pdf and sample_data.txt (please change extension back to py, I couldn't upload a py file) to generate the fdf (same, I named it data.fdf but renamed to data_.pdf to upload, please rename to .fdf) and filled.pdf files using the following commands:

>>> from fdfgen import forge_fdf
 >>> from forms.sample_data import data
>>> fdf = forge_fdf("",data ,[],[],[])
>>> fdf_file = open("data.fdf", "wb")

and then:

>pdftk forms/templates/havarat_gemel.pdf fill_form data.fdf output filled.pdf flatten

filled.pdf
havarat_gemel.pdf
sample_data.txt

data_.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions