mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
DOCX Input: Fix a regression in the previous release that broke conversion of some documents that specify vertical alignment in absolute units
This commit is contained in:
parent
7ee4c44573
commit
66aae13cd7
@ -246,7 +246,7 @@ class RunStyle(object):
|
|||||||
c[x.replace('_', '-')] = '%.3gpt' % val
|
c[x.replace('_', '-')] = '%.3gpt' % val
|
||||||
|
|
||||||
if self.position is not inherit:
|
if self.position is not inherit:
|
||||||
c['vertical-align'] = '%.3gpt' % val
|
c['vertical-align'] = '%.3gpt' % self.position
|
||||||
|
|
||||||
if self.highlight is not inherit and self.highlight != 'transparent':
|
if self.highlight is not inherit and self.highlight != 'transparent':
|
||||||
c['background-color'] = self.highlight
|
c['background-color'] = self.highlight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user