diff options
author | Jonathan Clark <jonathan@libreoffice.org> | 2025-04-09 03:52:44 -0600 |
---|---|---|
committer | Jonathan Clark <jonathan@libreoffice.org> | 2025-04-10 11:41:55 +0200 |
commit | 756bcac94f122b0bed6f2835ec1170406e1b8606 (patch) | |
tree | a7d8bb0b171c5502a957b70ea41174c4907b54b2 /oox/source/drawingml/textparagraph.cxx | |
parent | e1c3af8ed966aa03fd0fe789d87c0172b267489e (diff) |
tdf#139418 DOCX import: Fix generated genko yoshi grid layout issues
This change includes fixes for three minor grid layout issues affecting
correct display of generated genko yoshi manuscript documents.
- Due to the way OOXML stores grid parameters, the default Asian font
height must be known in order to correctly calculate the grid
character pitch. This change fixes a regression from tdf#107359 which
caused the OOXML importer to always use the hard-coded default
character width in certain situations.
- The fix for tdf#149089 caused a regression by also removing the grid
kerning portions from vertical text, when it correctly should only
have affected horizontal text.
- For correct interop, the ADD_EXT_LEADING compatibility flag is now
ignored for vertical text when the MS_WORD_COMP_GRID_METRICS
compatibility flag is set.
Change-Id: I5aaa245293932d64ff5c4dd4a3f45c4d8bc4a22e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/183959
Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
Tested-by: Jenkins
Diffstat (limited to 'oox/source/drawingml/textparagraph.cxx')
0 files changed, 0 insertions, 0 deletions