RTL Hebrew/Arabic Unicode PDF Generation

Author Message

Softriva .com

Wednesday 18 July 2007 1:32:26 pm

Hello,

I have spent a day trying to generate pdf in Hebrew or Arabic with no help. I would like to know if it actually possible to generate RTL urf8 pdf?

Any suggestions are appreciated.

Softriva .com

Friday 17 August 2007 12:47:57 pm

Hello,

I am back to this issue again hoping that someone had succeeded in finding a solution for it.

I have raised this issue back in Jan with no success.

http://ez.no/community/forum/setup_design/pdf_generation_and_utf8_issue

Tony Wood

Sunday 19 August 2007 12:14:51 am

Hi OOzy

Some background on this.

I believe the reason for PDF not working with UTF-8 content is that when the PDF module was added (some time ago now) the original code did not support UTF-8.

Now, I do not think that this has changed at all. I would like it to support UTF-8 (UNICODE)

I do not remember seeing this being recoded so I think that you will not be able to get this working. As suggestion might be to take the OpenOffice.org export and then run that through a PDF generator. This may give you more luck.

I hope this helps

Tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 06:26:25
Script start
Timing: Jan 19 2025 06:26:25
Module start 'layout'
Timing: Jan 19 2025 06:26:25
Module start 'content'
Timing: Jan 19 2025 06:26:26
Module end 'content'
Timing: Jan 19 2025 06:26:26
Script end

Main resources:

Total runtime0.6918 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.2891152.6406
Module start 'layout' 0.00530.0036 741.929739.4766
Module start 'content' 0.00880.6818 781.4063532.2188
Module end 'content' 0.69060.0011 1,313.625012.2813
Script end 0.6918  1,325.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4549160.0002
Check MTime0.00130.1940160.0001
Mysql Total
Database connection0.00070.105310.0007
Mysqli_queries0.642192.8222570.0113
Looping result0.00050.0754550.0000
Template Total0.655894.820.3279
Template load0.00210.300620.0010
Template processing0.653794.489520.3268
Template load and register function0.00020.036010.0002
states
state_id_array0.00110.158310.0011
state_identifier_array0.00090.124120.0004
Override
Cache load0.00170.2464200.0001
Sytem overhead
Fetch class attribute can translate value0.00080.115820.0004
Fetch class attribute name0.00080.117640.0002
XML
Image XML parsing0.00060.090820.0003
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00070.1077160.0000
String conversion0.00000.004240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs