diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2024-05-17 21:25:29 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2024-05-23 12:31:46 +0200 |
commit | aaf4613a0aeb9cf7c27c731f2391de14bdcff880 (patch) | |
tree | 66a7656b1f008c35512e50da37dc67c7b3790693 /compilerplugins/clang/store/paintmethodconversion.cxx | |
parent | c7a09ea9d58fbf41090508e32334be3c0356b050 (diff) |
lok: stop amazing waste of repeated font sizes in each font element.
These days all sensible fonts are scalable, so anything else is madness.
With the compact_fonts option we go from:
INCOMING: commandvalues: {"commandName":".uno:CharFontName","commandValues":
{"Albany AMT":["6","7","8","9","10","10.5","11","12","13","14","15","16",
"18","20","21","22","24","26","28","32","36","40","42","44","48","54",
"60","66","72","80","88","96"],"Amiri":["6","7"
<truncated 58,418 chars>
INCOMING: commandvalues: { "commandName": ".uno:CharFontName", "FontNames":
[ "Albany AMT", "Amiri", "Amiri Quran", "Amiri Quran Colored", "Andale Mono",
"Andale Sans", "Andy MT", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW",
"AR PL UMing TW MBE", "Arial",
<truncated 6,948 chars>
An 8x size win.
Change-Id: I3dc9f5de876def6e4afc09a43105b1740f7c621f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167799
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
(cherry picked from commit 628f56a1802ad76cbe84a9a5590b04ed81a57a9e)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167962
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'compilerplugins/clang/store/paintmethodconversion.cxx')
0 files changed, 0 insertions, 0 deletions