Issue 66848 - distortion of [] in matrix
Summary: distortion of [] in matrix
Status: CLOSED DUPLICATE of issue 35783
Alias: None
Product: Math
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P3 Trivial with 6 votes (vote)
Target Milestone: ---
Assignee: radekdoulik
QA Contact: issues@sw
URL:
Keywords:
Depends on: 22312
Blocks:
  Show dependency tree
 
Reported: 2006-06-29 09:45 UTC by jbf.faure
Modified: 2021-01-15 07:54 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
distortion of [] in matrix formula (7.74 KB, image/png)
2006-06-29 09:46 UTC, jbf.faure
no flags Details
1.1.x version of the formula (21.59 KB, image/png)
2006-06-29 10:51 UTC, jbf.faure
no flags Details
Sample image from SRC680 m172, Windows XP (2.17 KB, image/png)
2006-06-29 11:18 UTC, thomas.lange
no flags Details
matrix by OOo2.0.3RC7 under w2k sp4 FR (15.78 KB, application/pdf)
2006-06-29 13:01 UTC, jbf.faure
no flags Details
matrix with opensymbol 1.9 (42.87 KB, application/pdf)
2006-06-29 16:03 UTC, Regina Henschel
no flags Details
matrix in OOo 3.2rc2 (32.69 KB, application/pdf)
2010-01-17 14:31 UTC, jbf.faure
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description jbf.faure 2006-06-29 09:45:04 UTC
When writing a large matrix enclosed between [] the horizontal part of the [ is
verticaly distorted as shown in joined png caption.

Example of math code : 
left [ matrix { a # b ## a # b ## a # b ## a # b ## a # b ## a # b ## a # b ## a
# b ## a # b ## a # b ## a # b ##  a # b ## a # b ## a # b ## a # b ## a # b ##
a # b ## a # b ## a # b ## a # b ## a # b ## a # b## a # b ## a # b ## a # b ##
a # b ## a # b ## a # b ## a # b ## a # b ## a # b ##  a # b ## a # b ## a # b
## a # b ## a # b ## a # b ## a # b ## a # b ## a # b ## a # b ## a # b } right ]

JBF
Comment 1 jbf.faure 2006-06-29 09:46:18 UTC
Created attachment 37408 [details]
distortion of [] in matrix formula
Comment 2 h.ilter 2006-06-29 10:26:15 UTC
If it is about the blots at the top and bottom of scaled brackets that can't be
helped.
For the time being the bracket size is obtained by stretching the character in
one axis only and this of course makes the horizontal line part at the top and
bottom that thick.

What would be need here is a way to brack up that large bracket in a sinlge top
and bottom part and mutliple middle parts that can be use to achieve the
required length.
A problem here is that Math uses a different mapmode for calculating positions
than the one used for drawing.

Need to discuss with HDU if anything can be improved here.
Comment 3 jbf.faure 2006-06-29 10:49:55 UTC
In previous version, I think 1.1.3 but in 2004, the distortion of brackets was
not so huge. See attached caption of pdf export of an 1.1.x version af the formula.
Comment 4 jbf.faure 2006-06-29 10:51:17 UTC
Created attachment 37410 [details]
1.1.x version of the formula
Comment 5 thomas.lange 2006-06-29 11:14:57 UTC
If I use the formula

left [ matrix { 1 ## 2 ## 3 ## 4 ## 5 ## 6 ## 7 ## 8 ## 9 ## 10 ## 11 ## 12 }
right ]

which has 12 line which is about the same number of lines as the matrices in
your sample image, this one looks quite similar to your image from 1.1.3.
Thus please update to OOo 2.0.3 and see if it is fine there.
(I think OOo 2.0.1 or 2.0.2 had a problem with large fonts, as would be used
with that large scaled brackets.)

If the result is not sufficient please state the OS as well.
Also please provide the formula code e.g. for the outer right matrix.
It is inconvenient to use a different formula as example than the one you used
to make the screenshots.
Comment 6 thomas.lange 2006-06-29 11:18:57 UTC
Created attachment 37413 [details]
Sample image from SRC680 m172, Windows XP
Comment 7 jbf.faure 2006-06-29 11:24:39 UTC
It is the same thing in 2.0.3 RC7 (FR) under w2k sp4 (FR)

the code of the formula in caption is :

left[ matrix{
alignl matrix{R_M # S_M # ~~~# ~~~}# matrix{~#~#~#~}#matrix{~#~#~#~}##
matrix {~ # ~~1# -e_1 # -d_1 ## ~ # ~# R_2 # S_2}#matrix
{~#~#~#~##~#~#~#~}#matrix {~#~#~#~##~#~#~#~}##
matrix {~#~#~#~##~#~#~#~}#matrix {~#~#~#~##~#~#~#~}#matrix {~#~#~#~##~#~#~#~}##
matrix {~#~#~#~##~#~#~#~}#matrix {~ # 1# -e_i # -d_i ## ~ # ~# R_{i+1} #
S_{i+1}}#matrix {~#~#~#~##~#~#~#~}##
matrix {~#~#~#~##~#~#~#~}#matrix {~#~#~#~##~#~#~#~}#matrix {~#~#~#~##~#~#~#~}##
matrix {~#~#~#~##~#~#~#~}#matrix {~#~#~#~##~#~#~#~}#matrix {~ # 1# -e_{N-1} #
-d_{N-1} ## ~ # ~# R_N # S_N}##
matrix {~#~#~#~}#matrix {~#~#~#~}#matrix{~#~#R_V#~~~S_V}
}  right]
times
left[ alignl stack{%DELTA Q_1 # %DELTA Z_1 #  %DELTA Q_2#~~~#~~~#  %DELTA Z_i #
%DELTA Q_{i+1}#~~~#~~~#%DELTA Z_{N-1} # %DELTA Q_N# %DELTA Z_N} right]
=
left[ alignl stack{T_M # f_1 # T_2#~~~#~~~# f_i # T_{i+1}#~~~#~~~#f_{N-1} # T_N#
%T_V} right]
Comment 8 thomas.lange 2006-06-29 11:30:19 UTC
The above formula looks fine with 680m172, Windows XP.
Comment 9 liste 2006-06-29 12:11:21 UTC
It's not god in OOo2.0.3RC7-fr in a Mandriva 2006.
(I can't test with my mandriva cooker because we can't install OOo2.0.3RC in a
cooker :( )
Comment 10 thomas.lange 2006-06-29 12:49:18 UTC
TL->jbfaure, troumad: please both of you state what OOo version and which OS you
are using. Also use the formula 

left [ matrix { 1 ## 2 ## 3 ## 4 ## 5 ## 6 ## 7 ## 8 ## 9 ## A ## B ## C }
right ]

export it to PDF and attach the resulting files to this issue.
Thanks!

Comment 11 jbf.faure 2006-06-29 13:01:57 UTC
Created attachment 37414 [details]
matrix by OOo2.0.3RC7 under w2k sp4 FR
Comment 12 Regina Henschel 2006-06-29 13:24:25 UTC
If I use StarSymbol it is like that from tl, if I use OpenSymbol it is like that
from jbfaure.
OOo2.0.3rc7de on German WinXP.
Comment 13 thomas.lange 2006-06-29 15:19:15 UTC
What do you mean by "when I use OpenSymbol"?
Usually you'll have an StarSymbol or OpenSymbol font installed depending on what
program you installed...

I just explicitly removed the StarSymbol font thus leaving only the OpenSymbol
font and it still looks fine for me. :-/
Comment 14 thomas.lange 2006-06-29 15:30:44 UTC
I just installed OOo 2.0.3 (680m7) which should be the same as OOo2.0.3rc7de,
Windows XP and still have the StarSymbol font removed.
And the result is fine. I wonder where the difference is...
Comment 15 Regina Henschel 2006-06-29 16:02:42 UTC
I changed it in the font-replacement-table in Tools-Options. But it is the same,
if I remove the StarSymbol-Font from the Windows Fonts-folder and OOo therefore
uses the OpenSymbol font. I have got OpenSymbol version 1.9 date 2005-03-22.
Comment 16 Regina Henschel 2006-06-29 16:03:46 UTC
Created attachment 37428 [details]
matrix with opensymbol 1.9
Comment 17 Regina Henschel 2006-06-29 22:53:36 UTC
add me to cc
Comment 18 hdu@apache.org 2006-06-30 10:32:34 UTC
The new problem is a result of the changes for 22312. Hinting at least for the
simple glyphs could solve several problems at the same time.
Comment 19 thomas.lange 2006-06-30 10:39:55 UTC
TL->IH: Please have a look if it is possible to solve this problem in OOo 2.x
Thanks!
Comment 20 nospam 2006-07-26 10:16:19 UTC
IH->Radek: It looks a little bit like our linespacing problem - so please take
also care of this one here.
Comment 21 Mathias_Bauer 2007-12-04 14:50:52 UTC
according to release status meeting -> 3.x
Comment 22 eric.bachard 2008-02-20 09:50:07 UTC
+ me on CC .. 

Comment 23 jbf.faure 2010-01-17 14:30:14 UTC
It is better with OOo 3.2rc2 under Ubuntu 8.04. I do know why. 
Please see attachment.
Regards. JBF
Comment 24 jbf.faure 2010-01-17 14:31:53 UTC
Created attachment 67244 [details]
matrix in OOo 3.2rc2
Comment 25 Regina Henschel 2011-01-03 14:49:50 UTC
Seems to be connected to issue 35783.
Comment 26 thomas.lange 2011-01-05 08:48:16 UTC
Yes, this is a duplicate of issue 35783.


*** This issue has been marked as a duplicate of 35783 ***