Project

General

Profile

Issue #61

Added by Jeffrey Jones over 14 years ago

Issue #61 has been open an embarrassingly long time without resolution.

I know the world of encodings is full of black magic and voodoo but some people have some up with suggestions, patches etc. with nothing appearing to be done.

I am at the point now where I am tempted to write a plugin that replaces the core RedMine export to PDF functions with a prawn based solution. Someone already wrote a basic prawnto patch and while others have said it is nowhere near as fast as the rfpdf
library I would rather have a slow export than one that does not work at all.

Before I start though has anyone else done any work on something like this?


Replies (4)

RE: Issue #61 - Added by Holger Just over 14 years ago

Yes, the PDF library is plagued with issues. But currently, it's the best we have. If you however have a working solution to replace the current implementation in the core (which does everything the old one does) you are invited to provide it for inclusion into the trunk.

There are many Ruby-to-PDF libraries out there. Maybe one of them is actually worth the time :)

--Holger

RE: Issue #61 - Added by Jeffrey Jones over 14 years ago

Ok, I am doing a bit of research.

I already know about Prawn and have done some work with it before.
I have also looked at ruport in the past but didn't really look into it too much however it does look like it may be rather good.

I shall look into both of them and see which might be better / speedier.

Cheers

Jeff

RE: Issue #61 - Added by Leo Hourvitz about 14 years ago

Jeffrey, did you ever get a chance to delve into this? I looked deeply into fixing RFPDF for CJK/etc. but unfortunately PDF is so Unicode-hostile that it's not practical (you'd have to add a whole font-subsetting-rewriting layer). Prawn claims to have that solved.

Ruport says their PDF support is based on PDF::Writer, and that project's website says "migrate to Prawn"...

RE: Issue #61 - Added by Jeffrey Jones about 14 years ago

I use (and modify) Redmine at work I am afraid primary development has taken priority to fixing up Redmine. When the current project is finished I may have time to do some more work but that is not going to happen soon.

Out of work I am afraid I do not have the spare time to work on Redmine.

    (1-4/4)