changing charset in pdf template

Author Message

johann savalle

Sunday 10 July 2005 4:47:37 am

hello,

how can I set the charset in a pdf template ?
I tried with what I would normally do in an html template but it just display the code in the pdf, it doesn't actually interpret it...

any idea ?

johann

johann savalle

Sunday 10 July 2005 10:14:34 pm

okay, I'll precise my problem : I need to export some hebrew/english document to pdf.

So far english is working fine, but hebrew just look like a bunch of unreadable symboles...

I tried to add an hebrew font to ez, but it doesn't work. (maybe I didn't choose the right font thought..)

well any idea ?

johann savalle

Monday 11 July 2005 6:03:29 am

I am starting to feel lonely in this thread...
c'mon, I am sure someone outhere must have a clue, or something...

Kristian Hole

Tuesday 12 July 2005 6:22:58 am

There is a bug with setting charsets in the templates. Check this bugreport out:

http://ez.no/community/bugs/polish_diacritical_signs_iso_8859_2_charest_in_pdf

The problem seem to be that the font used is the wrong charset.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute

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 31 2025 04:14:44
Script start
Timing: Jan 31 2025 04:14:44
Module start 'layout'
Timing: Jan 31 2025 04:14:44
Module start 'content'
Timing: Jan 31 2025 04:14:44
Module end 'content'
Timing: Jan 31 2025 04:14:44
Script end

Main resources:

Total runtime0.0142 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0044 588.1328151.2109
Module start 'layout' 0.00440.0026 739.343836.6484
Module start 'content' 0.00700.0059 775.992290.1250
Module end 'content' 0.01290.0012 866.117233.9922
Script end 0.0141  900.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002114.7710140.0001
Check MTime0.00096.2391140.0001
Mysql Total
Database connection0.00085.330010.0008
Mysqli_queries0.002416.952930.0008
Looping result0.00000.070710.0000
Template Total0.00096.510.0009
Template load0.00075.260910.0007
Template processing0.00021.207110.0002
Override
Cache load0.00053.580810.0005
General
dbfile0.002114.882280.0003
String conversion0.00000.042140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs