Error 5851 (part 2)
svn: r19868
This commit is contained in:
parent
a0d592a6fc
commit
9841fb79ef
@ -1573,9 +1573,10 @@ links (like ODF) and write PDF from that format.
|
|||||||
|
|
||||||
# horizontal position of the text is not included in the style,
|
# horizontal position of the text is not included in the style,
|
||||||
# we assume that it is the size of the shadow, or 0.2mm
|
# we assume that it is the size of the shadow, or 0.2mm
|
||||||
x_offset = style.get_shadow_space()
|
if style.get_shadow():
|
||||||
if x_offset == 0:
|
x_offset = style.get_shadow_space()
|
||||||
x_offset = 0.2
|
else:
|
||||||
|
x_offset = 0.2
|
||||||
|
|
||||||
new_text = GtkDocText(paragraph_style, 'center',
|
new_text = GtkDocText(paragraph_style, 'center',
|
||||||
self.__markup(text),
|
self.__markup(text),
|
||||||
|
Loading…
Reference in New Issue
Block a user