[SM-Discuss] An issue with A4 page size
Ivan Lezhnjov Jr.
ivan.lezhnjov.jr at gmail.com
Fri Aug 22 13:21:28 EDT 2008
Friday 22 August 2008 you wrote:
> Your reply instigated to look me a bit deeper into the issue and I figured
> that it might be that Kword's XML template for A4 (A4.kwt) got somehow
> botched. I'm not really familiar with KWT template syntax but it looks like
> there's something wrong. I'm going to recast koffice and see if that helps.
So I recast it and it didn't change anything.
A4.kwt is responsible for defining page layout, its width & height parameters,
default fonts, page borders etc.
/usr/share/apps/kword/templates/Normal/.source/A4.kwt line number 2:
<PAPER width="595.277" zoom="100" spHeadBody="9" format="1" height="841.891"
this is the default width and height for ISO A4. I tried changing it to a
random digits, like this:
<PAPER width="1000" zoom="100" spHeadBody="9" format="1" height="500"
And KWord visual representation of the size of a sheet changed according to
these numbers.
But anyway this is not really KWord/KOffice specific. Acroread has A4 width &
height distorted too.
Also, I created a new user (say joe) and logged into a KDE session. Guess what
the paper sizes are correct for that user.
Now it'd be good to know what the hell's going on here.
--
Ivan Lezhnjov Jr.
Europe, Ukraine, Simferopol
Running
Source Mage GNU/Linux, kernel version 2.6.24 build #5
+----------------------------------------------------------------------+
Key ID 0x5811D90C
Key Fingerprint 2A52 5C8C 38BE C04F D8DE A169 19E2 E49A 5811 D90C
Use GPG Exercise Your Right To Privacy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.ibiblio.org/pipermail/sm-discuss/attachments/20080822/ce7d92f2/attachment.bin
More information about the SM-Discuss
mailing list