charset problem with PDF export (iso-8859-2)

Author Message

Łukasz Serwatka

Thursday 27 January 2005 1:30:56 am

Hi,

Does php_Helvetica.font use ISO-8859-2 encoding? This is default font for eZ PDF export "on the fly". Generated PDF didn`t display polish letters correctly.

In template.ini.append.php and in i18n.ini.append.php I have DefaultCharset set to iso-8859-2. Database encoding is iso-8859-2

http://serwatka.net/generate.pdf

Thanks for any help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Thursday 27 January 2005 4:11:03 am

*Bump*

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Thursday 27 January 2005 11:33:04 am

Ok, I give up :-) I read this tutorial http://ez.no/ez_publish/documentation/incoming/truetype_font_in_pdf

I ve generate php_Arial.font which I take from WINNT\FONTS\arial.ttf. I add Arial as default font in ezpdf.class in lib\ezpdf and still nothing.

Where can I find arial.ttf in iso-8859-2 encoding? People from Central Europe, please speak up :-)

What I doing wrong?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Łukasz Serwatka

Friday 28 January 2005 12:44:04 pm

Ok, I ve reported this as a bug here

http://ez.no/bugs/view/6157

I get polish diacritical signs (iso-8859-2 Charest) without one letter so it`s done in 99,9% ;-)

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

c b

Friday 28 April 2006 12:39:47 am

Mam chyba ten sam problem. Potrzebuje czcionke iso 8859-2 dla ezpdf. Czy moglbys cos; podpowiedziedziec?
Pozdrawiam.

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 03:39:57
Script start
Timing: Jan 19 2025 03:39:57
Module start 'layout'
Timing: Jan 19 2025 03:39:57
Module start 'content'
Timing: Jan 19 2025 03:39:57
Module end 'content'
Timing: Jan 19 2025 03:39:57
Script end

Main resources:

Total runtime0.9245 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 590.4219152.6406
Module start 'layout' 0.00680.0030 743.062539.4766
Module start 'content' 0.00980.9130 782.5391556.7656
Module end 'content' 0.92280.0016 1,339.304712.4375
Script end 0.9244  1,351.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3921160.0002
Check MTime0.00140.1536160.0001
Mysql Total
Database connection0.00070.078310.0007
Mysqli_queries0.865293.5921630.0137
Looping result0.00060.0655610.0000
Template Total0.888896.120.4444
Template load0.00210.229520.0011
Template processing0.886795.912920.4433
Template load and register function0.00010.012410.0001
states
state_id_array0.00160.169910.0016
state_identifier_array0.00260.284120.0013
Override
Cache load0.00180.1904260.0001
Sytem overhead
Fetch class attribute can translate value0.00100.109020.0005
Fetch class attribute name0.00140.147860.0002
XML
Image XML parsing0.00060.064520.0003
class_abstraction
Instantiating content class attribute0.00000.002690.0000
General
dbfile0.00090.0999180.0001
String conversion0.00000.001040.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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs