From 0ab33487544bee2407de2c1c46932770a813d938 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 10 May 2013 09:53:18 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/docx/char_styles.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/calibre/ebooks/docx/char_styles.py b/src/calibre/ebooks/docx/char_styles.py index 8b45b2c211..a9d2a43cdb 100644 --- a/src/calibre/ebooks/docx/char_styles.py +++ b/src/calibre/ebooks/docx/char_styles.py @@ -209,6 +209,9 @@ class RunStyle(object): if self.highlight is not inherit and self.highlight != 'transparent': c['background-color'] = self.highlight + + if self.b: + c['font-weight'] = 'bold' return self._css def same_border(self, other):