Skip to content

Take a long time after choose an unicode font #907

@dijub

Description

@dijub

Hi Everyone,
First of all, I'm sorry if someone asked help in the same subject and for my terrible english xD.

I have to convert two txt files to one pdf. Each one has a different codification, one ISO-8859-1, other UTF-8.
When I use only one file with ISO-8859-1, I generated a pdf fastly and ok. When I try from two, I have a trouble, because I need to use Unicode font, so, I'm using DejaVu font, and now, when I try to generate a new pdf, they take a long time, and not finish.
I try to use font from especific directory, no one errror is displayed, i need to force pause, because it never ends.
In the begin, I was using FPDF version 1, and a warning is displayed: "UserWarning: cmap value too big/small", and it take a long time too. I checked this version is deprecated, so now i'm here with version 2, with the same problem, (but the userwarning is not displayed)

So that's it, I'm waiting for an answer.

Thanks a lot for all contributtor

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions