https://bugs.documentfoundation.org/show_bug.cgi?id=146724

            Bug ID: 146724
           Summary: Wrong bracket scaling on large text size
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Formula Editor
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: franciscoadriansanc...@gmail.com

Description:
When inserting a formula with large font size, like 18 pt or larger, where
brackets, parenthesis or similar are  involved, these aren't properly scaled
with font size. 
This particular problem arises when doing cientific presentations or posters
(Impress or Draw).

Steps to Reproduce:
1. Crete an ODG or ODP file
2. Insert a formula with scalable parenthesis. It could be a matrix or a mere
fraction, for instance, 

left (1 over 2 right )

and exit Equation Editor. The equation looks well, with parenthesis properly
scaled.

3. Set a large size, like 32 pts (default size is LibreOffice Impress blank
template). It shoul read now

size 32 {left (1 over 2 right )}

and exit the editor again.

Actual Results:
Brackets are poorly scaled, when compared to the default font size obtained
after step 2.

Expected Results:
The scaling of the brackets should be proportional to what was obtained for 12
pt typeface.


Reproducible: Always


User Profile Reset: No



Additional Info:
This bug is closely related to bug 32362; when that one is solved, this will be
also solved.

Notwithstanding, that bug is difficult to solve because it requires a lot of
effort. 

On the other hand, if the handling of parenthesis scaling is done differently
for font size expansion than for large objects, this one could be solved;
because it seems that LibreOffice scales the bracket up to large front size
from a 12 pt  font, when it should scale it from the same font size as set in
the formula text.

A workaround for this, plausible when there are only a couple of equations, is
shown in the attached file.

1) Create the equation you want in the size you need. 
2) Select the equation is check its size from Size and Position (F4 key)
Record the hight of the drawing
3) Back to the equation, set size 12
4) Open again the size and position,
4.1) uncheck "protect size", 
4.2) check "keep proportion",
4.3) and set the hight of the 18 pt size equation and exit.
Now you have a beautiful equation.

Another possible workaround, only useful for Impress, is to set a smaller slide
size. Default font size is 32 pt and slide is 28 cm wide. For going to a font
size of 12 pts, we need a 10.5 cm wide.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to