docx import: don't apply complex font size to non-complex font
OOXML spec says: "[szCs] specifies the font size which shall be applied to all complex script characters in the contents of this run when displayed" Change-Id: I0faf599e38ef5a2e2005bb6f98874639be7d8287 Reviewed-on: https://gerrit.libreoffice.org/1454 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
This commit is contained in:
parent
59074c09b8
commit
73731b01cd
1 changed files with 0 additions and 2 deletions
|
@ -2130,8 +2130,6 @@ void DomainMapper::sprmWithProps( Sprm& rSprm, PropertyMapPtr rContext, SprmType
|
|||
if( NS_sprm::LN_CHpsBi == nSprmId )
|
||||
{
|
||||
rContext->Insert( PROP_CHAR_HEIGHT_COMPLEX, true, aVal );
|
||||
// Also set Western, but don't overwrite it.
|
||||
rContext->Insert( PROP_CHAR_HEIGHT, true, aVal, false );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue