XML - space between words

Author Message

Stéphane Cloutier

Monday 01 March 2004 12:10:57 pm

How does the XML engine render white space between words ?

I'm using unicode in XML text fields. I should expect larger whitespace between inuktitut words (http://www.berniera.com) than in English or French. Despite all CSS changes done, I still get the same space as in English and French.

Qupanuaq - Snow bunting

Stéphane Cloutier

Monday 01 March 2004 12:48:03 pm

Huuum, the whitespce are rendered in Times New Roman instead of the original inuktitut font Pigiarniq...

Qupanuaq - Snow bunting

Bruce Morrison

Monday 01 March 2004 5:56:31 pm

Have you tried setting letter and word spacing properties?
http://www.w3.org/TR/REC-CSS2/text.html#spacing-props

Is is possible to obtain the font?

Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Stéphane Cloutier

Tuesday 02 March 2004 1:07:56 pm

I tried that, without any success. It seems all letters are rendered in that Pigiarniq font, but the whitespace is not. It renders as if it was Heveltica or Times...

Here is a place to download the font :
http://www.assembly.nu.ca/unicode/fonts/

Qupanuaq - Snow bunting

Stéphane Cloutier

Tuesday 02 March 2004 4:03:16 pm

Found a fix. The Inuktitut template was using the core.css in the standard design folder. I made an override by moving it to the inuktitut template folder, change the default font to Pigiarniq, and voila!

The system was using the core.css default in the standard folder, which was using Verdana as the default font for everything.

Qupanuaq - Snow bunting

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 01:02:51
Script start
Timing: Jan 19 2025 01:02:51
Module start 'layout'
Timing: Jan 19 2025 01:02:51
Module start 'content'
Timing: Jan 19 2025 01:02:52
Module end 'content'
Timing: Jan 19 2025 01:02:52
Script end

Main resources:

Total runtime1.0119 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.0058 590.5781152.6250
Module start 'layout' 0.00580.0030 743.203139.4453
Module start 'content' 0.00881.0015 782.6484560.7813
Module end 'content' 1.01030.0016 1,343.429716.1641
Script end 1.0119  1,359.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3158160.0002
Check MTime0.00130.1278160.0001
Mysql Total
Database connection0.00070.067110.0007
Mysqli_queries0.950593.9252630.0151
Looping result0.00060.0593610.0000
Template Total0.974296.320.4871
Template load0.00230.222920.0011
Template processing0.971996.048420.4860
Template load and register function0.00020.019110.0002
states
state_id_array0.00120.122910.0012
state_identifier_array0.00150.146220.0007
Override
Cache load0.00170.1654240.0001
Sytem overhead
Fetch class attribute can translate value0.00070.070420.0004
Fetch class attribute name0.00110.112270.0002
XML
Image XML parsing0.00250.242620.0012
class_abstraction
Instantiating content class attribute0.00000.0018100.0000
General
dbfile0.00420.4122220.0002
String conversion0.00000.000840.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
5content/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
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs