summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-11-02 20:15:31 +0100
committerTomaž Vajngerl <quikee@gmail.com>2022-11-03 09:53:54 +0100
commit7f73a779e33dd91fad0111629c6b3420c2c9aea0 (patch)
tree42c598c52e1d7af7cf2ad6baccd4457fefb9697d /wizards
parent3b37482bf1fecd9e28bef454bc6a49a5c66c716d (diff)
optimize text fitting algorithm to correctly calculate the fit
As we converted the chart stretching variable from int to double this can cause the text fitting algorithm to calculate the fit wrong. This commit changes the text fitting algorithm a bit so that it produces similar result as before the change. Change test testAutofittedTextboxIndent from 691200 to 712800 as the fitting algorithm changed a bit. Visually the document still looks correct. Change-Id: Ib75733360039d80a5aed836f757c3f8e8ec56d61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142186 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'wizards')
0 files changed, 0 insertions, 0 deletions