Vertical lines don't scale properly

Discuss the formula editor
Post Reply
elespinexiste
Posts: 1
Joined: Tue Mar 22, 2016 11:42 am

Vertical lines don't scale properly

Post by elespinexiste »

Hi! Vertical lines don't scale properly, they are always too short, for instance with:
left lline matrix{1##2##3##4##5} right rline
The lines are centered, they embrace numbers 2, 3 and 4, but they don't reach the end, leaving numbers 1 and 5 uncovered.
Any idea?
Attachments
Example
Example
matriz.gif (1.59 KiB) Viewed 6943 times
Apache OpenOffice 4.1.2 (AOO412m3(Build:9782)-Rev.1709696)
Windows 10 Pro (Version 1511 Compilation 10586.164)
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Vertical lines don't scale properly

Post by acknak »

Odd. Your formula code gives the correct result for me: the vertical lines extend to the full height of the matrix.

I know there have been some discussions here about problems with OO Math on Win10 but I don't remember the outcome.
AOO4/LO5 • Linux • Fedora 23
chelynnfoster
Posts: 1
Joined: Thu Mar 31, 2016 6:57 am

Re: Vertical lines don't scale properly

Post by chelynnfoster »

I get the same results from that formula
OpenOffice 4.1.2 on Windows 8.1
User avatar
MrProgrammer
Moderator
Posts: 4895
Joined: Fri Jun 04, 2010 7:57 pm
Location: Wisconsin, USA

Re: Vertical lines don't scale properly

Post by MrProgrammer »

acknak wrote:Your formula code gives the correct result for me: the vertical lines extend to the full height of the matrix.
left lline matrix{1##2##3##4##5} right rline also works fine on Mac OS X. I suspect this is a problem with later versions of Windoze, perhaps due to the fonts delivered with that operating system. Read some of the other recent topics in this forum about display problems on Windoze. Perhaps you'll find a solution there.
Screen Shot 2016-03-31 at 21.27.44 .png
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel.   The locale for any menus or Calc formulas in my posts is English (USA).
User avatar
keme
Volunteer
Posts: 3699
Joined: Wed Nov 28, 2007 10:27 am
Location: Egersund, Norway

Re: Vertical lines don't scale properly

Post by keme »

It might be misinterpreted (or faulty) size/spacing info in the fonts used.

Possible workaround: Add a superscript to the top element and a subscript to the bottom one:

left lline matrix{1^`##2##3##4##5_`} right rline

On my systems it shifts the numbers in question slightly left off center (hardly noticeable unless you know what has been done...), and the surrounding lines are just a tiny bit longer. For some cases of spacing/size error it might work as a quick fix. Font replacement is probably better in the long run.
Apache OO 4.1.12 and LibreOffice 7.5, mostly on Ms Windows 10
User avatar
DiGro
Posts: 173
Joined: Mon Oct 08, 2007 1:31 am
Location: Hoorn NH, The Netherlands

Re: Vertical lines don't scale properly

Post by DiGro »

It seems the Open Symbol font is not totally right.

On my Windows 10 it displayed like for the OP.

After extracting the zip OpenSymbol_V1.7_new6.zip from this message

viewtopic.php?f=12&t=67772

into C:\Windows\fonts

Then closing AOO and reopening and again enter the formula from the OP all is well :bravo:

Formula looks now like the one from MrProgrammer :D
____________
DiGro

AOO 4.1.15 (Dutch) on Windows 11. Scanned with Ziggo Safe Online (F-Secure)
Post Reply